models

package
v0.0.0-...-81ab817 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AccountTypeAccount captures enum value "account"
	AccountTypeAccount string = "account"
)
View Source
const (

	// AccountsTypeAccounts captures enum value "accounts"
	AccountsTypeAccounts string = "accounts"
)
View Source
const (

	// OrganisationDataTypeOrganisations captures enum value "organisations"
	OrganisationDataTypeOrganisations string = "organisations"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {

	// attributes
	Attributes *AccountAttributes `json:"attributes,omitempty"`

	// type
	// Enum: [account]
	Type string `json:"type,omitempty"`
}

Account account swagger:model account

func (*Account) MarshalBinary

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

MarshalBinary interface implementation

func (*Account) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Account) Validate

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

Validate validates this account

type AccountAttributes

type AccountAttributes struct {

	// access
	Access *AccountAttributesAccess `json:"access,omitempty"`

	// cost package
	CostPackage *bool `json:"costPackage,omitempty"`

	// environment
	Environment string `json:"environment,omitempty"`

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

	// security package
	SecurityPackage *bool `json:"securityPackage,omitempty"`
}

AccountAttributes account attributes swagger:model accountAttributes

func (*AccountAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*AccountAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccountAttributes) Validate

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

Validate validates this account attributes

type AccountAttributesAccess

type AccountAttributesAccess struct {

	// keys
	Keys *AccountAttributesAccessKeys `json:"keys,omitempty"`
}

AccountAttributesAccess account attributes access swagger:model accountAttributesAccess

func (*AccountAttributesAccess) MarshalBinary

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

MarshalBinary interface implementation

func (*AccountAttributesAccess) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccountAttributesAccess) Validate

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

Validate validates this account attributes access

type AccountAttributesAccessKeys

type AccountAttributesAccessKeys struct {

	// external Id
	ExternalID string `json:"externalId,omitempty"`

	// role arn
	RoleArn string `json:"roleArn,omitempty"`
}

AccountAttributesAccessKeys account attributes access keys swagger:model accountAttributesAccessKeys

func (*AccountAttributesAccessKeys) MarshalBinary

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

MarshalBinary interface implementation

func (*AccountAttributesAccessKeys) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccountAttributesAccessKeys) Validate

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

Validate validates this account attributes access keys

type Accounts

type Accounts struct {

	// attributes
	Attributes *AccountsAttributes `json:"attributes,omitempty"`

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

	// relationships
	Relationships *AccountsRelationships `json:"relationships,omitempty"`

	// type
	// Enum: [accounts]
	Type string `json:"type,omitempty"`
}

Accounts accounts swagger:model accounts

func (*Accounts) MarshalBinary

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

MarshalBinary interface implementation

func (*Accounts) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Accounts) Validate

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

Validate validates this accounts

type AccountsAttributes

type AccountsAttributes struct {

	// awsaccount id
	AwsaccountID string `json:"awsaccount-id,omitempty"`

	// billing account id
	BillingAccountID string `json:"billing-account-id,omitempty"`

	// cost package
	CostPackage bool `json:"cost-package,omitempty"`

	// created date
	CreatedDate int64 `json:"created-date,omitempty"`

	// environment
	Environment string `json:"environment,omitempty"`

	// last checked date
	LastCheckedDate int64 `json:"last-checked-date,omitempty"`

	// last monitoring event date
	LastMonitoringEventDate int64 `json:"last-monitoring-event-date,omitempty"`

	// last notified date
	LastNotifiedDate int64 `json:"last-notified-date,omitempty"`

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

	// security package
	SecurityPackage bool `json:"security-package,omitempty"`
}

AccountsAttributes accounts attributes swagger:model accountsAttributes

func (*AccountsAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*AccountsAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccountsAttributes) Validate

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

Validate validates this accounts attributes

type AccountsRelationships

type AccountsRelationships struct {

	// organisation
	Organisation *Organisation `json:"organisation,omitempty"`
}

AccountsRelationships accounts relationships swagger:model accountsRelationships

func (*AccountsRelationships) MarshalBinary

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

MarshalBinary interface implementation

func (*AccountsRelationships) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccountsRelationships) Validate

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

Validate validates this accounts relationships

type CreateAccountOKBody

type CreateAccountOKBody struct {

	// data
	Data *Accounts `json:"data,omitempty"`
}

CreateAccountOKBody create account o k body swagger:model createAccountOKBody

func (*CreateAccountOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateAccountOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateAccountOKBody) Validate

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

Validate validates this create account o k body

type CreateAccountParamsBody

type CreateAccountParamsBody struct {

	// data
	Data *Account `json:"data,omitempty"`
}

CreateAccountParamsBody create account params body swagger:model createAccountParamsBody

func (*CreateAccountParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateAccountParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateAccountParamsBody) Validate

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

Validate validates this create account params body

type DeleteAccountOKBody

