models

package
v0.0.0-...-76fafce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeSmsNumberParamsBody

type ChangeSmsNumberParamsBody struct {

	// sms number
	SmsNumber string `json:"smsNumber,omitempty"`
}

ChangeSmsNumberParamsBody change sms number params body

swagger:model changeSmsNumberParamsBody

func (*ChangeSmsNumberParamsBody) ContextValidate

func (m *ChangeSmsNumberParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this change sms number params body based on context it is used

func (*ChangeSmsNumberParamsBody) MarshalBinary

func (m *ChangeSmsNumberParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChangeSmsNumberParamsBody) UnmarshalBinary

func (m *ChangeSmsNumberParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChangeSmsNumberParamsBody) Validate

func (m *ChangeSmsNumberParamsBody) Validate(formats strfmt.Registry) error

Validate validates this change sms number params body

type CustomerspbChangeSmsNumberResponse

type CustomerspbChangeSmsNumberResponse interface{}

CustomerspbChangeSmsNumberResponse customerspb change sms number response

swagger:model customerspbChangeSmsNumberResponse

type CustomerspbCustomer

type CustomerspbCustomer struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// sms number
	SmsNumber string `json:"smsNumber,omitempty"`
}

CustomerspbCustomer customerspb customer

swagger:model customerspbCustomer

func (*CustomerspbCustomer) ContextValidate

func (m *CustomerspbCustomer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this customerspb customer based on context it is used

func (*CustomerspbCustomer) MarshalBinary

func (m *CustomerspbCustomer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomerspbCustomer) UnmarshalBinary

func (m *CustomerspbCustomer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomerspbCustomer) Validate

func (m *CustomerspbCustomer) Validate(formats strfmt.Registry) error

Validate validates this customerspb customer

type CustomerspbDisableCustomerResponse

type CustomerspbDisableCustomerResponse interface{}

CustomerspbDisableCustomerResponse customerspb disable customer response

swagger:model customerspbDisableCustomerResponse

type CustomerspbEnableCustomerResponse

type CustomerspbEnableCustomerResponse interface{}

CustomerspbEnableCustomerResponse customerspb enable customer response

swagger:model customerspbEnableCustomerResponse

type CustomerspbGetCustomerResponse

type CustomerspbGetCustomerResponse struct {

	// customer
	Customer *CustomerspbCustomer `json:"customer,omitempty"`
}

CustomerspbGetCustomerResponse customerspb get customer response

swagger:model customerspbGetCustomerResponse

func (*CustomerspbGetCustomerResponse) ContextValidate

func (m *CustomerspbGetCustomerResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this customerspb get customer response based on the context it is used

func (*CustomerspbGetCustomerResponse) MarshalBinary

func (m *CustomerspbGetCustomerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomerspbGetCustomerResponse) UnmarshalBinary

func (m *CustomerspbGetCustomerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomerspbGetCustomerResponse) Validate

func (m *CustomerspbGetCustomerResponse) Validate(formats strfmt.Registry) error

Validate validates this customerspb get customer response

type CustomerspbRegisterCustomerRequest

type CustomerspbRegisterCustomerRequest struct {

	// name
	Name string `json:"name,omitempty"`

	// sms number
	SmsNumber string `json:"smsNumber,omitempty"`
}

CustomerspbRegisterCustomerRequest customerspb register customer request

swagger:model customerspbRegisterCustomerRequest

func (*CustomerspbRegisterCustomerRequest) ContextValidate

func (m *CustomerspbRegisterCustomerRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this customerspb register customer request based on context it is used

func (*CustomerspbRegisterCustomerRequest) MarshalBinary

func (m *CustomerspbRegisterCustomerRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomerspbRegisterCustomerRequest) UnmarshalBinary

func (m *CustomerspbRegisterCustomerRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomerspbRegisterCustomerRequest) Validate

Validate validates this customerspb register customer request

type CustomerspbRegisterCustomerResponse

type CustomerspbRegisterCustomerResponse struct {

	// id
	ID string `json:"id,omitempty"`
}

CustomerspbRegisterCustomerResponse customerspb register customer response

swagger:model customerspbRegisterCustomerResponse

func (*CustomerspbRegisterCustomerResponse) ContextValidate

func (m *CustomerspbRegisterCustomerResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this customerspb register customer response based on context it is used

func (*CustomerspbRegisterCustomerResponse) MarshalBinary

func (m *CustomerspbRegisterCustomerResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomerspbRegisterCustomerResponse) UnmarshalBinary

func (m *CustomerspbRegisterCustomerResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomerspbRegisterCustomerResponse) Validate

Validate validates this customerspb register customer response

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RPCStatus

type RPCStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

RPCStatus rpc status

swagger:model rpcStatus

func (*RPCStatus) ContextValidate

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL