Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetCreatedAt() *timestamppb.Timestamp
- func (x *Account) GetName() string
- func (x *Account) GetSettings() *AccountSettings
- func (x *Account) GetUpdatedAt() *timestamppb.Timestamp
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- func (m *Account) Validate() error
- type AccountSettings
- func (*AccountSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AccountSettings) GetEnabled() bool
- func (x *AccountSettings) GetMemo() map[string]string
- func (*AccountSettings) ProtoMessage()
- func (x *AccountSettings) ProtoReflect() protoreflect.Message
- func (x *AccountSettings) Reset()
- func (x *AccountSettings) String() string
- func (m *AccountSettings) Validate() error
- type AccountSettingsValidationError
- func (e AccountSettingsValidationError) Cause() error
- func (e AccountSettingsValidationError) Error() string
- func (e AccountSettingsValidationError) ErrorName() string
- func (e AccountSettingsValidationError) Field() string
- func (e AccountSettingsValidationError) Key() bool
- func (e AccountSettingsValidationError) Reason() string
- type AccountValidationError
Constants ¶
This section is empty.
Variables ¶
var File_account_account_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Settings *AccountSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetCreatedAt ¶
func (x *Account) GetCreatedAt() *timestamppb.Timestamp
func (*Account) GetSettings ¶
func (x *Account) GetSettings() *AccountSettings
func (*Account) GetUpdatedAt ¶
func (x *Account) GetUpdatedAt() *timestamppb.Timestamp
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountSettings ¶
type AccountSettings struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // General human readable data about the account. // Not used for any automation. Memo map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AccountSettings) Descriptor
deprecated
func (*AccountSettings) Descriptor() ([]byte, []int)
Deprecated: Use AccountSettings.ProtoReflect.Descriptor instead.
func (*AccountSettings) GetEnabled ¶
func (x *AccountSettings) GetEnabled() bool
func (*AccountSettings) GetMemo ¶
func (x *AccountSettings) GetMemo() map[string]string
func (*AccountSettings) ProtoMessage ¶
func (*AccountSettings) ProtoMessage()
func (*AccountSettings) ProtoReflect ¶
func (x *AccountSettings) ProtoReflect() protoreflect.Message
func (*AccountSettings) Reset ¶
func (x *AccountSettings) Reset()
func (*AccountSettings) String ¶
func (x *AccountSettings) String() string
func (*AccountSettings) Validate ¶
func (m *AccountSettings) Validate() error
Validate checks the field values on AccountSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AccountSettingsValidationError ¶
type AccountSettingsValidationError struct {
// contains filtered or unexported fields
}
AccountSettingsValidationError is the validation error returned by AccountSettings.Validate if the designated constraints aren't met.
func (AccountSettingsValidationError) Cause ¶
func (e AccountSettingsValidationError) Cause() error
Cause function returns cause value.
func (AccountSettingsValidationError) Error ¶
func (e AccountSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (AccountSettingsValidationError) ErrorName ¶
func (e AccountSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (AccountSettingsValidationError) Field ¶
func (e AccountSettingsValidationError) Field() string
Field function returns field value.
func (AccountSettingsValidationError) Key ¶
func (e AccountSettingsValidationError) Key() bool
Key function returns key value.
func (AccountSettingsValidationError) Reason ¶
func (e AccountSettingsValidationError) Reason() string
Reason function returns reason value.
type AccountValidationError ¶
type AccountValidationError struct {
// contains filtered or unexported fields
}
AccountValidationError is the validation error returned by Account.Validate if the designated constraints aren't met.
func (AccountValidationError) Cause ¶
func (e AccountValidationError) Cause() error
Cause function returns cause value.
func (AccountValidationError) Error ¶
func (e AccountValidationError) Error() string
Error satisfies the builtin error interface
func (AccountValidationError) ErrorName ¶
func (e AccountValidationError) ErrorName() string
ErrorName returns error name.
func (AccountValidationError) Field ¶
func (e AccountValidationError) Field() string
Field function returns field value.
func (AccountValidationError) Key ¶
func (e AccountValidationError) Key() bool
Key function returns key value.
func (AccountValidationError) Reason ¶
func (e AccountValidationError) Reason() string
Reason function returns reason value.