type DeleteAccountOKBody struct {

	// meta
	Meta *DeleteAccountOKBodyMeta `json:"meta,omitempty"`
}

DeleteAccountOKBody delete account o k body swagger:model deleteAccountOKBody

func (*DeleteAccountOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAccountOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAccountOKBody) Validate

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

Validate validates this delete account o k body

type DeleteAccountOKBodyMeta

type DeleteAccountOKBodyMeta struct {

	// status
	Status string `json:"status,omitempty"`
}

DeleteAccountOKBodyMeta delete account o k body meta swagger:model deleteAccountOKBodyMeta

func (*DeleteAccountOKBodyMeta) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAccountOKBodyMeta) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAccountOKBodyMeta) Validate

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

Validate validates this delete account o k body meta

type Error

type Error struct {

	// errors
	Errors []*ErrorErrorsItems `json:"errors"`
}

Error error swagger:model error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type ErrorErrorsItems

type ErrorErrorsItems struct {

	// detail
	Detail string `json:"detail,omitempty"`

	// source
	Source *ErrorErrorsItemsSource `json:"source,omitempty"`

	// status
	Status int64 `json:"status,omitempty"`
}

ErrorErrorsItems error errors items swagger:model errorErrorsItems

func (*ErrorErrorsItems) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorErrorsItems) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorErrorsItems) Validate

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

Validate validates this error errors items

type ErrorErrorsItemsSource

type ErrorErrorsItemsSource struct {

	// source
	Source *ErrorErrorsItemsSourceSource `json:"source,omitempty"`
}

ErrorErrorsItemsSource error errors items source swagger:model errorErrorsItemsSource

func (*ErrorErrorsItemsSource) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorErrorsItemsSource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorErrorsItemsSource) Validate

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

Validate validates this error errors items source

type ErrorErrorsItemsSourceSource

type ErrorErrorsItemsSourceSource struct {

	// pointer
	Pointer string `json:"pointer,omitempty"`
}

ErrorErrorsItemsSourceSource error errors items source source swagger:model errorErrorsItemsSourceSource

func (*ErrorErrorsItemsSourceSource) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorErrorsItemsSourceSource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorErrorsItemsSourceSource) Validate

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

Validate validates this error errors items source source

type GetAccountOKBody

type GetAccountOKBody struct {

	// data
	Data *Accounts `json:"data,omitempty"`
}

GetAccountOKBody get account o k body swagger:model getAccountOKBody

func (*GetAccountOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAccountOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAccountOKBody) Validate

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

Validate validates this get account o k body

type GetExternalIDOKBody

type GetExternalIDOKBody struct {

	// data
	Data *GetExternalIDOKBodyData `json:"data,omitempty"`
}

GetExternalIDOKBody get external Id o k body swagger:model getExternalIdOKBody

func (*GetExternalIDOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetExternalIDOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetExternalIDOKBody) Validate

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

Validate validates this get external Id o k body

type GetExternalIDOKBodyData

type GetExternalIDOKBodyData struct {

	// attributes
	Attributes *GetExternalIDOKBodyDataAttributes `json:"attributes,omitempty"`

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

	// type
	Type string `json:"type,omitempty"`
}

GetExternalIDOKBodyData get external Id o k body data swagger:model getExternalIdOKBodyData

func (*GetExternalIDOKBodyData) MarshalBinary

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

MarshalBinary interface implementation

func (*GetExternalIDOKBodyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetExternalIDOKBodyData) Validate

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

Validate validates this get external Id o k body data

type GetExternalIDOKBodyDataAttributes

type GetExternalIDOKBodyDataAttributes struct {

	// valid until
	ValidUntil int64 `json:"valid-until,omitempty"`
}

GetExternalIDOKBodyDataAttributes get external Id o k body data attributes swagger:model getExternalIdOKBodyDataAttributes

func (*GetExternalIDOKBodyDataAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*GetExternalIDOKBodyDataAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetExternalIDOKBodyDataAttributes) Validate

Validate validates this get external Id o k body data attributes

type ListAccountsOKBody

type ListAccountsOKBody struct {

	// data
	Data []*Accounts `json:"data"`
}

ListAccountsOKBody list accounts o k body swagger:model listAccountsOKBody

func (*ListAccountsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAccountsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAccountsOKBody) Validate

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

Validate validates this list accounts o k body

type Organisation

type Organisation struct {

	// data
	Data *OrganisationData `json:"data,omitempty"`
}

Organisation organisation swagger:model organisation

func (*Organisation) MarshalBinary

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

MarshalBinary interface implementation

func (*Organisation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Organisation) Validate

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

Validate validates this organisation

type OrganisationData

type OrganisationData struct {

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

	// type
	// Enum: [organisations]
	Type string `json:"type,omitempty"`
}

OrganisationData organisation data swagger:model organisationData

func (*OrganisationData) MarshalBinary

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

MarshalBinary interface implementation

func (*OrganisationData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrganisationData) Validate

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

Validate validates this organisation data

Jump to

Keyboard shortcuts

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