Documentation
¶
Index ¶
- Constants
- type Account
- type AccountAttributes
- type AccountAttributesAccess
- type AccountAttributesAccessKeys
- type Accounts
- type AccountsAttributes
- type AccountsRelationships
- type CreateAccountOKBody
- type CreateAccountParamsBody
- type DeleteAccountOKBody
- type DeleteAccountOKBodyMeta
- type Error
- type ErrorErrorsItems
- type ErrorErrorsItemsSource
- type ErrorErrorsItemsSourceSource
- type GetAccountOKBody
- type GetExternalIDOKBody
- type GetExternalIDOKBodyData
- type GetExternalIDOKBodyDataAttributes
- type ListAccountsOKBody
- type Organisation
- type OrganisationData
Constants ¶
const ( // AccountTypeAccount captures enum value "account" AccountTypeAccount string = "account" )
const ( // AccountsTypeAccounts captures enum value "accounts" AccountsTypeAccounts string = "accounts" )
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 ¶
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Accounts) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
type Error ¶
type Error struct {
// errors
Errors []*ErrorErrorsItems `json:"errors"`
}
Error error swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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
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
Source Files
¶
- account.go
- account_attributes.go
- account_attributes_access.go
- account_attributes_access_keys.go
- accounts.go
- accounts_attributes.go
- accounts_relationships.go
- create_account_o_k_body.go
- create_account_params_body.go
- delete_account_o_k_body.go
- delete_account_o_k_body_meta.go
- error.go
- error_errors_items.go
- error_errors_items_source.go
- error_errors_items_source_source.go
- get_account_o_k_body.go
- get_external_id_o_k_body.go
- get_external_id_o_k_body_data.go
- get_external_id_o_k_body_data_attributes.go
- list_accounts_o_k_body.go
- organisation.go
- organisation_data.go