func (p *LoginWithIdentityCredentialForCertificateArgs) writeField5(oprot thrift.TProtocol) (err error) {
	if err := oprot.WriteFieldBegin("keepLoggedIn", thrift.BOOL, 5); err != nil {
		return fmt.Errorf("%T write field begin error 5:keepLoggedIn: %s", p, err)
	}
	if err := oprot.WriteBool(bool(p.KeepLoggedIn)); err != nil {
		return fmt.Errorf("%T.keepLoggedIn (5) field write error: %s", p, err)
	}
	if err := oprot.WriteFieldEnd(); err != nil {
		return fmt.Errorf("%T write field end error 5:keepLoggedIn: %s", p, err)
	}
	return err
}