models

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsCreateAPIKeyResponse

type ModelsCreateAPIKeyResponse struct {

	// apikey
	Apikey string `json:"apikey,omitempty"`

	// created at
	CreatedAt string `json:"created_at,omitempty"`

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

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

	// organization
	Organization string `json:"organization,omitempty"`
}

ModelsCreateAPIKeyResponse models create API key response

swagger:model models.CreateAPIKeyResponse

func (*ModelsCreateAPIKeyResponse) ContextValidate

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

ContextValidate validates this models create API key response based on context it is used

func (*ModelsCreateAPIKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateAPIKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateAPIKeyResponse) Validate

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

Validate validates this models create API key response

type ModelsCreateFunctionResponse

type ModelsCreateFunctionResponse struct {

	// hash
	Hash string `json:"hash,omitempty"`

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

	// organization
	Organization string `json:"organization,omitempty"`

	// public
	Public bool `json:"public,omitempty"`

	// tag
	Tag string `json:"tag,omitempty"`
}

ModelsCreateFunctionResponse models create function response

swagger:model models.CreateFunctionResponse

func (*ModelsCreateFunctionResponse) ContextValidate

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

ContextValidate validates this models create function response based on context it is used

func (*ModelsCreateFunctionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateFunctionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateFunctionResponse) Validate

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

Validate validates this models create function response

type ModelsGetAPIKeyResponse

type ModelsGetAPIKeyResponse struct {

	// created at
	CreatedAt string `json:"created_at,omitempty"`

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

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

	// organization
	Organization string `json:"organization,omitempty"`
}

ModelsGetAPIKeyResponse models get API key response

swagger:model models.GetAPIKeyResponse

func (*ModelsGetAPIKeyResponse) ContextValidate

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

ContextValidate validates this models get API key response based on context it is used

func (*ModelsGetAPIKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetAPIKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetAPIKeyResponse) Validate

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

Validate validates this models get API key response

type ModelsGetFunctionResponse

type ModelsGetFunctionResponse struct {

	// hash
	Hash string `json:"hash,omitempty"`

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

	// organization
	Organization string `json:"organization,omitempty"`

	// presigned url
	PresignedURL string `json:"presigned_url,omitempty"`

	// public
	Public bool `json:"public,omitempty"`

	// tag
	Tag string `json:"tag,omitempty"`
}

ModelsGetFunctionResponse models get function response

swagger:model models.GetFunctionResponse

func (*ModelsGetFunctionResponse) ContextValidate

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

ContextValidate validates this models get function response based on context it is used

func (*ModelsGetFunctionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetFunctionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetFunctionResponse) Validate

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

Validate validates this models get function response

type ModelsGetHealthResponse

type ModelsGetHealthResponse struct {

	// database
	Database bool `json:"database,omitempty"`
}

ModelsGetHealthResponse models get health response

swagger:model models.GetHealthResponse

func (*ModelsGetHealthResponse) ContextValidate

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

ContextValidate validates this models get health response based on context it is used

func (*ModelsGetHealthResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetHealthResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetHealthResponse) Validate

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

Validate validates this models get health response

Jump to

Keyboard shortcuts

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