Documentation ¶
Index ¶
- type ArchiveSupplySourceBadRequest
- func (o *ArchiveSupplySourceBadRequest) Error() string
- func (o *ArchiveSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceBadRequest) IsClientError() bool
- func (o *ArchiveSupplySourceBadRequest) IsCode(code int) bool
- func (o *ArchiveSupplySourceBadRequest) IsRedirect() bool
- func (o *ArchiveSupplySourceBadRequest) IsServerError() bool
- func (o *ArchiveSupplySourceBadRequest) IsSuccess() bool
- func (o *ArchiveSupplySourceBadRequest) String() string
- type ArchiveSupplySourceForbidden
- func (o *ArchiveSupplySourceForbidden) Error() string
- func (o *ArchiveSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceForbidden) IsClientError() bool
- func (o *ArchiveSupplySourceForbidden) IsCode(code int) bool
- func (o *ArchiveSupplySourceForbidden) IsRedirect() bool
- func (o *ArchiveSupplySourceForbidden) IsServerError() bool
- func (o *ArchiveSupplySourceForbidden) IsSuccess() bool
- func (o *ArchiveSupplySourceForbidden) String() string
- type ArchiveSupplySourceInternalServerError
- func (o *ArchiveSupplySourceInternalServerError) Error() string
- func (o *ArchiveSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceInternalServerError) IsClientError() bool
- func (o *ArchiveSupplySourceInternalServerError) IsCode(code int) bool
- func (o *ArchiveSupplySourceInternalServerError) IsRedirect() bool
- func (o *ArchiveSupplySourceInternalServerError) IsServerError() bool
- func (o *ArchiveSupplySourceInternalServerError) IsSuccess() bool
- func (o *ArchiveSupplySourceInternalServerError) String() string
- type ArchiveSupplySourceNoContent
- func (o *ArchiveSupplySourceNoContent) Error() string
- func (o *ArchiveSupplySourceNoContent) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceNoContent) IsClientError() bool
- func (o *ArchiveSupplySourceNoContent) IsCode(code int) bool
- func (o *ArchiveSupplySourceNoContent) IsRedirect() bool
- func (o *ArchiveSupplySourceNoContent) IsServerError() bool
- func (o *ArchiveSupplySourceNoContent) IsSuccess() bool
- func (o *ArchiveSupplySourceNoContent) String() string
- type ArchiveSupplySourceNotFound
- func (o *ArchiveSupplySourceNotFound) Error() string
- func (o *ArchiveSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceNotFound) IsClientError() bool
- func (o *ArchiveSupplySourceNotFound) IsCode(code int) bool
- func (o *ArchiveSupplySourceNotFound) IsRedirect() bool
- func (o *ArchiveSupplySourceNotFound) IsServerError() bool
- func (o *ArchiveSupplySourceNotFound) IsSuccess() bool
- func (o *ArchiveSupplySourceNotFound) String() string
- type ArchiveSupplySourceParams
- func NewArchiveSupplySourceParams() *ArchiveSupplySourceParams
- func NewArchiveSupplySourceParamsWithContext(ctx context.Context) *ArchiveSupplySourceParams
- func NewArchiveSupplySourceParamsWithHTTPClient(client *http.Client) *ArchiveSupplySourceParams
- func NewArchiveSupplySourceParamsWithTimeout(timeout time.Duration) *ArchiveSupplySourceParams
- func (o *ArchiveSupplySourceParams) SetContext(ctx context.Context)
- func (o *ArchiveSupplySourceParams) SetDefaults()
- func (o *ArchiveSupplySourceParams) SetHTTPClient(client *http.Client)
- func (o *ArchiveSupplySourceParams) SetSupplySourceID(supplySourceID string)
- func (o *ArchiveSupplySourceParams) SetTimeout(timeout time.Duration)
- func (o *ArchiveSupplySourceParams) WithContext(ctx context.Context) *ArchiveSupplySourceParams
- func (o *ArchiveSupplySourceParams) WithDefaults() *ArchiveSupplySourceParams
- func (o *ArchiveSupplySourceParams) WithHTTPClient(client *http.Client) *ArchiveSupplySourceParams
- func (o *ArchiveSupplySourceParams) WithSupplySourceID(supplySourceID string) *ArchiveSupplySourceParams
- func (o *ArchiveSupplySourceParams) WithTimeout(timeout time.Duration) *ArchiveSupplySourceParams
- func (o *ArchiveSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ArchiveSupplySourceReader
- type ArchiveSupplySourceRequestEntityTooLarge
- func (o *ArchiveSupplySourceRequestEntityTooLarge) Error() string
- func (o *ArchiveSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceRequestEntityTooLarge) IsClientError() bool
- func (o *ArchiveSupplySourceRequestEntityTooLarge) IsCode(code int) bool
- func (o *ArchiveSupplySourceRequestEntityTooLarge) IsRedirect() bool
- func (o *ArchiveSupplySourceRequestEntityTooLarge) IsServerError() bool
- func (o *ArchiveSupplySourceRequestEntityTooLarge) IsSuccess() bool
- func (o *ArchiveSupplySourceRequestEntityTooLarge) String() string
- type ArchiveSupplySourceServiceUnavailable
- func (o *ArchiveSupplySourceServiceUnavailable) Error() string
- func (o *ArchiveSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceServiceUnavailable) IsClientError() bool
- func (o *ArchiveSupplySourceServiceUnavailable) IsCode(code int) bool
- func (o *ArchiveSupplySourceServiceUnavailable) IsRedirect() bool
- func (o *ArchiveSupplySourceServiceUnavailable) IsServerError() bool
- func (o *ArchiveSupplySourceServiceUnavailable) IsSuccess() bool
- func (o *ArchiveSupplySourceServiceUnavailable) String() string
- type ArchiveSupplySourceTooManyRequests
- func (o *ArchiveSupplySourceTooManyRequests) Error() string
- func (o *ArchiveSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceTooManyRequests) IsClientError() bool
- func (o *ArchiveSupplySourceTooManyRequests) IsCode(code int) bool
- func (o *ArchiveSupplySourceTooManyRequests) IsRedirect() bool
- func (o *ArchiveSupplySourceTooManyRequests) IsServerError() bool
- func (o *ArchiveSupplySourceTooManyRequests) IsSuccess() bool
- func (o *ArchiveSupplySourceTooManyRequests) String() string
- type ArchiveSupplySourceUnsupportedMediaType
- func (o *ArchiveSupplySourceUnsupportedMediaType) Error() string
- func (o *ArchiveSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *ArchiveSupplySourceUnsupportedMediaType) IsClientError() bool
- func (o *ArchiveSupplySourceUnsupportedMediaType) IsCode(code int) bool
- func (o *ArchiveSupplySourceUnsupportedMediaType) IsRedirect() bool
- func (o *ArchiveSupplySourceUnsupportedMediaType) IsServerError() bool
- func (o *ArchiveSupplySourceUnsupportedMediaType) IsSuccess() bool
- func (o *ArchiveSupplySourceUnsupportedMediaType) String() string
- type Client
- func (a *Client) ArchiveSupplySource(params *ArchiveSupplySourceParams, opts ...ClientOption) (*ArchiveSupplySourceNoContent, error)
- func (a *Client) CreateSupplySource(params *CreateSupplySourceParams, opts ...ClientOption) (*CreateSupplySourceOK, error)
- func (a *Client) GetSupplySource(params *GetSupplySourceParams, opts ...ClientOption) (*GetSupplySourceOK, error)
- func (a *Client) GetSupplySources(params *GetSupplySourcesParams, opts ...ClientOption) (*GetSupplySourcesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSupplySource(params *UpdateSupplySourceParams, opts ...ClientOption) (*UpdateSupplySourceNoContent, error)
- func (a *Client) UpdateSupplySourceStatus(params *UpdateSupplySourceStatusParams, opts ...ClientOption) (*UpdateSupplySourceStatusNoContent, error)
- type ClientOption
- type ClientService
- type CreateSupplySourceBadRequest
- func (o *CreateSupplySourceBadRequest) Error() string
- func (o *CreateSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceBadRequest) IsClientError() bool
- func (o *CreateSupplySourceBadRequest) IsCode(code int) bool
- func (o *CreateSupplySourceBadRequest) IsRedirect() bool
- func (o *CreateSupplySourceBadRequest) IsServerError() bool
- func (o *CreateSupplySourceBadRequest) IsSuccess() bool
- func (o *CreateSupplySourceBadRequest) String() string
- type CreateSupplySourceForbidden
- func (o *CreateSupplySourceForbidden) Error() string
- func (o *CreateSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceForbidden) IsClientError() bool
- func (o *CreateSupplySourceForbidden) IsCode(code int) bool
- func (o *CreateSupplySourceForbidden) IsRedirect() bool
- func (o *CreateSupplySourceForbidden) IsServerError() bool
- func (o *CreateSupplySourceForbidden) IsSuccess() bool
- func (o *CreateSupplySourceForbidden) String() string
- type CreateSupplySourceInternalServerError
- func (o *CreateSupplySourceInternalServerError) Error() string
- func (o *CreateSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceInternalServerError) IsClientError() bool
- func (o *CreateSupplySourceInternalServerError) IsCode(code int) bool
- func (o *CreateSupplySourceInternalServerError) IsRedirect() bool
- func (o *CreateSupplySourceInternalServerError) IsServerError() bool
- func (o *CreateSupplySourceInternalServerError) IsSuccess() bool
- func (o *CreateSupplySourceInternalServerError) String() string
- type CreateSupplySourceNotFound
- func (o *CreateSupplySourceNotFound) Error() string
- func (o *CreateSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceNotFound) IsClientError() bool
- func (o *CreateSupplySourceNotFound) IsCode(code int) bool
- func (o *CreateSupplySourceNotFound) IsRedirect() bool
- func (o *CreateSupplySourceNotFound) IsServerError() bool
- func (o *CreateSupplySourceNotFound) IsSuccess() bool
- func (o *CreateSupplySourceNotFound) String() string
- type CreateSupplySourceOK
- func (o *CreateSupplySourceOK) Error() string
- func (o *CreateSupplySourceOK) GetPayload() *supply_sources_2020_07_01_models.CreateSupplySourceResponse
- func (o *CreateSupplySourceOK) IsClientError() bool
- func (o *CreateSupplySourceOK) IsCode(code int) bool
- func (o *CreateSupplySourceOK) IsRedirect() bool
- func (o *CreateSupplySourceOK) IsServerError() bool
- func (o *CreateSupplySourceOK) IsSuccess() bool
- func (o *CreateSupplySourceOK) String() string
- type CreateSupplySourceParams
- func NewCreateSupplySourceParams() *CreateSupplySourceParams
- func NewCreateSupplySourceParamsWithContext(ctx context.Context) *CreateSupplySourceParams
- func NewCreateSupplySourceParamsWithHTTPClient(client *http.Client) *CreateSupplySourceParams
- func NewCreateSupplySourceParamsWithTimeout(timeout time.Duration) *CreateSupplySourceParams
- func (o *CreateSupplySourceParams) SetContext(ctx context.Context)
- func (o *CreateSupplySourceParams) SetDefaults()
- func (o *CreateSupplySourceParams) SetHTTPClient(client *http.Client)
- func (o *CreateSupplySourceParams) SetPayload(payload *supply_sources_2020_07_01_models.CreateSupplySourceRequest)
- func (o *CreateSupplySourceParams) SetTimeout(timeout time.Duration)
- func (o *CreateSupplySourceParams) WithContext(ctx context.Context) *CreateSupplySourceParams
- func (o *CreateSupplySourceParams) WithDefaults() *CreateSupplySourceParams
- func (o *CreateSupplySourceParams) WithHTTPClient(client *http.Client) *CreateSupplySourceParams
- func (o *CreateSupplySourceParams) WithPayload(payload *supply_sources_2020_07_01_models.CreateSupplySourceRequest) *CreateSupplySourceParams
- func (o *CreateSupplySourceParams) WithTimeout(timeout time.Duration) *CreateSupplySourceParams
- func (o *CreateSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSupplySourceReader
- type CreateSupplySourceRequestEntityTooLarge
- func (o *CreateSupplySourceRequestEntityTooLarge) Error() string
- func (o *CreateSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceRequestEntityTooLarge) IsClientError() bool
- func (o *CreateSupplySourceRequestEntityTooLarge) IsCode(code int) bool
- func (o *CreateSupplySourceRequestEntityTooLarge) IsRedirect() bool
- func (o *CreateSupplySourceRequestEntityTooLarge) IsServerError() bool
- func (o *CreateSupplySourceRequestEntityTooLarge) IsSuccess() bool
- func (o *CreateSupplySourceRequestEntityTooLarge) String() string
- type CreateSupplySourceServiceUnavailable
- func (o *CreateSupplySourceServiceUnavailable) Error() string
- func (o *CreateSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceServiceUnavailable) IsClientError() bool
- func (o *CreateSupplySourceServiceUnavailable) IsCode(code int) bool
- func (o *CreateSupplySourceServiceUnavailable) IsRedirect() bool
- func (o *CreateSupplySourceServiceUnavailable) IsServerError() bool
- func (o *CreateSupplySourceServiceUnavailable) IsSuccess() bool
- func (o *CreateSupplySourceServiceUnavailable) String() string
- type CreateSupplySourceTooManyRequests
- func (o *CreateSupplySourceTooManyRequests) Error() string
- func (o *CreateSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceTooManyRequests) IsClientError() bool
- func (o *CreateSupplySourceTooManyRequests) IsCode(code int) bool
- func (o *CreateSupplySourceTooManyRequests) IsRedirect() bool
- func (o *CreateSupplySourceTooManyRequests) IsServerError() bool
- func (o *CreateSupplySourceTooManyRequests) IsSuccess() bool
- func (o *CreateSupplySourceTooManyRequests) String() string
- type CreateSupplySourceUnsupportedMediaType
- func (o *CreateSupplySourceUnsupportedMediaType) Error() string
- func (o *CreateSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *CreateSupplySourceUnsupportedMediaType) IsClientError() bool
- func (o *CreateSupplySourceUnsupportedMediaType) IsCode(code int) bool
- func (o *CreateSupplySourceUnsupportedMediaType) IsRedirect() bool
- func (o *CreateSupplySourceUnsupportedMediaType) IsServerError() bool
- func (o *CreateSupplySourceUnsupportedMediaType) IsSuccess() bool
- func (o *CreateSupplySourceUnsupportedMediaType) String() string
- type GetSupplySourceBadRequest
- func (o *GetSupplySourceBadRequest) Error() string
- func (o *GetSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceBadRequest) IsClientError() bool
- func (o *GetSupplySourceBadRequest) IsCode(code int) bool
- func (o *GetSupplySourceBadRequest) IsRedirect() bool
- func (o *GetSupplySourceBadRequest) IsServerError() bool
- func (o *GetSupplySourceBadRequest) IsSuccess() bool
- func (o *GetSupplySourceBadRequest) String() string
- type GetSupplySourceForbidden
- func (o *GetSupplySourceForbidden) Error() string
- func (o *GetSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceForbidden) IsClientError() bool
- func (o *GetSupplySourceForbidden) IsCode(code int) bool
- func (o *GetSupplySourceForbidden) IsRedirect() bool
- func (o *GetSupplySourceForbidden) IsServerError() bool
- func (o *GetSupplySourceForbidden) IsSuccess() bool
- func (o *GetSupplySourceForbidden) String() string
- type GetSupplySourceInternalServerError
- func (o *GetSupplySourceInternalServerError) Error() string
- func (o *GetSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceInternalServerError) IsClientError() bool
- func (o *GetSupplySourceInternalServerError) IsCode(code int) bool
- func (o *GetSupplySourceInternalServerError) IsRedirect() bool
- func (o *GetSupplySourceInternalServerError) IsServerError() bool
- func (o *GetSupplySourceInternalServerError) IsSuccess() bool
- func (o *GetSupplySourceInternalServerError) String() string
- type GetSupplySourceNotFound
- func (o *GetSupplySourceNotFound) Error() string
- func (o *GetSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceNotFound) IsClientError() bool
- func (o *GetSupplySourceNotFound) IsCode(code int) bool
- func (o *GetSupplySourceNotFound) IsRedirect() bool
- func (o *GetSupplySourceNotFound) IsServerError() bool
- func (o *GetSupplySourceNotFound) IsSuccess() bool
- func (o *GetSupplySourceNotFound) String() string
- type GetSupplySourceOK
- func (o *GetSupplySourceOK) Error() string
- func (o *GetSupplySourceOK) GetPayload() *supply_sources_2020_07_01_models.SupplySource
- func (o *GetSupplySourceOK) IsClientError() bool
- func (o *GetSupplySourceOK) IsCode(code int) bool
- func (o *GetSupplySourceOK) IsRedirect() bool
- func (o *GetSupplySourceOK) IsServerError() bool
- func (o *GetSupplySourceOK) IsSuccess() bool
- func (o *GetSupplySourceOK) String() string
- type GetSupplySourceParams
- func NewGetSupplySourceParams() *GetSupplySourceParams
- func NewGetSupplySourceParamsWithContext(ctx context.Context) *GetSupplySourceParams
- func NewGetSupplySourceParamsWithHTTPClient(client *http.Client) *GetSupplySourceParams
- func NewGetSupplySourceParamsWithTimeout(timeout time.Duration) *GetSupplySourceParams
- func (o *GetSupplySourceParams) SetContext(ctx context.Context)
- func (o *GetSupplySourceParams) SetDefaults()
- func (o *GetSupplySourceParams) SetHTTPClient(client *http.Client)
- func (o *GetSupplySourceParams) SetSupplySourceID(supplySourceID string)
- func (o *GetSupplySourceParams) SetTimeout(timeout time.Duration)
- func (o *GetSupplySourceParams) WithContext(ctx context.Context) *GetSupplySourceParams
- func (o *GetSupplySourceParams) WithDefaults() *GetSupplySourceParams
- func (o *GetSupplySourceParams) WithHTTPClient(client *http.Client) *GetSupplySourceParams
- func (o *GetSupplySourceParams) WithSupplySourceID(supplySourceID string) *GetSupplySourceParams
- func (o *GetSupplySourceParams) WithTimeout(timeout time.Duration) *GetSupplySourceParams
- func (o *GetSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSupplySourceReader
- type GetSupplySourceRequestEntityTooLarge
- func (o *GetSupplySourceRequestEntityTooLarge) Error() string
- func (o *GetSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceRequestEntityTooLarge) IsClientError() bool
- func (o *GetSupplySourceRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetSupplySourceRequestEntityTooLarge) IsRedirect() bool
- func (o *GetSupplySourceRequestEntityTooLarge) IsServerError() bool
- func (o *GetSupplySourceRequestEntityTooLarge) IsSuccess() bool
- func (o *GetSupplySourceRequestEntityTooLarge) String() string
- type GetSupplySourceServiceUnavailable
- func (o *GetSupplySourceServiceUnavailable) Error() string
- func (o *GetSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceServiceUnavailable) IsClientError() bool
- func (o *GetSupplySourceServiceUnavailable) IsCode(code int) bool
- func (o *GetSupplySourceServiceUnavailable) IsRedirect() bool
- func (o *GetSupplySourceServiceUnavailable) IsServerError() bool
- func (o *GetSupplySourceServiceUnavailable) IsSuccess() bool
- func (o *GetSupplySourceServiceUnavailable) String() string
- type GetSupplySourceTooManyRequests
- func (o *GetSupplySourceTooManyRequests) Error() string
- func (o *GetSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceTooManyRequests) IsClientError() bool
- func (o *GetSupplySourceTooManyRequests) IsCode(code int) bool
- func (o *GetSupplySourceTooManyRequests) IsRedirect() bool
- func (o *GetSupplySourceTooManyRequests) IsServerError() bool
- func (o *GetSupplySourceTooManyRequests) IsSuccess() bool
- func (o *GetSupplySourceTooManyRequests) String() string
- type GetSupplySourceUnsupportedMediaType
- func (o *GetSupplySourceUnsupportedMediaType) Error() string
- func (o *GetSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourceUnsupportedMediaType) IsClientError() bool
- func (o *GetSupplySourceUnsupportedMediaType) IsCode(code int) bool
- func (o *GetSupplySourceUnsupportedMediaType) IsRedirect() bool
- func (o *GetSupplySourceUnsupportedMediaType) IsServerError() bool
- func (o *GetSupplySourceUnsupportedMediaType) IsSuccess() bool
- func (o *GetSupplySourceUnsupportedMediaType) String() string
- type GetSupplySourcesBadRequest
- func (o *GetSupplySourcesBadRequest) Error() string
- func (o *GetSupplySourcesBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesBadRequest) IsClientError() bool
- func (o *GetSupplySourcesBadRequest) IsCode(code int) bool
- func (o *GetSupplySourcesBadRequest) IsRedirect() bool
- func (o *GetSupplySourcesBadRequest) IsServerError() bool
- func (o *GetSupplySourcesBadRequest) IsSuccess() bool
- func (o *GetSupplySourcesBadRequest) String() string
- type GetSupplySourcesForbidden
- func (o *GetSupplySourcesForbidden) Error() string
- func (o *GetSupplySourcesForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesForbidden) IsClientError() bool
- func (o *GetSupplySourcesForbidden) IsCode(code int) bool
- func (o *GetSupplySourcesForbidden) IsRedirect() bool
- func (o *GetSupplySourcesForbidden) IsServerError() bool
- func (o *GetSupplySourcesForbidden) IsSuccess() bool
- func (o *GetSupplySourcesForbidden) String() string
- type GetSupplySourcesInternalServerError
- func (o *GetSupplySourcesInternalServerError) Error() string
- func (o *GetSupplySourcesInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesInternalServerError) IsClientError() bool
- func (o *GetSupplySourcesInternalServerError) IsCode(code int) bool
- func (o *GetSupplySourcesInternalServerError) IsRedirect() bool
- func (o *GetSupplySourcesInternalServerError) IsServerError() bool
- func (o *GetSupplySourcesInternalServerError) IsSuccess() bool
- func (o *GetSupplySourcesInternalServerError) String() string
- type GetSupplySourcesNotFound
- func (o *GetSupplySourcesNotFound) Error() string
- func (o *GetSupplySourcesNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesNotFound) IsClientError() bool
- func (o *GetSupplySourcesNotFound) IsCode(code int) bool
- func (o *GetSupplySourcesNotFound) IsRedirect() bool
- func (o *GetSupplySourcesNotFound) IsServerError() bool
- func (o *GetSupplySourcesNotFound) IsSuccess() bool
- func (o *GetSupplySourcesNotFound) String() string
- type GetSupplySourcesOK
- func (o *GetSupplySourcesOK) Error() string
- func (o *GetSupplySourcesOK) GetPayload() *supply_sources_2020_07_01_models.GetSupplySourcesResponse
- func (o *GetSupplySourcesOK) IsClientError() bool
- func (o *GetSupplySourcesOK) IsCode(code int) bool
- func (o *GetSupplySourcesOK) IsRedirect() bool
- func (o *GetSupplySourcesOK) IsServerError() bool
- func (o *GetSupplySourcesOK) IsSuccess() bool
- func (o *GetSupplySourcesOK) String() string
- type GetSupplySourcesParams
- func NewGetSupplySourcesParams() *GetSupplySourcesParams
- func NewGetSupplySourcesParamsWithContext(ctx context.Context) *GetSupplySourcesParams
- func NewGetSupplySourcesParamsWithHTTPClient(client *http.Client) *GetSupplySourcesParams
- func NewGetSupplySourcesParamsWithTimeout(timeout time.Duration) *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) SetContext(ctx context.Context)
- func (o *GetSupplySourcesParams) SetDefaults()
- func (o *GetSupplySourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetSupplySourcesParams) SetNextPageToken(nextPageToken *string)
- func (o *GetSupplySourcesParams) SetPageSize(pageSize *float64)
- func (o *GetSupplySourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetSupplySourcesParams) WithContext(ctx context.Context) *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) WithDefaults() *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) WithHTTPClient(client *http.Client) *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) WithNextPageToken(nextPageToken *string) *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) WithPageSize(pageSize *float64) *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) WithTimeout(timeout time.Duration) *GetSupplySourcesParams
- func (o *GetSupplySourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSupplySourcesReader
- type GetSupplySourcesRequestEntityTooLarge
- func (o *GetSupplySourcesRequestEntityTooLarge) Error() string
- func (o *GetSupplySourcesRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesRequestEntityTooLarge) IsClientError() bool
- func (o *GetSupplySourcesRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetSupplySourcesRequestEntityTooLarge) IsRedirect() bool
- func (o *GetSupplySourcesRequestEntityTooLarge) IsServerError() bool
- func (o *GetSupplySourcesRequestEntityTooLarge) IsSuccess() bool
- func (o *GetSupplySourcesRequestEntityTooLarge) String() string
- type GetSupplySourcesServiceUnavailable
- func (o *GetSupplySourcesServiceUnavailable) Error() string
- func (o *GetSupplySourcesServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesServiceUnavailable) IsClientError() bool
- func (o *GetSupplySourcesServiceUnavailable) IsCode(code int) bool
- func (o *GetSupplySourcesServiceUnavailable) IsRedirect() bool
- func (o *GetSupplySourcesServiceUnavailable) IsServerError() bool
- func (o *GetSupplySourcesServiceUnavailable) IsSuccess() bool
- func (o *GetSupplySourcesServiceUnavailable) String() string
- type GetSupplySourcesTooManyRequests
- func (o *GetSupplySourcesTooManyRequests) Error() string
- func (o *GetSupplySourcesTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesTooManyRequests) IsClientError() bool
- func (o *GetSupplySourcesTooManyRequests) IsCode(code int) bool
- func (o *GetSupplySourcesTooManyRequests) IsRedirect() bool
- func (o *GetSupplySourcesTooManyRequests) IsServerError() bool
- func (o *GetSupplySourcesTooManyRequests) IsSuccess() bool
- func (o *GetSupplySourcesTooManyRequests) String() string
- type GetSupplySourcesUnsupportedMediaType
- func (o *GetSupplySourcesUnsupportedMediaType) Error() string
- func (o *GetSupplySourcesUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *GetSupplySourcesUnsupportedMediaType) IsClientError() bool
- func (o *GetSupplySourcesUnsupportedMediaType) IsCode(code int) bool
- func (o *GetSupplySourcesUnsupportedMediaType) IsRedirect() bool
- func (o *GetSupplySourcesUnsupportedMediaType) IsServerError() bool
- func (o *GetSupplySourcesUnsupportedMediaType) IsSuccess() bool
- func (o *GetSupplySourcesUnsupportedMediaType) String() string
- type UpdateSupplySourceBadRequest
- func (o *UpdateSupplySourceBadRequest) Error() string
- func (o *UpdateSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceBadRequest) IsClientError() bool
- func (o *UpdateSupplySourceBadRequest) IsCode(code int) bool
- func (o *UpdateSupplySourceBadRequest) IsRedirect() bool
- func (o *UpdateSupplySourceBadRequest) IsServerError() bool
- func (o *UpdateSupplySourceBadRequest) IsSuccess() bool
- func (o *UpdateSupplySourceBadRequest) String() string
- type UpdateSupplySourceForbidden
- func (o *UpdateSupplySourceForbidden) Error() string
- func (o *UpdateSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceForbidden) IsClientError() bool
- func (o *UpdateSupplySourceForbidden) IsCode(code int) bool
- func (o *UpdateSupplySourceForbidden) IsRedirect() bool
- func (o *UpdateSupplySourceForbidden) IsServerError() bool
- func (o *UpdateSupplySourceForbidden) IsSuccess() bool
- func (o *UpdateSupplySourceForbidden) String() string
- type UpdateSupplySourceInternalServerError
- func (o *UpdateSupplySourceInternalServerError) Error() string
- func (o *UpdateSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceInternalServerError) IsClientError() bool
- func (o *UpdateSupplySourceInternalServerError) IsCode(code int) bool
- func (o *UpdateSupplySourceInternalServerError) IsRedirect() bool
- func (o *UpdateSupplySourceInternalServerError) IsServerError() bool
- func (o *UpdateSupplySourceInternalServerError) IsSuccess() bool
- func (o *UpdateSupplySourceInternalServerError) String() string
- type UpdateSupplySourceNoContent
- func (o *UpdateSupplySourceNoContent) Error() string
- func (o *UpdateSupplySourceNoContent) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceNoContent) IsClientError() bool
- func (o *UpdateSupplySourceNoContent) IsCode(code int) bool
- func (o *UpdateSupplySourceNoContent) IsRedirect() bool
- func (o *UpdateSupplySourceNoContent) IsServerError() bool
- func (o *UpdateSupplySourceNoContent) IsSuccess() bool
- func (o *UpdateSupplySourceNoContent) String() string
- type UpdateSupplySourceNotFound
- func (o *UpdateSupplySourceNotFound) Error() string
- func (o *UpdateSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceNotFound) IsClientError() bool
- func (o *UpdateSupplySourceNotFound) IsCode(code int) bool
- func (o *UpdateSupplySourceNotFound) IsRedirect() bool
- func (o *UpdateSupplySourceNotFound) IsServerError() bool
- func (o *UpdateSupplySourceNotFound) IsSuccess() bool
- func (o *UpdateSupplySourceNotFound) String() string
- type UpdateSupplySourceParams
- func NewUpdateSupplySourceParams() *UpdateSupplySourceParams
- func NewUpdateSupplySourceParamsWithContext(ctx context.Context) *UpdateSupplySourceParams
- func NewUpdateSupplySourceParamsWithHTTPClient(client *http.Client) *UpdateSupplySourceParams
- func NewUpdateSupplySourceParamsWithTimeout(timeout time.Duration) *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) SetContext(ctx context.Context)
- func (o *UpdateSupplySourceParams) SetDefaults()
- func (o *UpdateSupplySourceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSupplySourceParams) SetPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceRequest)
- func (o *UpdateSupplySourceParams) SetSupplySourceID(supplySourceID string)
- func (o *UpdateSupplySourceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSupplySourceParams) WithContext(ctx context.Context) *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) WithDefaults() *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) WithHTTPClient(client *http.Client) *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) WithPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceRequest) *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) WithSupplySourceID(supplySourceID string) *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) WithTimeout(timeout time.Duration) *UpdateSupplySourceParams
- func (o *UpdateSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSupplySourceReader
- type UpdateSupplySourceRequestEntityTooLarge
- func (o *UpdateSupplySourceRequestEntityTooLarge) Error() string
- func (o *UpdateSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceRequestEntityTooLarge) IsClientError() bool
- func (o *UpdateSupplySourceRequestEntityTooLarge) IsCode(code int) bool
- func (o *UpdateSupplySourceRequestEntityTooLarge) IsRedirect() bool
- func (o *UpdateSupplySourceRequestEntityTooLarge) IsServerError() bool
- func (o *UpdateSupplySourceRequestEntityTooLarge) IsSuccess() bool
- func (o *UpdateSupplySourceRequestEntityTooLarge) String() string
- type UpdateSupplySourceServiceUnavailable
- func (o *UpdateSupplySourceServiceUnavailable) Error() string
- func (o *UpdateSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceServiceUnavailable) IsClientError() bool
- func (o *UpdateSupplySourceServiceUnavailable) IsCode(code int) bool
- func (o *UpdateSupplySourceServiceUnavailable) IsRedirect() bool
- func (o *UpdateSupplySourceServiceUnavailable) IsServerError() bool
- func (o *UpdateSupplySourceServiceUnavailable) IsSuccess() bool
- func (o *UpdateSupplySourceServiceUnavailable) String() string
- type UpdateSupplySourceStatusBadRequest
- func (o *UpdateSupplySourceStatusBadRequest) Error() string
- func (o *UpdateSupplySourceStatusBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusBadRequest) IsClientError() bool
- func (o *UpdateSupplySourceStatusBadRequest) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusBadRequest) IsRedirect() bool
- func (o *UpdateSupplySourceStatusBadRequest) IsServerError() bool
- func (o *UpdateSupplySourceStatusBadRequest) IsSuccess() bool
- func (o *UpdateSupplySourceStatusBadRequest) String() string
- type UpdateSupplySourceStatusForbidden
- func (o *UpdateSupplySourceStatusForbidden) Error() string
- func (o *UpdateSupplySourceStatusForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusForbidden) IsClientError() bool
- func (o *UpdateSupplySourceStatusForbidden) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusForbidden) IsRedirect() bool
- func (o *UpdateSupplySourceStatusForbidden) IsServerError() bool
- func (o *UpdateSupplySourceStatusForbidden) IsSuccess() bool
- func (o *UpdateSupplySourceStatusForbidden) String() string
- type UpdateSupplySourceStatusInternalServerError
- func (o *UpdateSupplySourceStatusInternalServerError) Error() string
- func (o *UpdateSupplySourceStatusInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusInternalServerError) IsClientError() bool
- func (o *UpdateSupplySourceStatusInternalServerError) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusInternalServerError) IsRedirect() bool
- func (o *UpdateSupplySourceStatusInternalServerError) IsServerError() bool
- func (o *UpdateSupplySourceStatusInternalServerError) IsSuccess() bool
- func (o *UpdateSupplySourceStatusInternalServerError) String() string
- type UpdateSupplySourceStatusNoContent
- func (o *UpdateSupplySourceStatusNoContent) Error() string
- func (o *UpdateSupplySourceStatusNoContent) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusNoContent) IsClientError() bool
- func (o *UpdateSupplySourceStatusNoContent) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusNoContent) IsRedirect() bool
- func (o *UpdateSupplySourceStatusNoContent) IsServerError() bool
- func (o *UpdateSupplySourceStatusNoContent) IsSuccess() bool
- func (o *UpdateSupplySourceStatusNoContent) String() string
- type UpdateSupplySourceStatusNotFound
- func (o *UpdateSupplySourceStatusNotFound) Error() string
- func (o *UpdateSupplySourceStatusNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusNotFound) IsClientError() bool
- func (o *UpdateSupplySourceStatusNotFound) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusNotFound) IsRedirect() bool
- func (o *UpdateSupplySourceStatusNotFound) IsServerError() bool
- func (o *UpdateSupplySourceStatusNotFound) IsSuccess() bool
- func (o *UpdateSupplySourceStatusNotFound) String() string
- type UpdateSupplySourceStatusParams
- func NewUpdateSupplySourceStatusParams() *UpdateSupplySourceStatusParams
- func NewUpdateSupplySourceStatusParamsWithContext(ctx context.Context) *UpdateSupplySourceStatusParams
- func NewUpdateSupplySourceStatusParamsWithHTTPClient(client *http.Client) *UpdateSupplySourceStatusParams
- func NewUpdateSupplySourceStatusParamsWithTimeout(timeout time.Duration) *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) SetContext(ctx context.Context)
- func (o *UpdateSupplySourceStatusParams) SetDefaults()
- func (o *UpdateSupplySourceStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSupplySourceStatusParams) SetPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceStatusRequest)
- func (o *UpdateSupplySourceStatusParams) SetSupplySourceID(supplySourceID string)
- func (o *UpdateSupplySourceStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSupplySourceStatusParams) WithContext(ctx context.Context) *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) WithDefaults() *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) WithHTTPClient(client *http.Client) *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) WithPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceStatusRequest) *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) WithSupplySourceID(supplySourceID string) *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) WithTimeout(timeout time.Duration) *UpdateSupplySourceStatusParams
- func (o *UpdateSupplySourceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSupplySourceStatusReader
- type UpdateSupplySourceStatusRequestEntityTooLarge
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) Error() string
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsClientError() bool
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsRedirect() bool
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsServerError() bool
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsSuccess() bool
- func (o *UpdateSupplySourceStatusRequestEntityTooLarge) String() string
- type UpdateSupplySourceStatusServiceUnavailable
- func (o *UpdateSupplySourceStatusServiceUnavailable) Error() string
- func (o *UpdateSupplySourceStatusServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusServiceUnavailable) IsClientError() bool
- func (o *UpdateSupplySourceStatusServiceUnavailable) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusServiceUnavailable) IsRedirect() bool
- func (o *UpdateSupplySourceStatusServiceUnavailable) IsServerError() bool
- func (o *UpdateSupplySourceStatusServiceUnavailable) IsSuccess() bool
- func (o *UpdateSupplySourceStatusServiceUnavailable) String() string
- type UpdateSupplySourceStatusTooManyRequests
- func (o *UpdateSupplySourceStatusTooManyRequests) Error() string
- func (o *UpdateSupplySourceStatusTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusTooManyRequests) IsClientError() bool
- func (o *UpdateSupplySourceStatusTooManyRequests) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusTooManyRequests) IsRedirect() bool
- func (o *UpdateSupplySourceStatusTooManyRequests) IsServerError() bool
- func (o *UpdateSupplySourceStatusTooManyRequests) IsSuccess() bool
- func (o *UpdateSupplySourceStatusTooManyRequests) String() string
- type UpdateSupplySourceStatusUnsupportedMediaType
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) Error() string
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsClientError() bool
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsCode(code int) bool
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsRedirect() bool
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsServerError() bool
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsSuccess() bool
- func (o *UpdateSupplySourceStatusUnsupportedMediaType) String() string
- type UpdateSupplySourceTooManyRequests
- func (o *UpdateSupplySourceTooManyRequests) Error() string
- func (o *UpdateSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceTooManyRequests) IsClientError() bool
- func (o *UpdateSupplySourceTooManyRequests) IsCode(code int) bool
- func (o *UpdateSupplySourceTooManyRequests) IsRedirect() bool
- func (o *UpdateSupplySourceTooManyRequests) IsServerError() bool
- func (o *UpdateSupplySourceTooManyRequests) IsSuccess() bool
- func (o *UpdateSupplySourceTooManyRequests) String() string
- type UpdateSupplySourceUnsupportedMediaType
- func (o *UpdateSupplySourceUnsupportedMediaType) Error() string
- func (o *UpdateSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
- func (o *UpdateSupplySourceUnsupportedMediaType) IsClientError() bool
- func (o *UpdateSupplySourceUnsupportedMediaType) IsCode(code int) bool
- func (o *UpdateSupplySourceUnsupportedMediaType) IsRedirect() bool
- func (o *UpdateSupplySourceUnsupportedMediaType) IsServerError() bool
- func (o *UpdateSupplySourceUnsupportedMediaType) IsSuccess() bool
- func (o *UpdateSupplySourceUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveSupplySourceBadRequest ¶
type ArchiveSupplySourceBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceBadRequest describes a response with status code 400, with default header values.
The request has missing or invalid parameters and cannot be parsed.
func NewArchiveSupplySourceBadRequest ¶
func NewArchiveSupplySourceBadRequest() *ArchiveSupplySourceBadRequest
NewArchiveSupplySourceBadRequest creates a ArchiveSupplySourceBadRequest with default headers values
func (*ArchiveSupplySourceBadRequest) Error ¶
func (o *ArchiveSupplySourceBadRequest) Error() string
func (*ArchiveSupplySourceBadRequest) GetPayload ¶
func (o *ArchiveSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceBadRequest) IsClientError ¶
func (o *ArchiveSupplySourceBadRequest) IsClientError() bool
IsClientError returns true when this archive supply source bad request response has a 4xx status code
func (*ArchiveSupplySourceBadRequest) IsCode ¶
func (o *ArchiveSupplySourceBadRequest) IsCode(code int) bool
IsCode returns true when this archive supply source bad request response a status code equal to that given
func (*ArchiveSupplySourceBadRequest) IsRedirect ¶
func (o *ArchiveSupplySourceBadRequest) IsRedirect() bool
IsRedirect returns true when this archive supply source bad request response has a 3xx status code
func (*ArchiveSupplySourceBadRequest) IsServerError ¶
func (o *ArchiveSupplySourceBadRequest) IsServerError() bool
IsServerError returns true when this archive supply source bad request response has a 5xx status code
func (*ArchiveSupplySourceBadRequest) IsSuccess ¶
func (o *ArchiveSupplySourceBadRequest) IsSuccess() bool
IsSuccess returns true when this archive supply source bad request response has a 2xx status code
func (*ArchiveSupplySourceBadRequest) String ¶
func (o *ArchiveSupplySourceBadRequest) String() string
type ArchiveSupplySourceForbidden ¶
type ArchiveSupplySourceForbidden struct { /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewArchiveSupplySourceForbidden ¶
func NewArchiveSupplySourceForbidden() *ArchiveSupplySourceForbidden
NewArchiveSupplySourceForbidden creates a ArchiveSupplySourceForbidden with default headers values
func (*ArchiveSupplySourceForbidden) Error ¶
func (o *ArchiveSupplySourceForbidden) Error() string
func (*ArchiveSupplySourceForbidden) GetPayload ¶
func (o *ArchiveSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceForbidden) IsClientError ¶
func (o *ArchiveSupplySourceForbidden) IsClientError() bool
IsClientError returns true when this archive supply source forbidden response has a 4xx status code
func (*ArchiveSupplySourceForbidden) IsCode ¶
func (o *ArchiveSupplySourceForbidden) IsCode(code int) bool
IsCode returns true when this archive supply source forbidden response a status code equal to that given
func (*ArchiveSupplySourceForbidden) IsRedirect ¶
func (o *ArchiveSupplySourceForbidden) IsRedirect() bool
IsRedirect returns true when this archive supply source forbidden response has a 3xx status code
func (*ArchiveSupplySourceForbidden) IsServerError ¶
func (o *ArchiveSupplySourceForbidden) IsServerError() bool
IsServerError returns true when this archive supply source forbidden response has a 5xx status code
func (*ArchiveSupplySourceForbidden) IsSuccess ¶
func (o *ArchiveSupplySourceForbidden) IsSuccess() bool
IsSuccess returns true when this archive supply source forbidden response has a 2xx status code
func (*ArchiveSupplySourceForbidden) String ¶
func (o *ArchiveSupplySourceForbidden) String() string
type ArchiveSupplySourceInternalServerError ¶
type ArchiveSupplySourceInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewArchiveSupplySourceInternalServerError ¶
func NewArchiveSupplySourceInternalServerError() *ArchiveSupplySourceInternalServerError
NewArchiveSupplySourceInternalServerError creates a ArchiveSupplySourceInternalServerError with default headers values
func (*ArchiveSupplySourceInternalServerError) Error ¶
func (o *ArchiveSupplySourceInternalServerError) Error() string
func (*ArchiveSupplySourceInternalServerError) GetPayload ¶
func (o *ArchiveSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceInternalServerError) IsClientError ¶
func (o *ArchiveSupplySourceInternalServerError) IsClientError() bool
IsClientError returns true when this archive supply source internal server error response has a 4xx status code
func (*ArchiveSupplySourceInternalServerError) IsCode ¶
func (o *ArchiveSupplySourceInternalServerError) IsCode(code int) bool
IsCode returns true when this archive supply source internal server error response a status code equal to that given
func (*ArchiveSupplySourceInternalServerError) IsRedirect ¶
func (o *ArchiveSupplySourceInternalServerError) IsRedirect() bool
IsRedirect returns true when this archive supply source internal server error response has a 3xx status code
func (*ArchiveSupplySourceInternalServerError) IsServerError ¶
func (o *ArchiveSupplySourceInternalServerError) IsServerError() bool
IsServerError returns true when this archive supply source internal server error response has a 5xx status code
func (*ArchiveSupplySourceInternalServerError) IsSuccess ¶
func (o *ArchiveSupplySourceInternalServerError) IsSuccess() bool
IsSuccess returns true when this archive supply source internal server error response has a 2xx status code
func (*ArchiveSupplySourceInternalServerError) String ¶
func (o *ArchiveSupplySourceInternalServerError) String() string
type ArchiveSupplySourceNoContent ¶
type ArchiveSupplySourceNoContent struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceNoContent describes a response with status code 204, with default header values.
Success.
func NewArchiveSupplySourceNoContent ¶
func NewArchiveSupplySourceNoContent() *ArchiveSupplySourceNoContent
NewArchiveSupplySourceNoContent creates a ArchiveSupplySourceNoContent with default headers values
func (*ArchiveSupplySourceNoContent) Error ¶
func (o *ArchiveSupplySourceNoContent) Error() string
func (*ArchiveSupplySourceNoContent) GetPayload ¶
func (o *ArchiveSupplySourceNoContent) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceNoContent) IsClientError ¶
func (o *ArchiveSupplySourceNoContent) IsClientError() bool
IsClientError returns true when this archive supply source no content response has a 4xx status code
func (*ArchiveSupplySourceNoContent) IsCode ¶
func (o *ArchiveSupplySourceNoContent) IsCode(code int) bool
IsCode returns true when this archive supply source no content response a status code equal to that given
func (*ArchiveSupplySourceNoContent) IsRedirect ¶
func (o *ArchiveSupplySourceNoContent) IsRedirect() bool
IsRedirect returns true when this archive supply source no content response has a 3xx status code
func (*ArchiveSupplySourceNoContent) IsServerError ¶
func (o *ArchiveSupplySourceNoContent) IsServerError() bool
IsServerError returns true when this archive supply source no content response has a 5xx status code
func (*ArchiveSupplySourceNoContent) IsSuccess ¶
func (o *ArchiveSupplySourceNoContent) IsSuccess() bool
IsSuccess returns true when this archive supply source no content response has a 2xx status code
func (*ArchiveSupplySourceNoContent) String ¶
func (o *ArchiveSupplySourceNoContent) String() string
type ArchiveSupplySourceNotFound ¶
type ArchiveSupplySourceNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewArchiveSupplySourceNotFound ¶
func NewArchiveSupplySourceNotFound() *ArchiveSupplySourceNotFound
NewArchiveSupplySourceNotFound creates a ArchiveSupplySourceNotFound with default headers values
func (*ArchiveSupplySourceNotFound) Error ¶
func (o *ArchiveSupplySourceNotFound) Error() string
func (*ArchiveSupplySourceNotFound) GetPayload ¶
func (o *ArchiveSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceNotFound) IsClientError ¶
func (o *ArchiveSupplySourceNotFound) IsClientError() bool
IsClientError returns true when this archive supply source not found response has a 4xx status code
func (*ArchiveSupplySourceNotFound) IsCode ¶
func (o *ArchiveSupplySourceNotFound) IsCode(code int) bool
IsCode returns true when this archive supply source not found response a status code equal to that given
func (*ArchiveSupplySourceNotFound) IsRedirect ¶
func (o *ArchiveSupplySourceNotFound) IsRedirect() bool
IsRedirect returns true when this archive supply source not found response has a 3xx status code
func (*ArchiveSupplySourceNotFound) IsServerError ¶
func (o *ArchiveSupplySourceNotFound) IsServerError() bool
IsServerError returns true when this archive supply source not found response has a 5xx status code
func (*ArchiveSupplySourceNotFound) IsSuccess ¶
func (o *ArchiveSupplySourceNotFound) IsSuccess() bool
IsSuccess returns true when this archive supply source not found response has a 2xx status code
func (*ArchiveSupplySourceNotFound) String ¶
func (o *ArchiveSupplySourceNotFound) String() string
type ArchiveSupplySourceParams ¶
type ArchiveSupplySourceParams struct { /* SupplySourceID. The unique identifier of a supply source. */ SupplySourceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ArchiveSupplySourceParams contains all the parameters to send to the API endpoint
for the archive supply source operation. Typically these are written to a http.Request.
func NewArchiveSupplySourceParams ¶
func NewArchiveSupplySourceParams() *ArchiveSupplySourceParams
NewArchiveSupplySourceParams creates a new ArchiveSupplySourceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewArchiveSupplySourceParamsWithContext ¶
func NewArchiveSupplySourceParamsWithContext(ctx context.Context) *ArchiveSupplySourceParams
NewArchiveSupplySourceParamsWithContext creates a new ArchiveSupplySourceParams object with the ability to set a context for a request.
func NewArchiveSupplySourceParamsWithHTTPClient ¶
func NewArchiveSupplySourceParamsWithHTTPClient(client *http.Client) *ArchiveSupplySourceParams
NewArchiveSupplySourceParamsWithHTTPClient creates a new ArchiveSupplySourceParams object with the ability to set a custom HTTPClient for a request.
func NewArchiveSupplySourceParamsWithTimeout ¶
func NewArchiveSupplySourceParamsWithTimeout(timeout time.Duration) *ArchiveSupplySourceParams
NewArchiveSupplySourceParamsWithTimeout creates a new ArchiveSupplySourceParams object with the ability to set a timeout on a request.
func (*ArchiveSupplySourceParams) SetContext ¶
func (o *ArchiveSupplySourceParams) SetContext(ctx context.Context)
SetContext adds the context to the archive supply source params
func (*ArchiveSupplySourceParams) SetDefaults ¶
func (o *ArchiveSupplySourceParams) SetDefaults()
SetDefaults hydrates default values in the archive supply source params (not the query body).
All values with no default are reset to their zero value.
func (*ArchiveSupplySourceParams) SetHTTPClient ¶
func (o *ArchiveSupplySourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the archive supply source params
func (*ArchiveSupplySourceParams) SetSupplySourceID ¶
func (o *ArchiveSupplySourceParams) SetSupplySourceID(supplySourceID string)
SetSupplySourceID adds the supplySourceId to the archive supply source params
func (*ArchiveSupplySourceParams) SetTimeout ¶
func (o *ArchiveSupplySourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the archive supply source params
func (*ArchiveSupplySourceParams) WithContext ¶
func (o *ArchiveSupplySourceParams) WithContext(ctx context.Context) *ArchiveSupplySourceParams
WithContext adds the context to the archive supply source params
func (*ArchiveSupplySourceParams) WithDefaults ¶
func (o *ArchiveSupplySourceParams) WithDefaults() *ArchiveSupplySourceParams
WithDefaults hydrates default values in the archive supply source params (not the query body).
All values with no default are reset to their zero value.
func (*ArchiveSupplySourceParams) WithHTTPClient ¶
func (o *ArchiveSupplySourceParams) WithHTTPClient(client *http.Client) *ArchiveSupplySourceParams
WithHTTPClient adds the HTTPClient to the archive supply source params
func (*ArchiveSupplySourceParams) WithSupplySourceID ¶
func (o *ArchiveSupplySourceParams) WithSupplySourceID(supplySourceID string) *ArchiveSupplySourceParams
WithSupplySourceID adds the supplySourceID to the archive supply source params
func (*ArchiveSupplySourceParams) WithTimeout ¶
func (o *ArchiveSupplySourceParams) WithTimeout(timeout time.Duration) *ArchiveSupplySourceParams
WithTimeout adds the timeout to the archive supply source params
func (*ArchiveSupplySourceParams) WriteToRequest ¶
func (o *ArchiveSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ArchiveSupplySourceReader ¶
type ArchiveSupplySourceReader struct {
// contains filtered or unexported fields
}
ArchiveSupplySourceReader is a Reader for the ArchiveSupplySource structure.
func (*ArchiveSupplySourceReader) ReadResponse ¶
func (o *ArchiveSupplySourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ArchiveSupplySourceRequestEntityTooLarge ¶
type ArchiveSupplySourceRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewArchiveSupplySourceRequestEntityTooLarge ¶
func NewArchiveSupplySourceRequestEntityTooLarge() *ArchiveSupplySourceRequestEntityTooLarge
NewArchiveSupplySourceRequestEntityTooLarge creates a ArchiveSupplySourceRequestEntityTooLarge with default headers values
func (*ArchiveSupplySourceRequestEntityTooLarge) Error ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) Error() string
func (*ArchiveSupplySourceRequestEntityTooLarge) GetPayload ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceRequestEntityTooLarge) IsClientError ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this archive supply source request entity too large response has a 4xx status code
func (*ArchiveSupplySourceRequestEntityTooLarge) IsCode ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this archive supply source request entity too large response a status code equal to that given
func (*ArchiveSupplySourceRequestEntityTooLarge) IsRedirect ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this archive supply source request entity too large response has a 3xx status code
func (*ArchiveSupplySourceRequestEntityTooLarge) IsServerError ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this archive supply source request entity too large response has a 5xx status code
func (*ArchiveSupplySourceRequestEntityTooLarge) IsSuccess ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this archive supply source request entity too large response has a 2xx status code
func (*ArchiveSupplySourceRequestEntityTooLarge) String ¶
func (o *ArchiveSupplySourceRequestEntityTooLarge) String() string
type ArchiveSupplySourceServiceUnavailable ¶
type ArchiveSupplySourceServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
ArchiveSupplySourceServiceUnavailable describes a response with status code 503, with default header values.
The temporary overloading or maintenance of the server.
func NewArchiveSupplySourceServiceUnavailable ¶
func NewArchiveSupplySourceServiceUnavailable() *ArchiveSupplySourceServiceUnavailable
NewArchiveSupplySourceServiceUnavailable creates a ArchiveSupplySourceServiceUnavailable with default headers values
func (*ArchiveSupplySourceServiceUnavailable) Error ¶
func (o *ArchiveSupplySourceServiceUnavailable) Error() string
func (*ArchiveSupplySourceServiceUnavailable) GetPayload ¶
func (o *ArchiveSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceServiceUnavailable) IsClientError ¶
func (o *ArchiveSupplySourceServiceUnavailable) IsClientError() bool
IsClientError returns true when this archive supply source service unavailable response has a 4xx status code
func (*ArchiveSupplySourceServiceUnavailable) IsCode ¶
func (o *ArchiveSupplySourceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this archive supply source service unavailable response a status code equal to that given
func (*ArchiveSupplySourceServiceUnavailable) IsRedirect ¶
func (o *ArchiveSupplySourceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this archive supply source service unavailable response has a 3xx status code
func (*ArchiveSupplySourceServiceUnavailable) IsServerError ¶
func (o *ArchiveSupplySourceServiceUnavailable) IsServerError() bool
IsServerError returns true when this archive supply source service unavailable response has a 5xx status code
func (*ArchiveSupplySourceServiceUnavailable) IsSuccess ¶
func (o *ArchiveSupplySourceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this archive supply source service unavailable response has a 2xx status code
func (*ArchiveSupplySourceServiceUnavailable) String ¶
func (o *ArchiveSupplySourceServiceUnavailable) String() string
type ArchiveSupplySourceTooManyRequests ¶
type ArchiveSupplySourceTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewArchiveSupplySourceTooManyRequests ¶
func NewArchiveSupplySourceTooManyRequests() *ArchiveSupplySourceTooManyRequests
NewArchiveSupplySourceTooManyRequests creates a ArchiveSupplySourceTooManyRequests with default headers values
func (*ArchiveSupplySourceTooManyRequests) Error ¶
func (o *ArchiveSupplySourceTooManyRequests) Error() string
func (*ArchiveSupplySourceTooManyRequests) GetPayload ¶
func (o *ArchiveSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceTooManyRequests) IsClientError ¶
func (o *ArchiveSupplySourceTooManyRequests) IsClientError() bool
IsClientError returns true when this archive supply source too many requests response has a 4xx status code
func (*ArchiveSupplySourceTooManyRequests) IsCode ¶
func (o *ArchiveSupplySourceTooManyRequests) IsCode(code int) bool
IsCode returns true when this archive supply source too many requests response a status code equal to that given
func (*ArchiveSupplySourceTooManyRequests) IsRedirect ¶
func (o *ArchiveSupplySourceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this archive supply source too many requests response has a 3xx status code
func (*ArchiveSupplySourceTooManyRequests) IsServerError ¶
func (o *ArchiveSupplySourceTooManyRequests) IsServerError() bool
IsServerError returns true when this archive supply source too many requests response has a 5xx status code
func (*ArchiveSupplySourceTooManyRequests) IsSuccess ¶
func (o *ArchiveSupplySourceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this archive supply source too many requests response has a 2xx status code
func (*ArchiveSupplySourceTooManyRequests) String ¶
func (o *ArchiveSupplySourceTooManyRequests) String() string
type ArchiveSupplySourceUnsupportedMediaType ¶
type ArchiveSupplySourceUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
ArchiveSupplySourceUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewArchiveSupplySourceUnsupportedMediaType ¶
func NewArchiveSupplySourceUnsupportedMediaType() *ArchiveSupplySourceUnsupportedMediaType
NewArchiveSupplySourceUnsupportedMediaType creates a ArchiveSupplySourceUnsupportedMediaType with default headers values
func (*ArchiveSupplySourceUnsupportedMediaType) Error ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) Error() string
func (*ArchiveSupplySourceUnsupportedMediaType) GetPayload ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*ArchiveSupplySourceUnsupportedMediaType) IsClientError ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this archive supply source unsupported media type response has a 4xx status code
func (*ArchiveSupplySourceUnsupportedMediaType) IsCode ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this archive supply source unsupported media type response a status code equal to that given
func (*ArchiveSupplySourceUnsupportedMediaType) IsRedirect ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this archive supply source unsupported media type response has a 3xx status code
func (*ArchiveSupplySourceUnsupportedMediaType) IsServerError ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this archive supply source unsupported media type response has a 5xx status code
func (*ArchiveSupplySourceUnsupportedMediaType) IsSuccess ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this archive supply source unsupported media type response has a 2xx status code
func (*ArchiveSupplySourceUnsupportedMediaType) String ¶
func (o *ArchiveSupplySourceUnsupportedMediaType) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for supply sources API
func (*Client) ArchiveSupplySource ¶
func (a *Client) ArchiveSupplySource(params *ArchiveSupplySourceParams, opts ...ClientOption) (*ArchiveSupplySourceNoContent, error)
ArchiveSupplySource Archive a supply source, making it inactive. Cannot be undone.
func (*Client) CreateSupplySource ¶
func (a *Client) CreateSupplySource(params *CreateSupplySourceParams, opts ...ClientOption) (*CreateSupplySourceOK, error)
CreateSupplySource Create a new supply source.
func (*Client) GetSupplySource ¶
func (a *Client) GetSupplySource(params *GetSupplySourceParams, opts ...ClientOption) (*GetSupplySourceOK, error)
GetSupplySource Retrieve a supply source.
func (*Client) GetSupplySources ¶
func (a *Client) GetSupplySources(params *GetSupplySourcesParams, opts ...ClientOption) (*GetSupplySourcesOK, error)
GetSupplySources The path to retrieve paginated supply sources.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSupplySource ¶
func (a *Client) UpdateSupplySource(params *UpdateSupplySourceParams, opts ...ClientOption) (*UpdateSupplySourceNoContent, error)
UpdateSupplySource Update the configuration and capabilities of a supply source.
func (*Client) UpdateSupplySourceStatus ¶
func (a *Client) UpdateSupplySourceStatus(params *UpdateSupplySourceStatusParams, opts ...ClientOption) (*UpdateSupplySourceStatusNoContent, error)
UpdateSupplySourceStatus Update the status of a supply source.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ArchiveSupplySource(params *ArchiveSupplySourceParams, opts ...ClientOption) (*ArchiveSupplySourceNoContent, error) CreateSupplySource(params *CreateSupplySourceParams, opts ...ClientOption) (*CreateSupplySourceOK, error) GetSupplySource(params *GetSupplySourceParams, opts ...ClientOption) (*GetSupplySourceOK, error) GetSupplySources(params *GetSupplySourcesParams, opts ...ClientOption) (*GetSupplySourcesOK, error) UpdateSupplySource(params *UpdateSupplySourceParams, opts ...ClientOption) (*UpdateSupplySourceNoContent, error) UpdateSupplySourceStatus(params *UpdateSupplySourceStatusParams, opts ...ClientOption) (*UpdateSupplySourceStatusNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new supply sources API client.
type CreateSupplySourceBadRequest ¶
type CreateSupplySourceBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceBadRequest describes a response with status code 400, with default header values.
The request has missing or invalid parameters and cannot be parsed.
func NewCreateSupplySourceBadRequest ¶
func NewCreateSupplySourceBadRequest() *CreateSupplySourceBadRequest
NewCreateSupplySourceBadRequest creates a CreateSupplySourceBadRequest with default headers values
func (*CreateSupplySourceBadRequest) Error ¶
func (o *CreateSupplySourceBadRequest) Error() string
func (*CreateSupplySourceBadRequest) GetPayload ¶
func (o *CreateSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceBadRequest) IsClientError ¶
func (o *CreateSupplySourceBadRequest) IsClientError() bool
IsClientError returns true when this create supply source bad request response has a 4xx status code
func (*CreateSupplySourceBadRequest) IsCode ¶
func (o *CreateSupplySourceBadRequest) IsCode(code int) bool
IsCode returns true when this create supply source bad request response a status code equal to that given
func (*CreateSupplySourceBadRequest) IsRedirect ¶
func (o *CreateSupplySourceBadRequest) IsRedirect() bool
IsRedirect returns true when this create supply source bad request response has a 3xx status code
func (*CreateSupplySourceBadRequest) IsServerError ¶
func (o *CreateSupplySourceBadRequest) IsServerError() bool
IsServerError returns true when this create supply source bad request response has a 5xx status code
func (*CreateSupplySourceBadRequest) IsSuccess ¶
func (o *CreateSupplySourceBadRequest) IsSuccess() bool
IsSuccess returns true when this create supply source bad request response has a 2xx status code
func (*CreateSupplySourceBadRequest) String ¶
func (o *CreateSupplySourceBadRequest) String() string
type CreateSupplySourceForbidden ¶
type CreateSupplySourceForbidden struct { /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceForbidden describes a response with status code 403, with default header values.
An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewCreateSupplySourceForbidden ¶
func NewCreateSupplySourceForbidden() *CreateSupplySourceForbidden
NewCreateSupplySourceForbidden creates a CreateSupplySourceForbidden with default headers values
func (*CreateSupplySourceForbidden) Error ¶
func (o *CreateSupplySourceForbidden) Error() string
func (*CreateSupplySourceForbidden) GetPayload ¶
func (o *CreateSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceForbidden) IsClientError ¶
func (o *CreateSupplySourceForbidden) IsClientError() bool
IsClientError returns true when this create supply source forbidden response has a 4xx status code
func (*CreateSupplySourceForbidden) IsCode ¶
func (o *CreateSupplySourceForbidden) IsCode(code int) bool
IsCode returns true when this create supply source forbidden response a status code equal to that given
func (*CreateSupplySourceForbidden) IsRedirect ¶
func (o *CreateSupplySourceForbidden) IsRedirect() bool
IsRedirect returns true when this create supply source forbidden response has a 3xx status code
func (*CreateSupplySourceForbidden) IsServerError ¶
func (o *CreateSupplySourceForbidden) IsServerError() bool
IsServerError returns true when this create supply source forbidden response has a 5xx status code
func (*CreateSupplySourceForbidden) IsSuccess ¶
func (o *CreateSupplySourceForbidden) IsSuccess() bool
IsSuccess returns true when this create supply source forbidden response has a 2xx status code
func (*CreateSupplySourceForbidden) String ¶
func (o *CreateSupplySourceForbidden) String() string
type CreateSupplySourceInternalServerError ¶
type CreateSupplySourceInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewCreateSupplySourceInternalServerError ¶
func NewCreateSupplySourceInternalServerError() *CreateSupplySourceInternalServerError
NewCreateSupplySourceInternalServerError creates a CreateSupplySourceInternalServerError with default headers values
func (*CreateSupplySourceInternalServerError) Error ¶
func (o *CreateSupplySourceInternalServerError) Error() string
func (*CreateSupplySourceInternalServerError) GetPayload ¶
func (o *CreateSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceInternalServerError) IsClientError ¶
func (o *CreateSupplySourceInternalServerError) IsClientError() bool
IsClientError returns true when this create supply source internal server error response has a 4xx status code
func (*CreateSupplySourceInternalServerError) IsCode ¶
func (o *CreateSupplySourceInternalServerError) IsCode(code int) bool
IsCode returns true when this create supply source internal server error response a status code equal to that given
func (*CreateSupplySourceInternalServerError) IsRedirect ¶
func (o *CreateSupplySourceInternalServerError) IsRedirect() bool
IsRedirect returns true when this create supply source internal server error response has a 3xx status code
func (*CreateSupplySourceInternalServerError) IsServerError ¶
func (o *CreateSupplySourceInternalServerError) IsServerError() bool
IsServerError returns true when this create supply source internal server error response has a 5xx status code
func (*CreateSupplySourceInternalServerError) IsSuccess ¶
func (o *CreateSupplySourceInternalServerError) IsSuccess() bool
IsSuccess returns true when this create supply source internal server error response has a 2xx status code
func (*CreateSupplySourceInternalServerError) String ¶
func (o *CreateSupplySourceInternalServerError) String() string
type CreateSupplySourceNotFound ¶
type CreateSupplySourceNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewCreateSupplySourceNotFound ¶
func NewCreateSupplySourceNotFound() *CreateSupplySourceNotFound
NewCreateSupplySourceNotFound creates a CreateSupplySourceNotFound with default headers values
func (*CreateSupplySourceNotFound) Error ¶
func (o *CreateSupplySourceNotFound) Error() string
func (*CreateSupplySourceNotFound) GetPayload ¶
func (o *CreateSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceNotFound) IsClientError ¶
func (o *CreateSupplySourceNotFound) IsClientError() bool
IsClientError returns true when this create supply source not found response has a 4xx status code
func (*CreateSupplySourceNotFound) IsCode ¶
func (o *CreateSupplySourceNotFound) IsCode(code int) bool
IsCode returns true when this create supply source not found response a status code equal to that given
func (*CreateSupplySourceNotFound) IsRedirect ¶
func (o *CreateSupplySourceNotFound) IsRedirect() bool
IsRedirect returns true when this create supply source not found response has a 3xx status code
func (*CreateSupplySourceNotFound) IsServerError ¶
func (o *CreateSupplySourceNotFound) IsServerError() bool
IsServerError returns true when this create supply source not found response has a 5xx status code
func (*CreateSupplySourceNotFound) IsSuccess ¶
func (o *CreateSupplySourceNotFound) IsSuccess() bool
IsSuccess returns true when this create supply source not found response has a 2xx status code
func (*CreateSupplySourceNotFound) String ¶
func (o *CreateSupplySourceNotFound) String() string
type CreateSupplySourceOK ¶
type CreateSupplySourceOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.CreateSupplySourceResponse }
CreateSupplySourceOK describes a response with status code 200, with default header values.
Success.
func NewCreateSupplySourceOK ¶
func NewCreateSupplySourceOK() *CreateSupplySourceOK
NewCreateSupplySourceOK creates a CreateSupplySourceOK with default headers values
func (*CreateSupplySourceOK) Error ¶
func (o *CreateSupplySourceOK) Error() string
func (*CreateSupplySourceOK) GetPayload ¶
func (o *CreateSupplySourceOK) GetPayload() *supply_sources_2020_07_01_models.CreateSupplySourceResponse
func (*CreateSupplySourceOK) IsClientError ¶
func (o *CreateSupplySourceOK) IsClientError() bool
IsClientError returns true when this create supply source o k response has a 4xx status code
func (*CreateSupplySourceOK) IsCode ¶
func (o *CreateSupplySourceOK) IsCode(code int) bool
IsCode returns true when this create supply source o k response a status code equal to that given
func (*CreateSupplySourceOK) IsRedirect ¶
func (o *CreateSupplySourceOK) IsRedirect() bool
IsRedirect returns true when this create supply source o k response has a 3xx status code
func (*CreateSupplySourceOK) IsServerError ¶
func (o *CreateSupplySourceOK) IsServerError() bool
IsServerError returns true when this create supply source o k response has a 5xx status code
func (*CreateSupplySourceOK) IsSuccess ¶
func (o *CreateSupplySourceOK) IsSuccess() bool
IsSuccess returns true when this create supply source o k response has a 2xx status code
func (*CreateSupplySourceOK) String ¶
func (o *CreateSupplySourceOK) String() string
type CreateSupplySourceParams ¶
type CreateSupplySourceParams struct { /* Payload. A request to create a supply source. */ Payload *supply_sources_2020_07_01_models.CreateSupplySourceRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSupplySourceParams contains all the parameters to send to the API endpoint
for the create supply source operation. Typically these are written to a http.Request.
func NewCreateSupplySourceParams ¶
func NewCreateSupplySourceParams() *CreateSupplySourceParams
NewCreateSupplySourceParams creates a new CreateSupplySourceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateSupplySourceParamsWithContext ¶
func NewCreateSupplySourceParamsWithContext(ctx context.Context) *CreateSupplySourceParams
NewCreateSupplySourceParamsWithContext creates a new CreateSupplySourceParams object with the ability to set a context for a request.
func NewCreateSupplySourceParamsWithHTTPClient ¶
func NewCreateSupplySourceParamsWithHTTPClient(client *http.Client) *CreateSupplySourceParams
NewCreateSupplySourceParamsWithHTTPClient creates a new CreateSupplySourceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateSupplySourceParamsWithTimeout ¶
func NewCreateSupplySourceParamsWithTimeout(timeout time.Duration) *CreateSupplySourceParams
NewCreateSupplySourceParamsWithTimeout creates a new CreateSupplySourceParams object with the ability to set a timeout on a request.
func (*CreateSupplySourceParams) SetContext ¶
func (o *CreateSupplySourceParams) SetContext(ctx context.Context)
SetContext adds the context to the create supply source params
func (*CreateSupplySourceParams) SetDefaults ¶
func (o *CreateSupplySourceParams) SetDefaults()
SetDefaults hydrates default values in the create supply source params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSupplySourceParams) SetHTTPClient ¶
func (o *CreateSupplySourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create supply source params
func (*CreateSupplySourceParams) SetPayload ¶
func (o *CreateSupplySourceParams) SetPayload(payload *supply_sources_2020_07_01_models.CreateSupplySourceRequest)
SetPayload adds the payload to the create supply source params
func (*CreateSupplySourceParams) SetTimeout ¶
func (o *CreateSupplySourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create supply source params
func (*CreateSupplySourceParams) WithContext ¶
func (o *CreateSupplySourceParams) WithContext(ctx context.Context) *CreateSupplySourceParams
WithContext adds the context to the create supply source params
func (*CreateSupplySourceParams) WithDefaults ¶
func (o *CreateSupplySourceParams) WithDefaults() *CreateSupplySourceParams
WithDefaults hydrates default values in the create supply source params (not the query body).
All values with no default are reset to their zero value.
func (*CreateSupplySourceParams) WithHTTPClient ¶
func (o *CreateSupplySourceParams) WithHTTPClient(client *http.Client) *CreateSupplySourceParams
WithHTTPClient adds the HTTPClient to the create supply source params
func (*CreateSupplySourceParams) WithPayload ¶
func (o *CreateSupplySourceParams) WithPayload(payload *supply_sources_2020_07_01_models.CreateSupplySourceRequest) *CreateSupplySourceParams
WithPayload adds the payload to the create supply source params
func (*CreateSupplySourceParams) WithTimeout ¶
func (o *CreateSupplySourceParams) WithTimeout(timeout time.Duration) *CreateSupplySourceParams
WithTimeout adds the timeout to the create supply source params
func (*CreateSupplySourceParams) WriteToRequest ¶
func (o *CreateSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSupplySourceReader ¶
type CreateSupplySourceReader struct {
// contains filtered or unexported fields
}
CreateSupplySourceReader is a Reader for the CreateSupplySource structure.
func (*CreateSupplySourceReader) ReadResponse ¶
func (o *CreateSupplySourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSupplySourceRequestEntityTooLarge ¶
type CreateSupplySourceRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewCreateSupplySourceRequestEntityTooLarge ¶
func NewCreateSupplySourceRequestEntityTooLarge() *CreateSupplySourceRequestEntityTooLarge
NewCreateSupplySourceRequestEntityTooLarge creates a CreateSupplySourceRequestEntityTooLarge with default headers values
func (*CreateSupplySourceRequestEntityTooLarge) Error ¶
func (o *CreateSupplySourceRequestEntityTooLarge) Error() string
func (*CreateSupplySourceRequestEntityTooLarge) GetPayload ¶
func (o *CreateSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceRequestEntityTooLarge) IsClientError ¶
func (o *CreateSupplySourceRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this create supply source request entity too large response has a 4xx status code
func (*CreateSupplySourceRequestEntityTooLarge) IsCode ¶
func (o *CreateSupplySourceRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this create supply source request entity too large response a status code equal to that given
func (*CreateSupplySourceRequestEntityTooLarge) IsRedirect ¶
func (o *CreateSupplySourceRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this create supply source request entity too large response has a 3xx status code
func (*CreateSupplySourceRequestEntityTooLarge) IsServerError ¶
func (o *CreateSupplySourceRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this create supply source request entity too large response has a 5xx status code
func (*CreateSupplySourceRequestEntityTooLarge) IsSuccess ¶
func (o *CreateSupplySourceRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this create supply source request entity too large response has a 2xx status code
func (*CreateSupplySourceRequestEntityTooLarge) String ¶
func (o *CreateSupplySourceRequestEntityTooLarge) String() string
type CreateSupplySourceServiceUnavailable ¶
type CreateSupplySourceServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
CreateSupplySourceServiceUnavailable describes a response with status code 503, with default header values.
The temporary overloading or maintenance of the server.
func NewCreateSupplySourceServiceUnavailable ¶
func NewCreateSupplySourceServiceUnavailable() *CreateSupplySourceServiceUnavailable
NewCreateSupplySourceServiceUnavailable creates a CreateSupplySourceServiceUnavailable with default headers values
func (*CreateSupplySourceServiceUnavailable) Error ¶
func (o *CreateSupplySourceServiceUnavailable) Error() string
func (*CreateSupplySourceServiceUnavailable) GetPayload ¶
func (o *CreateSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceServiceUnavailable) IsClientError ¶
func (o *CreateSupplySourceServiceUnavailable) IsClientError() bool
IsClientError returns true when this create supply source service unavailable response has a 4xx status code
func (*CreateSupplySourceServiceUnavailable) IsCode ¶
func (o *CreateSupplySourceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this create supply source service unavailable response a status code equal to that given
func (*CreateSupplySourceServiceUnavailable) IsRedirect ¶
func (o *CreateSupplySourceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this create supply source service unavailable response has a 3xx status code
func (*CreateSupplySourceServiceUnavailable) IsServerError ¶
func (o *CreateSupplySourceServiceUnavailable) IsServerError() bool
IsServerError returns true when this create supply source service unavailable response has a 5xx status code
func (*CreateSupplySourceServiceUnavailable) IsSuccess ¶
func (o *CreateSupplySourceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this create supply source service unavailable response has a 2xx status code
func (*CreateSupplySourceServiceUnavailable) String ¶
func (o *CreateSupplySourceServiceUnavailable) String() string
type CreateSupplySourceTooManyRequests ¶
type CreateSupplySourceTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewCreateSupplySourceTooManyRequests ¶
func NewCreateSupplySourceTooManyRequests() *CreateSupplySourceTooManyRequests
NewCreateSupplySourceTooManyRequests creates a CreateSupplySourceTooManyRequests with default headers values
func (*CreateSupplySourceTooManyRequests) Error ¶
func (o *CreateSupplySourceTooManyRequests) Error() string
func (*CreateSupplySourceTooManyRequests) GetPayload ¶
func (o *CreateSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceTooManyRequests) IsClientError ¶
func (o *CreateSupplySourceTooManyRequests) IsClientError() bool
IsClientError returns true when this create supply source too many requests response has a 4xx status code
func (*CreateSupplySourceTooManyRequests) IsCode ¶
func (o *CreateSupplySourceTooManyRequests) IsCode(code int) bool
IsCode returns true when this create supply source too many requests response a status code equal to that given
func (*CreateSupplySourceTooManyRequests) IsRedirect ¶
func (o *CreateSupplySourceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create supply source too many requests response has a 3xx status code
func (*CreateSupplySourceTooManyRequests) IsServerError ¶
func (o *CreateSupplySourceTooManyRequests) IsServerError() bool
IsServerError returns true when this create supply source too many requests response has a 5xx status code
func (*CreateSupplySourceTooManyRequests) IsSuccess ¶
func (o *CreateSupplySourceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create supply source too many requests response has a 2xx status code
func (*CreateSupplySourceTooManyRequests) String ¶
func (o *CreateSupplySourceTooManyRequests) String() string
type CreateSupplySourceUnsupportedMediaType ¶
type CreateSupplySourceUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
CreateSupplySourceUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewCreateSupplySourceUnsupportedMediaType ¶
func NewCreateSupplySourceUnsupportedMediaType() *CreateSupplySourceUnsupportedMediaType
NewCreateSupplySourceUnsupportedMediaType creates a CreateSupplySourceUnsupportedMediaType with default headers values
func (*CreateSupplySourceUnsupportedMediaType) Error ¶
func (o *CreateSupplySourceUnsupportedMediaType) Error() string
func (*CreateSupplySourceUnsupportedMediaType) GetPayload ¶
func (o *CreateSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*CreateSupplySourceUnsupportedMediaType) IsClientError ¶
func (o *CreateSupplySourceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this create supply source unsupported media type response has a 4xx status code
func (*CreateSupplySourceUnsupportedMediaType) IsCode ¶
func (o *CreateSupplySourceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this create supply source unsupported media type response a status code equal to that given
func (*CreateSupplySourceUnsupportedMediaType) IsRedirect ¶
func (o *CreateSupplySourceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this create supply source unsupported media type response has a 3xx status code
func (*CreateSupplySourceUnsupportedMediaType) IsServerError ¶
func (o *CreateSupplySourceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this create supply source unsupported media type response has a 5xx status code
func (*CreateSupplySourceUnsupportedMediaType) IsSuccess ¶
func (o *CreateSupplySourceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this create supply source unsupported media type response has a 2xx status code
func (*CreateSupplySourceUnsupportedMediaType) String ¶
func (o *CreateSupplySourceUnsupportedMediaType) String() string
type GetSupplySourceBadRequest ¶
type GetSupplySourceBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceBadRequest describes a response with status code 400, with default header values.
The request has missing or invalid parameters and cannot be parsed.
func NewGetSupplySourceBadRequest ¶
func NewGetSupplySourceBadRequest() *GetSupplySourceBadRequest
NewGetSupplySourceBadRequest creates a GetSupplySourceBadRequest with default headers values
func (*GetSupplySourceBadRequest) Error ¶
func (o *GetSupplySourceBadRequest) Error() string
func (*GetSupplySourceBadRequest) GetPayload ¶
func (o *GetSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceBadRequest) IsClientError ¶
func (o *GetSupplySourceBadRequest) IsClientError() bool
IsClientError returns true when this get supply source bad request response has a 4xx status code
func (*GetSupplySourceBadRequest) IsCode ¶
func (o *GetSupplySourceBadRequest) IsCode(code int) bool
IsCode returns true when this get supply source bad request response a status code equal to that given
func (*GetSupplySourceBadRequest) IsRedirect ¶
func (o *GetSupplySourceBadRequest) IsRedirect() bool
IsRedirect returns true when this get supply source bad request response has a 3xx status code
func (*GetSupplySourceBadRequest) IsServerError ¶
func (o *GetSupplySourceBadRequest) IsServerError() bool
IsServerError returns true when this get supply source bad request response has a 5xx status code
func (*GetSupplySourceBadRequest) IsSuccess ¶
func (o *GetSupplySourceBadRequest) IsSuccess() bool
IsSuccess returns true when this get supply source bad request response has a 2xx status code
func (*GetSupplySourceBadRequest) String ¶
func (o *GetSupplySourceBadRequest) String() string
type GetSupplySourceForbidden ¶
type GetSupplySourceForbidden struct { /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceForbidden describes a response with status code 403, with default header values.
An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetSupplySourceForbidden ¶
func NewGetSupplySourceForbidden() *GetSupplySourceForbidden
NewGetSupplySourceForbidden creates a GetSupplySourceForbidden with default headers values
func (*GetSupplySourceForbidden) Error ¶
func (o *GetSupplySourceForbidden) Error() string
func (*GetSupplySourceForbidden) GetPayload ¶
func (o *GetSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceForbidden) IsClientError ¶
func (o *GetSupplySourceForbidden) IsClientError() bool
IsClientError returns true when this get supply source forbidden response has a 4xx status code
func (*GetSupplySourceForbidden) IsCode ¶
func (o *GetSupplySourceForbidden) IsCode(code int) bool
IsCode returns true when this get supply source forbidden response a status code equal to that given
func (*GetSupplySourceForbidden) IsRedirect ¶
func (o *GetSupplySourceForbidden) IsRedirect() bool
IsRedirect returns true when this get supply source forbidden response has a 3xx status code
func (*GetSupplySourceForbidden) IsServerError ¶
func (o *GetSupplySourceForbidden) IsServerError() bool
IsServerError returns true when this get supply source forbidden response has a 5xx status code
func (*GetSupplySourceForbidden) IsSuccess ¶
func (o *GetSupplySourceForbidden) IsSuccess() bool
IsSuccess returns true when this get supply source forbidden response has a 2xx status code
func (*GetSupplySourceForbidden) String ¶
func (o *GetSupplySourceForbidden) String() string
type GetSupplySourceInternalServerError ¶
type GetSupplySourceInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetSupplySourceInternalServerError ¶
func NewGetSupplySourceInternalServerError() *GetSupplySourceInternalServerError
NewGetSupplySourceInternalServerError creates a GetSupplySourceInternalServerError with default headers values
func (*GetSupplySourceInternalServerError) Error ¶
func (o *GetSupplySourceInternalServerError) Error() string
func (*GetSupplySourceInternalServerError) GetPayload ¶
func (o *GetSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceInternalServerError) IsClientError ¶
func (o *GetSupplySourceInternalServerError) IsClientError() bool
IsClientError returns true when this get supply source internal server error response has a 4xx status code
func (*GetSupplySourceInternalServerError) IsCode ¶
func (o *GetSupplySourceInternalServerError) IsCode(code int) bool
IsCode returns true when this get supply source internal server error response a status code equal to that given
func (*GetSupplySourceInternalServerError) IsRedirect ¶
func (o *GetSupplySourceInternalServerError) IsRedirect() bool
IsRedirect returns true when this get supply source internal server error response has a 3xx status code
func (*GetSupplySourceInternalServerError) IsServerError ¶
func (o *GetSupplySourceInternalServerError) IsServerError() bool
IsServerError returns true when this get supply source internal server error response has a 5xx status code
func (*GetSupplySourceInternalServerError) IsSuccess ¶
func (o *GetSupplySourceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get supply source internal server error response has a 2xx status code
func (*GetSupplySourceInternalServerError) String ¶
func (o *GetSupplySourceInternalServerError) String() string
type GetSupplySourceNotFound ¶
type GetSupplySourceNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetSupplySourceNotFound ¶
func NewGetSupplySourceNotFound() *GetSupplySourceNotFound
NewGetSupplySourceNotFound creates a GetSupplySourceNotFound with default headers values
func (*GetSupplySourceNotFound) Error ¶
func (o *GetSupplySourceNotFound) Error() string
func (*GetSupplySourceNotFound) GetPayload ¶
func (o *GetSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceNotFound) IsClientError ¶
func (o *GetSupplySourceNotFound) IsClientError() bool
IsClientError returns true when this get supply source not found response has a 4xx status code
func (*GetSupplySourceNotFound) IsCode ¶
func (o *GetSupplySourceNotFound) IsCode(code int) bool
IsCode returns true when this get supply source not found response a status code equal to that given
func (*GetSupplySourceNotFound) IsRedirect ¶
func (o *GetSupplySourceNotFound) IsRedirect() bool
IsRedirect returns true when this get supply source not found response has a 3xx status code
func (*GetSupplySourceNotFound) IsServerError ¶
func (o *GetSupplySourceNotFound) IsServerError() bool
IsServerError returns true when this get supply source not found response has a 5xx status code
func (*GetSupplySourceNotFound) IsSuccess ¶
func (o *GetSupplySourceNotFound) IsSuccess() bool
IsSuccess returns true when this get supply source not found response has a 2xx status code
func (*GetSupplySourceNotFound) String ¶
func (o *GetSupplySourceNotFound) String() string
type GetSupplySourceOK ¶
type GetSupplySourceOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.SupplySource }
GetSupplySourceOK describes a response with status code 200, with default header values.
Success.
func NewGetSupplySourceOK ¶
func NewGetSupplySourceOK() *GetSupplySourceOK
NewGetSupplySourceOK creates a GetSupplySourceOK with default headers values
func (*GetSupplySourceOK) Error ¶
func (o *GetSupplySourceOK) Error() string
func (*GetSupplySourceOK) GetPayload ¶
func (o *GetSupplySourceOK) GetPayload() *supply_sources_2020_07_01_models.SupplySource
func (*GetSupplySourceOK) IsClientError ¶
func (o *GetSupplySourceOK) IsClientError() bool
IsClientError returns true when this get supply source o k response has a 4xx status code
func (*GetSupplySourceOK) IsCode ¶
func (o *GetSupplySourceOK) IsCode(code int) bool
IsCode returns true when this get supply source o k response a status code equal to that given
func (*GetSupplySourceOK) IsRedirect ¶
func (o *GetSupplySourceOK) IsRedirect() bool
IsRedirect returns true when this get supply source o k response has a 3xx status code
func (*GetSupplySourceOK) IsServerError ¶
func (o *GetSupplySourceOK) IsServerError() bool
IsServerError returns true when this get supply source o k response has a 5xx status code
func (*GetSupplySourceOK) IsSuccess ¶
func (o *GetSupplySourceOK) IsSuccess() bool
IsSuccess returns true when this get supply source o k response has a 2xx status code
func (*GetSupplySourceOK) String ¶
func (o *GetSupplySourceOK) String() string
type GetSupplySourceParams ¶
type GetSupplySourceParams struct { /* SupplySourceID. The unique identifier of a supply source. */ SupplySourceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSupplySourceParams contains all the parameters to send to the API endpoint
for the get supply source operation. Typically these are written to a http.Request.
func NewGetSupplySourceParams ¶
func NewGetSupplySourceParams() *GetSupplySourceParams
NewGetSupplySourceParams creates a new GetSupplySourceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSupplySourceParamsWithContext ¶
func NewGetSupplySourceParamsWithContext(ctx context.Context) *GetSupplySourceParams
NewGetSupplySourceParamsWithContext creates a new GetSupplySourceParams object with the ability to set a context for a request.
func NewGetSupplySourceParamsWithHTTPClient ¶
func NewGetSupplySourceParamsWithHTTPClient(client *http.Client) *GetSupplySourceParams
NewGetSupplySourceParamsWithHTTPClient creates a new GetSupplySourceParams object with the ability to set a custom HTTPClient for a request.
func NewGetSupplySourceParamsWithTimeout ¶
func NewGetSupplySourceParamsWithTimeout(timeout time.Duration) *GetSupplySourceParams
NewGetSupplySourceParamsWithTimeout creates a new GetSupplySourceParams object with the ability to set a timeout on a request.
func (*GetSupplySourceParams) SetContext ¶
func (o *GetSupplySourceParams) SetContext(ctx context.Context)
SetContext adds the context to the get supply source params
func (*GetSupplySourceParams) SetDefaults ¶
func (o *GetSupplySourceParams) SetDefaults()
SetDefaults hydrates default values in the get supply source params (not the query body).
All values with no default are reset to their zero value.
func (*GetSupplySourceParams) SetHTTPClient ¶
func (o *GetSupplySourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get supply source params
func (*GetSupplySourceParams) SetSupplySourceID ¶
func (o *GetSupplySourceParams) SetSupplySourceID(supplySourceID string)
SetSupplySourceID adds the supplySourceId to the get supply source params
func (*GetSupplySourceParams) SetTimeout ¶
func (o *GetSupplySourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get supply source params
func (*GetSupplySourceParams) WithContext ¶
func (o *GetSupplySourceParams) WithContext(ctx context.Context) *GetSupplySourceParams
WithContext adds the context to the get supply source params
func (*GetSupplySourceParams) WithDefaults ¶
func (o *GetSupplySourceParams) WithDefaults() *GetSupplySourceParams
WithDefaults hydrates default values in the get supply source params (not the query body).
All values with no default are reset to their zero value.
func (*GetSupplySourceParams) WithHTTPClient ¶
func (o *GetSupplySourceParams) WithHTTPClient(client *http.Client) *GetSupplySourceParams
WithHTTPClient adds the HTTPClient to the get supply source params
func (*GetSupplySourceParams) WithSupplySourceID ¶
func (o *GetSupplySourceParams) WithSupplySourceID(supplySourceID string) *GetSupplySourceParams
WithSupplySourceID adds the supplySourceID to the get supply source params
func (*GetSupplySourceParams) WithTimeout ¶
func (o *GetSupplySourceParams) WithTimeout(timeout time.Duration) *GetSupplySourceParams
WithTimeout adds the timeout to the get supply source params
func (*GetSupplySourceParams) WriteToRequest ¶
func (o *GetSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSupplySourceReader ¶
type GetSupplySourceReader struct {
// contains filtered or unexported fields
}
GetSupplySourceReader is a Reader for the GetSupplySource structure.
func (*GetSupplySourceReader) ReadResponse ¶
func (o *GetSupplySourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSupplySourceRequestEntityTooLarge ¶
type GetSupplySourceRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetSupplySourceRequestEntityTooLarge ¶
func NewGetSupplySourceRequestEntityTooLarge() *GetSupplySourceRequestEntityTooLarge
NewGetSupplySourceRequestEntityTooLarge creates a GetSupplySourceRequestEntityTooLarge with default headers values
func (*GetSupplySourceRequestEntityTooLarge) Error ¶
func (o *GetSupplySourceRequestEntityTooLarge) Error() string
func (*GetSupplySourceRequestEntityTooLarge) GetPayload ¶
func (o *GetSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceRequestEntityTooLarge) IsClientError ¶
func (o *GetSupplySourceRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get supply source request entity too large response has a 4xx status code
func (*GetSupplySourceRequestEntityTooLarge) IsCode ¶
func (o *GetSupplySourceRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get supply source request entity too large response a status code equal to that given
func (*GetSupplySourceRequestEntityTooLarge) IsRedirect ¶
func (o *GetSupplySourceRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get supply source request entity too large response has a 3xx status code
func (*GetSupplySourceRequestEntityTooLarge) IsServerError ¶
func (o *GetSupplySourceRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get supply source request entity too large response has a 5xx status code
func (*GetSupplySourceRequestEntityTooLarge) IsSuccess ¶
func (o *GetSupplySourceRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get supply source request entity too large response has a 2xx status code
func (*GetSupplySourceRequestEntityTooLarge) String ¶
func (o *GetSupplySourceRequestEntityTooLarge) String() string
type GetSupplySourceServiceUnavailable ¶
GetSupplySourceServiceUnavailable describes a response with status code 503, with default header values.
The temporary overloading or maintenance of the server.
func NewGetSupplySourceServiceUnavailable ¶
func NewGetSupplySourceServiceUnavailable() *GetSupplySourceServiceUnavailable
NewGetSupplySourceServiceUnavailable creates a GetSupplySourceServiceUnavailable with default headers values
func (*GetSupplySourceServiceUnavailable) Error ¶
func (o *GetSupplySourceServiceUnavailable) Error() string
func (*GetSupplySourceServiceUnavailable) GetPayload ¶
func (o *GetSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceServiceUnavailable) IsClientError ¶
func (o *GetSupplySourceServiceUnavailable) IsClientError() bool
IsClientError returns true when this get supply source service unavailable response has a 4xx status code
func (*GetSupplySourceServiceUnavailable) IsCode ¶
func (o *GetSupplySourceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get supply source service unavailable response a status code equal to that given
func (*GetSupplySourceServiceUnavailable) IsRedirect ¶
func (o *GetSupplySourceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get supply source service unavailable response has a 3xx status code
func (*GetSupplySourceServiceUnavailable) IsServerError ¶
func (o *GetSupplySourceServiceUnavailable) IsServerError() bool
IsServerError returns true when this get supply source service unavailable response has a 5xx status code
func (*GetSupplySourceServiceUnavailable) IsSuccess ¶
func (o *GetSupplySourceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get supply source service unavailable response has a 2xx status code
func (*GetSupplySourceServiceUnavailable) String ¶
func (o *GetSupplySourceServiceUnavailable) String() string
type GetSupplySourceTooManyRequests ¶
type GetSupplySourceTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetSupplySourceTooManyRequests ¶
func NewGetSupplySourceTooManyRequests() *GetSupplySourceTooManyRequests
NewGetSupplySourceTooManyRequests creates a GetSupplySourceTooManyRequests with default headers values
func (*GetSupplySourceTooManyRequests) Error ¶
func (o *GetSupplySourceTooManyRequests) Error() string
func (*GetSupplySourceTooManyRequests) GetPayload ¶
func (o *GetSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceTooManyRequests) IsClientError ¶
func (o *GetSupplySourceTooManyRequests) IsClientError() bool
IsClientError returns true when this get supply source too many requests response has a 4xx status code
func (*GetSupplySourceTooManyRequests) IsCode ¶
func (o *GetSupplySourceTooManyRequests) IsCode(code int) bool
IsCode returns true when this get supply source too many requests response a status code equal to that given
func (*GetSupplySourceTooManyRequests) IsRedirect ¶
func (o *GetSupplySourceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get supply source too many requests response has a 3xx status code
func (*GetSupplySourceTooManyRequests) IsServerError ¶
func (o *GetSupplySourceTooManyRequests) IsServerError() bool
IsServerError returns true when this get supply source too many requests response has a 5xx status code
func (*GetSupplySourceTooManyRequests) IsSuccess ¶
func (o *GetSupplySourceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get supply source too many requests response has a 2xx status code
func (*GetSupplySourceTooManyRequests) String ¶
func (o *GetSupplySourceTooManyRequests) String() string
type GetSupplySourceUnsupportedMediaType ¶
type GetSupplySourceUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourceUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetSupplySourceUnsupportedMediaType ¶
func NewGetSupplySourceUnsupportedMediaType() *GetSupplySourceUnsupportedMediaType
NewGetSupplySourceUnsupportedMediaType creates a GetSupplySourceUnsupportedMediaType with default headers values
func (*GetSupplySourceUnsupportedMediaType) Error ¶
func (o *GetSupplySourceUnsupportedMediaType) Error() string
func (*GetSupplySourceUnsupportedMediaType) GetPayload ¶
func (o *GetSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourceUnsupportedMediaType) IsClientError ¶
func (o *GetSupplySourceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get supply source unsupported media type response has a 4xx status code
func (*GetSupplySourceUnsupportedMediaType) IsCode ¶
func (o *GetSupplySourceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get supply source unsupported media type response a status code equal to that given
func (*GetSupplySourceUnsupportedMediaType) IsRedirect ¶
func (o *GetSupplySourceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get supply source unsupported media type response has a 3xx status code
func (*GetSupplySourceUnsupportedMediaType) IsServerError ¶
func (o *GetSupplySourceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get supply source unsupported media type response has a 5xx status code
func (*GetSupplySourceUnsupportedMediaType) IsSuccess ¶
func (o *GetSupplySourceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get supply source unsupported media type response has a 2xx status code
func (*GetSupplySourceUnsupportedMediaType) String ¶
func (o *GetSupplySourceUnsupportedMediaType) String() string
type GetSupplySourcesBadRequest ¶
type GetSupplySourcesBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesBadRequest describes a response with status code 400, with default header values.
The request has missing or invalid parameters and cannot be parsed.
func NewGetSupplySourcesBadRequest ¶
func NewGetSupplySourcesBadRequest() *GetSupplySourcesBadRequest
NewGetSupplySourcesBadRequest creates a GetSupplySourcesBadRequest with default headers values
func (*GetSupplySourcesBadRequest) Error ¶
func (o *GetSupplySourcesBadRequest) Error() string
func (*GetSupplySourcesBadRequest) GetPayload ¶
func (o *GetSupplySourcesBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesBadRequest) IsClientError ¶
func (o *GetSupplySourcesBadRequest) IsClientError() bool
IsClientError returns true when this get supply sources bad request response has a 4xx status code
func (*GetSupplySourcesBadRequest) IsCode ¶
func (o *GetSupplySourcesBadRequest) IsCode(code int) bool
IsCode returns true when this get supply sources bad request response a status code equal to that given
func (*GetSupplySourcesBadRequest) IsRedirect ¶
func (o *GetSupplySourcesBadRequest) IsRedirect() bool
IsRedirect returns true when this get supply sources bad request response has a 3xx status code
func (*GetSupplySourcesBadRequest) IsServerError ¶
func (o *GetSupplySourcesBadRequest) IsServerError() bool
IsServerError returns true when this get supply sources bad request response has a 5xx status code
func (*GetSupplySourcesBadRequest) IsSuccess ¶
func (o *GetSupplySourcesBadRequest) IsSuccess() bool
IsSuccess returns true when this get supply sources bad request response has a 2xx status code
func (*GetSupplySourcesBadRequest) String ¶
func (o *GetSupplySourcesBadRequest) String() string
type GetSupplySourcesForbidden ¶
type GetSupplySourcesForbidden struct { /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesForbidden describes a response with status code 403, with default header values.
An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetSupplySourcesForbidden ¶
func NewGetSupplySourcesForbidden() *GetSupplySourcesForbidden
NewGetSupplySourcesForbidden creates a GetSupplySourcesForbidden with default headers values
func (*GetSupplySourcesForbidden) Error ¶
func (o *GetSupplySourcesForbidden) Error() string
func (*GetSupplySourcesForbidden) GetPayload ¶
func (o *GetSupplySourcesForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesForbidden) IsClientError ¶
func (o *GetSupplySourcesForbidden) IsClientError() bool
IsClientError returns true when this get supply sources forbidden response has a 4xx status code
func (*GetSupplySourcesForbidden) IsCode ¶
func (o *GetSupplySourcesForbidden) IsCode(code int) bool
IsCode returns true when this get supply sources forbidden response a status code equal to that given
func (*GetSupplySourcesForbidden) IsRedirect ¶
func (o *GetSupplySourcesForbidden) IsRedirect() bool
IsRedirect returns true when this get supply sources forbidden response has a 3xx status code
func (*GetSupplySourcesForbidden) IsServerError ¶
func (o *GetSupplySourcesForbidden) IsServerError() bool
IsServerError returns true when this get supply sources forbidden response has a 5xx status code
func (*GetSupplySourcesForbidden) IsSuccess ¶
func (o *GetSupplySourcesForbidden) IsSuccess() bool
IsSuccess returns true when this get supply sources forbidden response has a 2xx status code
func (*GetSupplySourcesForbidden) String ¶
func (o *GetSupplySourcesForbidden) String() string
type GetSupplySourcesInternalServerError ¶
type GetSupplySourcesInternalServerError struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetSupplySourcesInternalServerError ¶
func NewGetSupplySourcesInternalServerError() *GetSupplySourcesInternalServerError
NewGetSupplySourcesInternalServerError creates a GetSupplySourcesInternalServerError with default headers values
func (*GetSupplySourcesInternalServerError) Error ¶
func (o *GetSupplySourcesInternalServerError) Error() string
func (*GetSupplySourcesInternalServerError) GetPayload ¶
func (o *GetSupplySourcesInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesInternalServerError) IsClientError ¶
func (o *GetSupplySourcesInternalServerError) IsClientError() bool
IsClientError returns true when this get supply sources internal server error response has a 4xx status code
func (*GetSupplySourcesInternalServerError) IsCode ¶
func (o *GetSupplySourcesInternalServerError) IsCode(code int) bool
IsCode returns true when this get supply sources internal server error response a status code equal to that given
func (*GetSupplySourcesInternalServerError) IsRedirect ¶
func (o *GetSupplySourcesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get supply sources internal server error response has a 3xx status code
func (*GetSupplySourcesInternalServerError) IsServerError ¶
func (o *GetSupplySourcesInternalServerError) IsServerError() bool
IsServerError returns true when this get supply sources internal server error response has a 5xx status code
func (*GetSupplySourcesInternalServerError) IsSuccess ¶
func (o *GetSupplySourcesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get supply sources internal server error response has a 2xx status code
func (*GetSupplySourcesInternalServerError) String ¶
func (o *GetSupplySourcesInternalServerError) String() string
type GetSupplySourcesNotFound ¶
type GetSupplySourcesNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetSupplySourcesNotFound ¶
func NewGetSupplySourcesNotFound() *GetSupplySourcesNotFound
NewGetSupplySourcesNotFound creates a GetSupplySourcesNotFound with default headers values
func (*GetSupplySourcesNotFound) Error ¶
func (o *GetSupplySourcesNotFound) Error() string
func (*GetSupplySourcesNotFound) GetPayload ¶
func (o *GetSupplySourcesNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesNotFound) IsClientError ¶
func (o *GetSupplySourcesNotFound) IsClientError() bool
IsClientError returns true when this get supply sources not found response has a 4xx status code
func (*GetSupplySourcesNotFound) IsCode ¶
func (o *GetSupplySourcesNotFound) IsCode(code int) bool
IsCode returns true when this get supply sources not found response a status code equal to that given
func (*GetSupplySourcesNotFound) IsRedirect ¶
func (o *GetSupplySourcesNotFound) IsRedirect() bool
IsRedirect returns true when this get supply sources not found response has a 3xx status code
func (*GetSupplySourcesNotFound) IsServerError ¶
func (o *GetSupplySourcesNotFound) IsServerError() bool
IsServerError returns true when this get supply sources not found response has a 5xx status code
func (*GetSupplySourcesNotFound) IsSuccess ¶
func (o *GetSupplySourcesNotFound) IsSuccess() bool
IsSuccess returns true when this get supply sources not found response has a 2xx status code
func (*GetSupplySourcesNotFound) String ¶
func (o *GetSupplySourcesNotFound) String() string
type GetSupplySourcesOK ¶
type GetSupplySourcesOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.GetSupplySourcesResponse }
GetSupplySourcesOK describes a response with status code 200, with default header values.
Success.
func NewGetSupplySourcesOK ¶
func NewGetSupplySourcesOK() *GetSupplySourcesOK
NewGetSupplySourcesOK creates a GetSupplySourcesOK with default headers values
func (*GetSupplySourcesOK) Error ¶
func (o *GetSupplySourcesOK) Error() string
func (*GetSupplySourcesOK) GetPayload ¶
func (o *GetSupplySourcesOK) GetPayload() *supply_sources_2020_07_01_models.GetSupplySourcesResponse
func (*GetSupplySourcesOK) IsClientError ¶
func (o *GetSupplySourcesOK) IsClientError() bool
IsClientError returns true when this get supply sources o k response has a 4xx status code
func (*GetSupplySourcesOK) IsCode ¶
func (o *GetSupplySourcesOK) IsCode(code int) bool
IsCode returns true when this get supply sources o k response a status code equal to that given
func (*GetSupplySourcesOK) IsRedirect ¶
func (o *GetSupplySourcesOK) IsRedirect() bool
IsRedirect returns true when this get supply sources o k response has a 3xx status code
func (*GetSupplySourcesOK) IsServerError ¶
func (o *GetSupplySourcesOK) IsServerError() bool
IsServerError returns true when this get supply sources o k response has a 5xx status code
func (*GetSupplySourcesOK) IsSuccess ¶
func (o *GetSupplySourcesOK) IsSuccess() bool
IsSuccess returns true when this get supply sources o k response has a 2xx status code
func (*GetSupplySourcesOK) String ¶
func (o *GetSupplySourcesOK) String() string
type GetSupplySourcesParams ¶
type GetSupplySourcesParams struct { /* NextPageToken. The pagination token to retrieve a specific page of results. */ NextPageToken *string /* PageSize. The number of supply sources to return per paginated request. Default: 10 */ PageSize *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSupplySourcesParams contains all the parameters to send to the API endpoint
for the get supply sources operation. Typically these are written to a http.Request.
func NewGetSupplySourcesParams ¶
func NewGetSupplySourcesParams() *GetSupplySourcesParams
NewGetSupplySourcesParams creates a new GetSupplySourcesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetSupplySourcesParamsWithContext ¶
func NewGetSupplySourcesParamsWithContext(ctx context.Context) *GetSupplySourcesParams
NewGetSupplySourcesParamsWithContext creates a new GetSupplySourcesParams object with the ability to set a context for a request.
func NewGetSupplySourcesParamsWithHTTPClient ¶
func NewGetSupplySourcesParamsWithHTTPClient(client *http.Client) *GetSupplySourcesParams
NewGetSupplySourcesParamsWithHTTPClient creates a new GetSupplySourcesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSupplySourcesParamsWithTimeout ¶
func NewGetSupplySourcesParamsWithTimeout(timeout time.Duration) *GetSupplySourcesParams
NewGetSupplySourcesParamsWithTimeout creates a new GetSupplySourcesParams object with the ability to set a timeout on a request.
func (*GetSupplySourcesParams) SetContext ¶
func (o *GetSupplySourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get supply sources params
func (*GetSupplySourcesParams) SetDefaults ¶
func (o *GetSupplySourcesParams) SetDefaults()
SetDefaults hydrates default values in the get supply sources params (not the query body).
All values with no default are reset to their zero value.
func (*GetSupplySourcesParams) SetHTTPClient ¶
func (o *GetSupplySourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get supply sources params
func (*GetSupplySourcesParams) SetNextPageToken ¶
func (o *GetSupplySourcesParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the get supply sources params
func (*GetSupplySourcesParams) SetPageSize ¶
func (o *GetSupplySourcesParams) SetPageSize(pageSize *float64)
SetPageSize adds the pageSize to the get supply sources params
func (*GetSupplySourcesParams) SetTimeout ¶
func (o *GetSupplySourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get supply sources params
func (*GetSupplySourcesParams) WithContext ¶
func (o *GetSupplySourcesParams) WithContext(ctx context.Context) *GetSupplySourcesParams
WithContext adds the context to the get supply sources params
func (*GetSupplySourcesParams) WithDefaults ¶
func (o *GetSupplySourcesParams) WithDefaults() *GetSupplySourcesParams
WithDefaults hydrates default values in the get supply sources params (not the query body).
All values with no default are reset to their zero value.
func (*GetSupplySourcesParams) WithHTTPClient ¶
func (o *GetSupplySourcesParams) WithHTTPClient(client *http.Client) *GetSupplySourcesParams
WithHTTPClient adds the HTTPClient to the get supply sources params
func (*GetSupplySourcesParams) WithNextPageToken ¶
func (o *GetSupplySourcesParams) WithNextPageToken(nextPageToken *string) *GetSupplySourcesParams
WithNextPageToken adds the nextPageToken to the get supply sources params
func (*GetSupplySourcesParams) WithPageSize ¶
func (o *GetSupplySourcesParams) WithPageSize(pageSize *float64) *GetSupplySourcesParams
WithPageSize adds the pageSize to the get supply sources params
func (*GetSupplySourcesParams) WithTimeout ¶
func (o *GetSupplySourcesParams) WithTimeout(timeout time.Duration) *GetSupplySourcesParams
WithTimeout adds the timeout to the get supply sources params
func (*GetSupplySourcesParams) WriteToRequest ¶
func (o *GetSupplySourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSupplySourcesReader ¶
type GetSupplySourcesReader struct {
// contains filtered or unexported fields
}
GetSupplySourcesReader is a Reader for the GetSupplySources structure.
func (*GetSupplySourcesReader) ReadResponse ¶
func (o *GetSupplySourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSupplySourcesRequestEntityTooLarge ¶
type GetSupplySourcesRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewGetSupplySourcesRequestEntityTooLarge ¶
func NewGetSupplySourcesRequestEntityTooLarge() *GetSupplySourcesRequestEntityTooLarge
NewGetSupplySourcesRequestEntityTooLarge creates a GetSupplySourcesRequestEntityTooLarge with default headers values
func (*GetSupplySourcesRequestEntityTooLarge) Error ¶
func (o *GetSupplySourcesRequestEntityTooLarge) Error() string
func (*GetSupplySourcesRequestEntityTooLarge) GetPayload ¶
func (o *GetSupplySourcesRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesRequestEntityTooLarge) IsClientError ¶
func (o *GetSupplySourcesRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get supply sources request entity too large response has a 4xx status code
func (*GetSupplySourcesRequestEntityTooLarge) IsCode ¶
func (o *GetSupplySourcesRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get supply sources request entity too large response a status code equal to that given
func (*GetSupplySourcesRequestEntityTooLarge) IsRedirect ¶
func (o *GetSupplySourcesRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get supply sources request entity too large response has a 3xx status code
func (*GetSupplySourcesRequestEntityTooLarge) IsServerError ¶
func (o *GetSupplySourcesRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get supply sources request entity too large response has a 5xx status code
func (*GetSupplySourcesRequestEntityTooLarge) IsSuccess ¶
func (o *GetSupplySourcesRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get supply sources request entity too large response has a 2xx status code
func (*GetSupplySourcesRequestEntityTooLarge) String ¶
func (o *GetSupplySourcesRequestEntityTooLarge) String() string
type GetSupplySourcesServiceUnavailable ¶
GetSupplySourcesServiceUnavailable describes a response with status code 503, with default header values.
The temporary overloading or maintenance of the server.
func NewGetSupplySourcesServiceUnavailable ¶
func NewGetSupplySourcesServiceUnavailable() *GetSupplySourcesServiceUnavailable
NewGetSupplySourcesServiceUnavailable creates a GetSupplySourcesServiceUnavailable with default headers values
func (*GetSupplySourcesServiceUnavailable) Error ¶
func (o *GetSupplySourcesServiceUnavailable) Error() string
func (*GetSupplySourcesServiceUnavailable) GetPayload ¶
func (o *GetSupplySourcesServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesServiceUnavailable) IsClientError ¶
func (o *GetSupplySourcesServiceUnavailable) IsClientError() bool
IsClientError returns true when this get supply sources service unavailable response has a 4xx status code
func (*GetSupplySourcesServiceUnavailable) IsCode ¶
func (o *GetSupplySourcesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get supply sources service unavailable response a status code equal to that given
func (*GetSupplySourcesServiceUnavailable) IsRedirect ¶
func (o *GetSupplySourcesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get supply sources service unavailable response has a 3xx status code
func (*GetSupplySourcesServiceUnavailable) IsServerError ¶
func (o *GetSupplySourcesServiceUnavailable) IsServerError() bool
IsServerError returns true when this get supply sources service unavailable response has a 5xx status code
func (*GetSupplySourcesServiceUnavailable) IsSuccess ¶
func (o *GetSupplySourcesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get supply sources service unavailable response has a 2xx status code
func (*GetSupplySourcesServiceUnavailable) String ¶
func (o *GetSupplySourcesServiceUnavailable) String() string
type GetSupplySourcesTooManyRequests ¶
type GetSupplySourcesTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetSupplySourcesTooManyRequests ¶
func NewGetSupplySourcesTooManyRequests() *GetSupplySourcesTooManyRequests
NewGetSupplySourcesTooManyRequests creates a GetSupplySourcesTooManyRequests with default headers values
func (*GetSupplySourcesTooManyRequests) Error ¶
func (o *GetSupplySourcesTooManyRequests) Error() string
func (*GetSupplySourcesTooManyRequests) GetPayload ¶
func (o *GetSupplySourcesTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesTooManyRequests) IsClientError ¶
func (o *GetSupplySourcesTooManyRequests) IsClientError() bool
IsClientError returns true when this get supply sources too many requests response has a 4xx status code
func (*GetSupplySourcesTooManyRequests) IsCode ¶
func (o *GetSupplySourcesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get supply sources too many requests response a status code equal to that given
func (*GetSupplySourcesTooManyRequests) IsRedirect ¶
func (o *GetSupplySourcesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get supply sources too many requests response has a 3xx status code
func (*GetSupplySourcesTooManyRequests) IsServerError ¶
func (o *GetSupplySourcesTooManyRequests) IsServerError() bool
IsServerError returns true when this get supply sources too many requests response has a 5xx status code
func (*GetSupplySourcesTooManyRequests) IsSuccess ¶
func (o *GetSupplySourcesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get supply sources too many requests response has a 2xx status code
func (*GetSupplySourcesTooManyRequests) String ¶
func (o *GetSupplySourcesTooManyRequests) String() string
type GetSupplySourcesUnsupportedMediaType ¶
type GetSupplySourcesUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
GetSupplySourcesUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetSupplySourcesUnsupportedMediaType ¶
func NewGetSupplySourcesUnsupportedMediaType() *GetSupplySourcesUnsupportedMediaType
NewGetSupplySourcesUnsupportedMediaType creates a GetSupplySourcesUnsupportedMediaType with default headers values
func (*GetSupplySourcesUnsupportedMediaType) Error ¶
func (o *GetSupplySourcesUnsupportedMediaType) Error() string
func (*GetSupplySourcesUnsupportedMediaType) GetPayload ¶
func (o *GetSupplySourcesUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*GetSupplySourcesUnsupportedMediaType) IsClientError ¶
func (o *GetSupplySourcesUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get supply sources unsupported media type response has a 4xx status code
func (*GetSupplySourcesUnsupportedMediaType) IsCode ¶
func (o *GetSupplySourcesUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get supply sources unsupported media type response a status code equal to that given
func (*GetSupplySourcesUnsupportedMediaType) IsRedirect ¶
func (o *GetSupplySourcesUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get supply sources unsupported media type response has a 3xx status code
func (*GetSupplySourcesUnsupportedMediaType) IsServerError ¶
func (o *GetSupplySourcesUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get supply sources unsupported media type response has a 5xx status code
func (*GetSupplySourcesUnsupportedMediaType) IsSuccess ¶
func (o *GetSupplySourcesUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get supply sources unsupported media type response has a 2xx status code
func (*GetSupplySourcesUnsupportedMediaType) String ¶
func (o *GetSupplySourcesUnsupportedMediaType) String() string
type UpdateSupplySourceBadRequest ¶
type UpdateSupplySourceBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceBadRequest describes a response with status code 400, with default header values.
The request has missing or invalid parameters and cannot be parsed.
func NewUpdateSupplySourceBadRequest ¶
func NewUpdateSupplySourceBadRequest() *UpdateSupplySourceBadRequest
NewUpdateSupplySourceBadRequest creates a UpdateSupplySourceBadRequest with default headers values
func (*UpdateSupplySourceBadRequest) Error ¶
func (o *UpdateSupplySourceBadRequest) Error() string
func (*UpdateSupplySourceBadRequest) GetPayload ¶
func (o *UpdateSupplySourceBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceBadRequest) IsClientError ¶
func (o *UpdateSupplySourceBadRequest) IsClientError() bool
IsClientError returns true when this update supply source bad request response has a 4xx status code
func (*UpdateSupplySourceBadRequest) IsCode ¶
func (o *UpdateSupplySourceBadRequest) IsCode(code int) bool
IsCode returns true when this update supply source bad request response a status code equal to that given
func (*UpdateSupplySourceBadRequest) IsRedirect ¶
func (o *UpdateSupplySourceBadRequest) IsRedirect() bool
IsRedirect returns true when this update supply source bad request response has a 3xx status code
func (*UpdateSupplySourceBadRequest) IsServerError ¶
func (o *UpdateSupplySourceBadRequest) IsServerError() bool
IsServerError returns true when this update supply source bad request response has a 5xx status code
func (*UpdateSupplySourceBadRequest) IsSuccess ¶
func (o *UpdateSupplySourceBadRequest) IsSuccess() bool
IsSuccess returns true when this update supply source bad request response has a 2xx status code
func (*UpdateSupplySourceBadRequest) String ¶
func (o *UpdateSupplySourceBadRequest) String() string
type UpdateSupplySourceForbidden ¶
type UpdateSupplySourceForbidden struct { /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceForbidden describes a response with status code 403, with default header values.
An error that indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewUpdateSupplySourceForbidden ¶
func NewUpdateSupplySourceForbidden() *UpdateSupplySourceForbidden
NewUpdateSupplySourceForbidden creates a UpdateSupplySourceForbidden with default headers values
func (*UpdateSupplySourceForbidden) Error ¶
func (o *UpdateSupplySourceForbidden) Error() string
func (*UpdateSupplySourceForbidden) GetPayload ¶
func (o *UpdateSupplySourceForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceForbidden) IsClientError ¶
func (o *UpdateSupplySourceForbidden) IsClientError() bool
IsClientError returns true when this update supply source forbidden response has a 4xx status code
func (*UpdateSupplySourceForbidden) IsCode ¶
func (o *UpdateSupplySourceForbidden) IsCode(code int) bool
IsCode returns true when this update supply source forbidden response a status code equal to that given
func (*UpdateSupplySourceForbidden) IsRedirect ¶
func (o *UpdateSupplySourceForbidden) IsRedirect() bool
IsRedirect returns true when this update supply source forbidden response has a 3xx status code
func (*UpdateSupplySourceForbidden) IsServerError ¶
func (o *UpdateSupplySourceForbidden) IsServerError() bool
IsServerError returns true when this update supply source forbidden response has a 5xx status code
func (*UpdateSupplySourceForbidden) IsSuccess ¶
func (o *UpdateSupplySourceForbidden) IsSuccess() bool
IsSuccess returns true when this update supply source forbidden response has a 2xx status code
func (*UpdateSupplySourceForbidden) String ¶
func (o *UpdateSupplySourceForbidden) String() string
type UpdateSupplySourceInternalServerError ¶
type UpdateSupplySourceInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewUpdateSupplySourceInternalServerError ¶
func NewUpdateSupplySourceInternalServerError() *UpdateSupplySourceInternalServerError
NewUpdateSupplySourceInternalServerError creates a UpdateSupplySourceInternalServerError with default headers values
func (*UpdateSupplySourceInternalServerError) Error ¶
func (o *UpdateSupplySourceInternalServerError) Error() string
func (*UpdateSupplySourceInternalServerError) GetPayload ¶
func (o *UpdateSupplySourceInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceInternalServerError) IsClientError ¶
func (o *UpdateSupplySourceInternalServerError) IsClientError() bool
IsClientError returns true when this update supply source internal server error response has a 4xx status code
func (*UpdateSupplySourceInternalServerError) IsCode ¶
func (o *UpdateSupplySourceInternalServerError) IsCode(code int) bool
IsCode returns true when this update supply source internal server error response a status code equal to that given
func (*UpdateSupplySourceInternalServerError) IsRedirect ¶
func (o *UpdateSupplySourceInternalServerError) IsRedirect() bool
IsRedirect returns true when this update supply source internal server error response has a 3xx status code
func (*UpdateSupplySourceInternalServerError) IsServerError ¶
func (o *UpdateSupplySourceInternalServerError) IsServerError() bool
IsServerError returns true when this update supply source internal server error response has a 5xx status code
func (*UpdateSupplySourceInternalServerError) IsSuccess ¶
func (o *UpdateSupplySourceInternalServerError) IsSuccess() bool
IsSuccess returns true when this update supply source internal server error response has a 2xx status code
func (*UpdateSupplySourceInternalServerError) String ¶
func (o *UpdateSupplySourceInternalServerError) String() string
type UpdateSupplySourceNoContent ¶
type UpdateSupplySourceNoContent struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceNoContent describes a response with status code 204, with default header values.
Success.
func NewUpdateSupplySourceNoContent ¶
func NewUpdateSupplySourceNoContent() *UpdateSupplySourceNoContent
NewUpdateSupplySourceNoContent creates a UpdateSupplySourceNoContent with default headers values
func (*UpdateSupplySourceNoContent) Error ¶
func (o *UpdateSupplySourceNoContent) Error() string
func (*UpdateSupplySourceNoContent) GetPayload ¶
func (o *UpdateSupplySourceNoContent) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceNoContent) IsClientError ¶
func (o *UpdateSupplySourceNoContent) IsClientError() bool
IsClientError returns true when this update supply source no content response has a 4xx status code
func (*UpdateSupplySourceNoContent) IsCode ¶
func (o *UpdateSupplySourceNoContent) IsCode(code int) bool
IsCode returns true when this update supply source no content response a status code equal to that given
func (*UpdateSupplySourceNoContent) IsRedirect ¶
func (o *UpdateSupplySourceNoContent) IsRedirect() bool
IsRedirect returns true when this update supply source no content response has a 3xx status code
func (*UpdateSupplySourceNoContent) IsServerError ¶
func (o *UpdateSupplySourceNoContent) IsServerError() bool
IsServerError returns true when this update supply source no content response has a 5xx status code
func (*UpdateSupplySourceNoContent) IsSuccess ¶
func (o *UpdateSupplySourceNoContent) IsSuccess() bool
IsSuccess returns true when this update supply source no content response has a 2xx status code
func (*UpdateSupplySourceNoContent) String ¶
func (o *UpdateSupplySourceNoContent) String() string
type UpdateSupplySourceNotFound ¶
type UpdateSupplySourceNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewUpdateSupplySourceNotFound ¶
func NewUpdateSupplySourceNotFound() *UpdateSupplySourceNotFound
NewUpdateSupplySourceNotFound creates a UpdateSupplySourceNotFound with default headers values
func (*UpdateSupplySourceNotFound) Error ¶
func (o *UpdateSupplySourceNotFound) Error() string
func (*UpdateSupplySourceNotFound) GetPayload ¶
func (o *UpdateSupplySourceNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceNotFound) IsClientError ¶
func (o *UpdateSupplySourceNotFound) IsClientError() bool
IsClientError returns true when this update supply source not found response has a 4xx status code
func (*UpdateSupplySourceNotFound) IsCode ¶
func (o *UpdateSupplySourceNotFound) IsCode(code int) bool
IsCode returns true when this update supply source not found response a status code equal to that given
func (*UpdateSupplySourceNotFound) IsRedirect ¶
func (o *UpdateSupplySourceNotFound) IsRedirect() bool
IsRedirect returns true when this update supply source not found response has a 3xx status code
func (*UpdateSupplySourceNotFound) IsServerError ¶
func (o *UpdateSupplySourceNotFound) IsServerError() bool
IsServerError returns true when this update supply source not found response has a 5xx status code
func (*UpdateSupplySourceNotFound) IsSuccess ¶
func (o *UpdateSupplySourceNotFound) IsSuccess() bool
IsSuccess returns true when this update supply source not found response has a 2xx status code
func (*UpdateSupplySourceNotFound) String ¶
func (o *UpdateSupplySourceNotFound) String() string
type UpdateSupplySourceParams ¶
type UpdateSupplySourceParams struct { // Payload. Payload *supply_sources_2020_07_01_models.UpdateSupplySourceRequest /* SupplySourceID. The unique identitier of a supply source. */ SupplySourceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSupplySourceParams contains all the parameters to send to the API endpoint
for the update supply source operation. Typically these are written to a http.Request.
func NewUpdateSupplySourceParams ¶
func NewUpdateSupplySourceParams() *UpdateSupplySourceParams
NewUpdateSupplySourceParams creates a new UpdateSupplySourceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSupplySourceParamsWithContext ¶
func NewUpdateSupplySourceParamsWithContext(ctx context.Context) *UpdateSupplySourceParams
NewUpdateSupplySourceParamsWithContext creates a new UpdateSupplySourceParams object with the ability to set a context for a request.
func NewUpdateSupplySourceParamsWithHTTPClient ¶
func NewUpdateSupplySourceParamsWithHTTPClient(client *http.Client) *UpdateSupplySourceParams
NewUpdateSupplySourceParamsWithHTTPClient creates a new UpdateSupplySourceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSupplySourceParamsWithTimeout ¶
func NewUpdateSupplySourceParamsWithTimeout(timeout time.Duration) *UpdateSupplySourceParams
NewUpdateSupplySourceParamsWithTimeout creates a new UpdateSupplySourceParams object with the ability to set a timeout on a request.
func (*UpdateSupplySourceParams) SetContext ¶
func (o *UpdateSupplySourceParams) SetContext(ctx context.Context)
SetContext adds the context to the update supply source params
func (*UpdateSupplySourceParams) SetDefaults ¶
func (o *UpdateSupplySourceParams) SetDefaults()
SetDefaults hydrates default values in the update supply source params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSupplySourceParams) SetHTTPClient ¶
func (o *UpdateSupplySourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update supply source params
func (*UpdateSupplySourceParams) SetPayload ¶
func (o *UpdateSupplySourceParams) SetPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceRequest)
SetPayload adds the payload to the update supply source params
func (*UpdateSupplySourceParams) SetSupplySourceID ¶
func (o *UpdateSupplySourceParams) SetSupplySourceID(supplySourceID string)
SetSupplySourceID adds the supplySourceId to the update supply source params
func (*UpdateSupplySourceParams) SetTimeout ¶
func (o *UpdateSupplySourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update supply source params
func (*UpdateSupplySourceParams) WithContext ¶
func (o *UpdateSupplySourceParams) WithContext(ctx context.Context) *UpdateSupplySourceParams
WithContext adds the context to the update supply source params
func (*UpdateSupplySourceParams) WithDefaults ¶
func (o *UpdateSupplySourceParams) WithDefaults() *UpdateSupplySourceParams
WithDefaults hydrates default values in the update supply source params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSupplySourceParams) WithHTTPClient ¶
func (o *UpdateSupplySourceParams) WithHTTPClient(client *http.Client) *UpdateSupplySourceParams
WithHTTPClient adds the HTTPClient to the update supply source params
func (*UpdateSupplySourceParams) WithPayload ¶
func (o *UpdateSupplySourceParams) WithPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceRequest) *UpdateSupplySourceParams
WithPayload adds the payload to the update supply source params
func (*UpdateSupplySourceParams) WithSupplySourceID ¶
func (o *UpdateSupplySourceParams) WithSupplySourceID(supplySourceID string) *UpdateSupplySourceParams
WithSupplySourceID adds the supplySourceID to the update supply source params
func (*UpdateSupplySourceParams) WithTimeout ¶
func (o *UpdateSupplySourceParams) WithTimeout(timeout time.Duration) *UpdateSupplySourceParams
WithTimeout adds the timeout to the update supply source params
func (*UpdateSupplySourceParams) WriteToRequest ¶
func (o *UpdateSupplySourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSupplySourceReader ¶
type UpdateSupplySourceReader struct {
// contains filtered or unexported fields
}
UpdateSupplySourceReader is a Reader for the UpdateSupplySource structure.
func (*UpdateSupplySourceReader) ReadResponse ¶
func (o *UpdateSupplySourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSupplySourceRequestEntityTooLarge ¶
type UpdateSupplySourceRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewUpdateSupplySourceRequestEntityTooLarge ¶
func NewUpdateSupplySourceRequestEntityTooLarge() *UpdateSupplySourceRequestEntityTooLarge
NewUpdateSupplySourceRequestEntityTooLarge creates a UpdateSupplySourceRequestEntityTooLarge with default headers values
func (*UpdateSupplySourceRequestEntityTooLarge) Error ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) Error() string
func (*UpdateSupplySourceRequestEntityTooLarge) GetPayload ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceRequestEntityTooLarge) IsClientError ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this update supply source request entity too large response has a 4xx status code
func (*UpdateSupplySourceRequestEntityTooLarge) IsCode ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this update supply source request entity too large response a status code equal to that given
func (*UpdateSupplySourceRequestEntityTooLarge) IsRedirect ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this update supply source request entity too large response has a 3xx status code
func (*UpdateSupplySourceRequestEntityTooLarge) IsServerError ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this update supply source request entity too large response has a 5xx status code
func (*UpdateSupplySourceRequestEntityTooLarge) IsSuccess ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this update supply source request entity too large response has a 2xx status code
func (*UpdateSupplySourceRequestEntityTooLarge) String ¶
func (o *UpdateSupplySourceRequestEntityTooLarge) String() string
type UpdateSupplySourceServiceUnavailable ¶
type UpdateSupplySourceServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
UpdateSupplySourceServiceUnavailable describes a response with status code 503, with default header values.
The temporary overloading or maintenance of the server.
func NewUpdateSupplySourceServiceUnavailable ¶
func NewUpdateSupplySourceServiceUnavailable() *UpdateSupplySourceServiceUnavailable
NewUpdateSupplySourceServiceUnavailable creates a UpdateSupplySourceServiceUnavailable with default headers values
func (*UpdateSupplySourceServiceUnavailable) Error ¶
func (o *UpdateSupplySourceServiceUnavailable) Error() string
func (*UpdateSupplySourceServiceUnavailable) GetPayload ¶
func (o *UpdateSupplySourceServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceServiceUnavailable) IsClientError ¶
func (o *UpdateSupplySourceServiceUnavailable) IsClientError() bool
IsClientError returns true when this update supply source service unavailable response has a 4xx status code
func (*UpdateSupplySourceServiceUnavailable) IsCode ¶
func (o *UpdateSupplySourceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this update supply source service unavailable response a status code equal to that given
func (*UpdateSupplySourceServiceUnavailable) IsRedirect ¶
func (o *UpdateSupplySourceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this update supply source service unavailable response has a 3xx status code
func (*UpdateSupplySourceServiceUnavailable) IsServerError ¶
func (o *UpdateSupplySourceServiceUnavailable) IsServerError() bool
IsServerError returns true when this update supply source service unavailable response has a 5xx status code
func (*UpdateSupplySourceServiceUnavailable) IsSuccess ¶
func (o *UpdateSupplySourceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this update supply source service unavailable response has a 2xx status code
func (*UpdateSupplySourceServiceUnavailable) String ¶
func (o *UpdateSupplySourceServiceUnavailable) String() string
type UpdateSupplySourceStatusBadRequest ¶
type UpdateSupplySourceStatusBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusBadRequest describes a response with status code 400, with default header values.
The request has missing or invalid parameters and cannot be parsed.
func NewUpdateSupplySourceStatusBadRequest ¶
func NewUpdateSupplySourceStatusBadRequest() *UpdateSupplySourceStatusBadRequest
NewUpdateSupplySourceStatusBadRequest creates a UpdateSupplySourceStatusBadRequest with default headers values
func (*UpdateSupplySourceStatusBadRequest) Error ¶
func (o *UpdateSupplySourceStatusBadRequest) Error() string
func (*UpdateSupplySourceStatusBadRequest) GetPayload ¶
func (o *UpdateSupplySourceStatusBadRequest) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusBadRequest) IsClientError ¶
func (o *UpdateSupplySourceStatusBadRequest) IsClientError() bool
IsClientError returns true when this update supply source status bad request response has a 4xx status code
func (*UpdateSupplySourceStatusBadRequest) IsCode ¶
func (o *UpdateSupplySourceStatusBadRequest) IsCode(code int) bool
IsCode returns true when this update supply source status bad request response a status code equal to that given
func (*UpdateSupplySourceStatusBadRequest) IsRedirect ¶
func (o *UpdateSupplySourceStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this update supply source status bad request response has a 3xx status code
func (*UpdateSupplySourceStatusBadRequest) IsServerError ¶
func (o *UpdateSupplySourceStatusBadRequest) IsServerError() bool
IsServerError returns true when this update supply source status bad request response has a 5xx status code
func (*UpdateSupplySourceStatusBadRequest) IsSuccess ¶
func (o *UpdateSupplySourceStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this update supply source status bad request response has a 2xx status code
func (*UpdateSupplySourceStatusBadRequest) String ¶
func (o *UpdateSupplySourceStatusBadRequest) String() string
type UpdateSupplySourceStatusForbidden ¶
type UpdateSupplySourceStatusForbidden struct { /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusForbidden describes a response with status code 403, with default header values.
Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewUpdateSupplySourceStatusForbidden ¶
func NewUpdateSupplySourceStatusForbidden() *UpdateSupplySourceStatusForbidden
NewUpdateSupplySourceStatusForbidden creates a UpdateSupplySourceStatusForbidden with default headers values
func (*UpdateSupplySourceStatusForbidden) Error ¶
func (o *UpdateSupplySourceStatusForbidden) Error() string
func (*UpdateSupplySourceStatusForbidden) GetPayload ¶
func (o *UpdateSupplySourceStatusForbidden) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusForbidden) IsClientError ¶
func (o *UpdateSupplySourceStatusForbidden) IsClientError() bool
IsClientError returns true when this update supply source status forbidden response has a 4xx status code
func (*UpdateSupplySourceStatusForbidden) IsCode ¶
func (o *UpdateSupplySourceStatusForbidden) IsCode(code int) bool
IsCode returns true when this update supply source status forbidden response a status code equal to that given
func (*UpdateSupplySourceStatusForbidden) IsRedirect ¶
func (o *UpdateSupplySourceStatusForbidden) IsRedirect() bool
IsRedirect returns true when this update supply source status forbidden response has a 3xx status code
func (*UpdateSupplySourceStatusForbidden) IsServerError ¶
func (o *UpdateSupplySourceStatusForbidden) IsServerError() bool
IsServerError returns true when this update supply source status forbidden response has a 5xx status code
func (*UpdateSupplySourceStatusForbidden) IsSuccess ¶
func (o *UpdateSupplySourceStatusForbidden) IsSuccess() bool
IsSuccess returns true when this update supply source status forbidden response has a 2xx status code
func (*UpdateSupplySourceStatusForbidden) String ¶
func (o *UpdateSupplySourceStatusForbidden) String() string
type UpdateSupplySourceStatusInternalServerError ¶
type UpdateSupplySourceStatusInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewUpdateSupplySourceStatusInternalServerError ¶
func NewUpdateSupplySourceStatusInternalServerError() *UpdateSupplySourceStatusInternalServerError
NewUpdateSupplySourceStatusInternalServerError creates a UpdateSupplySourceStatusInternalServerError with default headers values
func (*UpdateSupplySourceStatusInternalServerError) Error ¶
func (o *UpdateSupplySourceStatusInternalServerError) Error() string
func (*UpdateSupplySourceStatusInternalServerError) GetPayload ¶
func (o *UpdateSupplySourceStatusInternalServerError) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusInternalServerError) IsClientError ¶
func (o *UpdateSupplySourceStatusInternalServerError) IsClientError() bool
IsClientError returns true when this update supply source status internal server error response has a 4xx status code
func (*UpdateSupplySourceStatusInternalServerError) IsCode ¶
func (o *UpdateSupplySourceStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this update supply source status internal server error response a status code equal to that given
func (*UpdateSupplySourceStatusInternalServerError) IsRedirect ¶
func (o *UpdateSupplySourceStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this update supply source status internal server error response has a 3xx status code
func (*UpdateSupplySourceStatusInternalServerError) IsServerError ¶
func (o *UpdateSupplySourceStatusInternalServerError) IsServerError() bool
IsServerError returns true when this update supply source status internal server error response has a 5xx status code
func (*UpdateSupplySourceStatusInternalServerError) IsSuccess ¶
func (o *UpdateSupplySourceStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this update supply source status internal server error response has a 2xx status code
func (*UpdateSupplySourceStatusInternalServerError) String ¶
func (o *UpdateSupplySourceStatusInternalServerError) String() string
type UpdateSupplySourceStatusNoContent ¶
type UpdateSupplySourceStatusNoContent struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusNoContent describes a response with status code 204, with default header values.
Success.
func NewUpdateSupplySourceStatusNoContent ¶
func NewUpdateSupplySourceStatusNoContent() *UpdateSupplySourceStatusNoContent
NewUpdateSupplySourceStatusNoContent creates a UpdateSupplySourceStatusNoContent with default headers values
func (*UpdateSupplySourceStatusNoContent) Error ¶
func (o *UpdateSupplySourceStatusNoContent) Error() string
func (*UpdateSupplySourceStatusNoContent) GetPayload ¶
func (o *UpdateSupplySourceStatusNoContent) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusNoContent) IsClientError ¶
func (o *UpdateSupplySourceStatusNoContent) IsClientError() bool
IsClientError returns true when this update supply source status no content response has a 4xx status code
func (*UpdateSupplySourceStatusNoContent) IsCode ¶
func (o *UpdateSupplySourceStatusNoContent) IsCode(code int) bool
IsCode returns true when this update supply source status no content response a status code equal to that given
func (*UpdateSupplySourceStatusNoContent) IsRedirect ¶
func (o *UpdateSupplySourceStatusNoContent) IsRedirect() bool
IsRedirect returns true when this update supply source status no content response has a 3xx status code
func (*UpdateSupplySourceStatusNoContent) IsServerError ¶
func (o *UpdateSupplySourceStatusNoContent) IsServerError() bool
IsServerError returns true when this update supply source status no content response has a 5xx status code
func (*UpdateSupplySourceStatusNoContent) IsSuccess ¶
func (o *UpdateSupplySourceStatusNoContent) IsSuccess() bool
IsSuccess returns true when this update supply source status no content response has a 2xx status code
func (*UpdateSupplySourceStatusNoContent) String ¶
func (o *UpdateSupplySourceStatusNoContent) String() string
type UpdateSupplySourceStatusNotFound ¶
type UpdateSupplySourceStatusNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewUpdateSupplySourceStatusNotFound ¶
func NewUpdateSupplySourceStatusNotFound() *UpdateSupplySourceStatusNotFound
NewUpdateSupplySourceStatusNotFound creates a UpdateSupplySourceStatusNotFound with default headers values
func (*UpdateSupplySourceStatusNotFound) Error ¶
func (o *UpdateSupplySourceStatusNotFound) Error() string
func (*UpdateSupplySourceStatusNotFound) GetPayload ¶
func (o *UpdateSupplySourceStatusNotFound) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusNotFound) IsClientError ¶
func (o *UpdateSupplySourceStatusNotFound) IsClientError() bool
IsClientError returns true when this update supply source status not found response has a 4xx status code
func (*UpdateSupplySourceStatusNotFound) IsCode ¶
func (o *UpdateSupplySourceStatusNotFound) IsCode(code int) bool
IsCode returns true when this update supply source status not found response a status code equal to that given
func (*UpdateSupplySourceStatusNotFound) IsRedirect ¶
func (o *UpdateSupplySourceStatusNotFound) IsRedirect() bool
IsRedirect returns true when this update supply source status not found response has a 3xx status code
func (*UpdateSupplySourceStatusNotFound) IsServerError ¶
func (o *UpdateSupplySourceStatusNotFound) IsServerError() bool
IsServerError returns true when this update supply source status not found response has a 5xx status code
func (*UpdateSupplySourceStatusNotFound) IsSuccess ¶
func (o *UpdateSupplySourceStatusNotFound) IsSuccess() bool
IsSuccess returns true when this update supply source status not found response has a 2xx status code
func (*UpdateSupplySourceStatusNotFound) String ¶
func (o *UpdateSupplySourceStatusNotFound) String() string
type UpdateSupplySourceStatusParams ¶
type UpdateSupplySourceStatusParams struct { // Payload. Payload *supply_sources_2020_07_01_models.UpdateSupplySourceStatusRequest /* SupplySourceID. The unique identifier of a supply source. */ SupplySourceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSupplySourceStatusParams contains all the parameters to send to the API endpoint
for the update supply source status operation. Typically these are written to a http.Request.
func NewUpdateSupplySourceStatusParams ¶
func NewUpdateSupplySourceStatusParams() *UpdateSupplySourceStatusParams
NewUpdateSupplySourceStatusParams creates a new UpdateSupplySourceStatusParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateSupplySourceStatusParamsWithContext ¶
func NewUpdateSupplySourceStatusParamsWithContext(ctx context.Context) *UpdateSupplySourceStatusParams
NewUpdateSupplySourceStatusParamsWithContext creates a new UpdateSupplySourceStatusParams object with the ability to set a context for a request.
func NewUpdateSupplySourceStatusParamsWithHTTPClient ¶
func NewUpdateSupplySourceStatusParamsWithHTTPClient(client *http.Client) *UpdateSupplySourceStatusParams
NewUpdateSupplySourceStatusParamsWithHTTPClient creates a new UpdateSupplySourceStatusParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateSupplySourceStatusParamsWithTimeout ¶
func NewUpdateSupplySourceStatusParamsWithTimeout(timeout time.Duration) *UpdateSupplySourceStatusParams
NewUpdateSupplySourceStatusParamsWithTimeout creates a new UpdateSupplySourceStatusParams object with the ability to set a timeout on a request.
func (*UpdateSupplySourceStatusParams) SetContext ¶
func (o *UpdateSupplySourceStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update supply source status params
func (*UpdateSupplySourceStatusParams) SetDefaults ¶
func (o *UpdateSupplySourceStatusParams) SetDefaults()
SetDefaults hydrates default values in the update supply source status params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSupplySourceStatusParams) SetHTTPClient ¶
func (o *UpdateSupplySourceStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update supply source status params
func (*UpdateSupplySourceStatusParams) SetPayload ¶
func (o *UpdateSupplySourceStatusParams) SetPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceStatusRequest)
SetPayload adds the payload to the update supply source status params
func (*UpdateSupplySourceStatusParams) SetSupplySourceID ¶
func (o *UpdateSupplySourceStatusParams) SetSupplySourceID(supplySourceID string)
SetSupplySourceID adds the supplySourceId to the update supply source status params
func (*UpdateSupplySourceStatusParams) SetTimeout ¶
func (o *UpdateSupplySourceStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update supply source status params
func (*UpdateSupplySourceStatusParams) WithContext ¶
func (o *UpdateSupplySourceStatusParams) WithContext(ctx context.Context) *UpdateSupplySourceStatusParams
WithContext adds the context to the update supply source status params
func (*UpdateSupplySourceStatusParams) WithDefaults ¶
func (o *UpdateSupplySourceStatusParams) WithDefaults() *UpdateSupplySourceStatusParams
WithDefaults hydrates default values in the update supply source status params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateSupplySourceStatusParams) WithHTTPClient ¶
func (o *UpdateSupplySourceStatusParams) WithHTTPClient(client *http.Client) *UpdateSupplySourceStatusParams
WithHTTPClient adds the HTTPClient to the update supply source status params
func (*UpdateSupplySourceStatusParams) WithPayload ¶
func (o *UpdateSupplySourceStatusParams) WithPayload(payload *supply_sources_2020_07_01_models.UpdateSupplySourceStatusRequest) *UpdateSupplySourceStatusParams
WithPayload adds the payload to the update supply source status params
func (*UpdateSupplySourceStatusParams) WithSupplySourceID ¶
func (o *UpdateSupplySourceStatusParams) WithSupplySourceID(supplySourceID string) *UpdateSupplySourceStatusParams
WithSupplySourceID adds the supplySourceID to the update supply source status params
func (*UpdateSupplySourceStatusParams) WithTimeout ¶
func (o *UpdateSupplySourceStatusParams) WithTimeout(timeout time.Duration) *UpdateSupplySourceStatusParams
WithTimeout adds the timeout to the update supply source status params
func (*UpdateSupplySourceStatusParams) WriteToRequest ¶
func (o *UpdateSupplySourceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSupplySourceStatusReader ¶
type UpdateSupplySourceStatusReader struct {
// contains filtered or unexported fields
}
UpdateSupplySourceStatusReader is a Reader for the UpdateSupplySourceStatus structure.
func (*UpdateSupplySourceStatusReader) ReadResponse ¶
func (o *UpdateSupplySourceStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSupplySourceStatusRequestEntityTooLarge ¶
type UpdateSupplySourceStatusRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewUpdateSupplySourceStatusRequestEntityTooLarge ¶
func NewUpdateSupplySourceStatusRequestEntityTooLarge() *UpdateSupplySourceStatusRequestEntityTooLarge
NewUpdateSupplySourceStatusRequestEntityTooLarge creates a UpdateSupplySourceStatusRequestEntityTooLarge with default headers values
func (*UpdateSupplySourceStatusRequestEntityTooLarge) Error ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) Error() string
func (*UpdateSupplySourceStatusRequestEntityTooLarge) GetPayload ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsClientError ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this update supply source status request entity too large response has a 4xx status code
func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsCode ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this update supply source status request entity too large response a status code equal to that given
func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsRedirect ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this update supply source status request entity too large response has a 3xx status code
func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsServerError ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this update supply source status request entity too large response has a 5xx status code
func (*UpdateSupplySourceStatusRequestEntityTooLarge) IsSuccess ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this update supply source status request entity too large response has a 2xx status code
func (*UpdateSupplySourceStatusRequestEntityTooLarge) String ¶
func (o *UpdateSupplySourceStatusRequestEntityTooLarge) String() string
type UpdateSupplySourceStatusServiceUnavailable ¶
type UpdateSupplySourceStatusServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
UpdateSupplySourceStatusServiceUnavailable describes a response with status code 503, with default header values.
The temporary overloading or maintenance of the server.
func NewUpdateSupplySourceStatusServiceUnavailable ¶
func NewUpdateSupplySourceStatusServiceUnavailable() *UpdateSupplySourceStatusServiceUnavailable
NewUpdateSupplySourceStatusServiceUnavailable creates a UpdateSupplySourceStatusServiceUnavailable with default headers values
func (*UpdateSupplySourceStatusServiceUnavailable) Error ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) Error() string
func (*UpdateSupplySourceStatusServiceUnavailable) GetPayload ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusServiceUnavailable) IsClientError ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) IsClientError() bool
IsClientError returns true when this update supply source status service unavailable response has a 4xx status code
func (*UpdateSupplySourceStatusServiceUnavailable) IsCode ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) IsCode(code int) bool
IsCode returns true when this update supply source status service unavailable response a status code equal to that given
func (*UpdateSupplySourceStatusServiceUnavailable) IsRedirect ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this update supply source status service unavailable response has a 3xx status code
func (*UpdateSupplySourceStatusServiceUnavailable) IsServerError ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) IsServerError() bool
IsServerError returns true when this update supply source status service unavailable response has a 5xx status code
func (*UpdateSupplySourceStatusServiceUnavailable) IsSuccess ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this update supply source status service unavailable response has a 2xx status code
func (*UpdateSupplySourceStatusServiceUnavailable) String ¶
func (o *UpdateSupplySourceStatusServiceUnavailable) String() string
type UpdateSupplySourceStatusTooManyRequests ¶
type UpdateSupplySourceStatusTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewUpdateSupplySourceStatusTooManyRequests ¶
func NewUpdateSupplySourceStatusTooManyRequests() *UpdateSupplySourceStatusTooManyRequests
NewUpdateSupplySourceStatusTooManyRequests creates a UpdateSupplySourceStatusTooManyRequests with default headers values
func (*UpdateSupplySourceStatusTooManyRequests) Error ¶
func (o *UpdateSupplySourceStatusTooManyRequests) Error() string
func (*UpdateSupplySourceStatusTooManyRequests) GetPayload ¶
func (o *UpdateSupplySourceStatusTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusTooManyRequests) IsClientError ¶
func (o *UpdateSupplySourceStatusTooManyRequests) IsClientError() bool
IsClientError returns true when this update supply source status too many requests response has a 4xx status code
func (*UpdateSupplySourceStatusTooManyRequests) IsCode ¶
func (o *UpdateSupplySourceStatusTooManyRequests) IsCode(code int) bool
IsCode returns true when this update supply source status too many requests response a status code equal to that given
func (*UpdateSupplySourceStatusTooManyRequests) IsRedirect ¶
func (o *UpdateSupplySourceStatusTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update supply source status too many requests response has a 3xx status code
func (*UpdateSupplySourceStatusTooManyRequests) IsServerError ¶
func (o *UpdateSupplySourceStatusTooManyRequests) IsServerError() bool
IsServerError returns true when this update supply source status too many requests response has a 5xx status code
func (*UpdateSupplySourceStatusTooManyRequests) IsSuccess ¶
func (o *UpdateSupplySourceStatusTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update supply source status too many requests response has a 2xx status code
func (*UpdateSupplySourceStatusTooManyRequests) String ¶
func (o *UpdateSupplySourceStatusTooManyRequests) String() string
type UpdateSupplySourceStatusUnsupportedMediaType ¶
type UpdateSupplySourceStatusUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceStatusUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewUpdateSupplySourceStatusUnsupportedMediaType ¶
func NewUpdateSupplySourceStatusUnsupportedMediaType() *UpdateSupplySourceStatusUnsupportedMediaType
NewUpdateSupplySourceStatusUnsupportedMediaType creates a UpdateSupplySourceStatusUnsupportedMediaType with default headers values
func (*UpdateSupplySourceStatusUnsupportedMediaType) Error ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) Error() string
func (*UpdateSupplySourceStatusUnsupportedMediaType) GetPayload ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceStatusUnsupportedMediaType) IsClientError ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this update supply source status unsupported media type response has a 4xx status code
func (*UpdateSupplySourceStatusUnsupportedMediaType) IsCode ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this update supply source status unsupported media type response a status code equal to that given
func (*UpdateSupplySourceStatusUnsupportedMediaType) IsRedirect ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this update supply source status unsupported media type response has a 3xx status code
func (*UpdateSupplySourceStatusUnsupportedMediaType) IsServerError ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this update supply source status unsupported media type response has a 5xx status code
func (*UpdateSupplySourceStatusUnsupportedMediaType) IsSuccess ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this update supply source status unsupported media type response has a 2xx status code
func (*UpdateSupplySourceStatusUnsupportedMediaType) String ¶
func (o *UpdateSupplySourceStatusUnsupportedMediaType) String() string
type UpdateSupplySourceTooManyRequests ¶
type UpdateSupplySourceTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewUpdateSupplySourceTooManyRequests ¶
func NewUpdateSupplySourceTooManyRequests() *UpdateSupplySourceTooManyRequests
NewUpdateSupplySourceTooManyRequests creates a UpdateSupplySourceTooManyRequests with default headers values
func (*UpdateSupplySourceTooManyRequests) Error ¶
func (o *UpdateSupplySourceTooManyRequests) Error() string
func (*UpdateSupplySourceTooManyRequests) GetPayload ¶
func (o *UpdateSupplySourceTooManyRequests) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceTooManyRequests) IsClientError ¶
func (o *UpdateSupplySourceTooManyRequests) IsClientError() bool
IsClientError returns true when this update supply source too many requests response has a 4xx status code
func (*UpdateSupplySourceTooManyRequests) IsCode ¶
func (o *UpdateSupplySourceTooManyRequests) IsCode(code int) bool
IsCode returns true when this update supply source too many requests response a status code equal to that given
func (*UpdateSupplySourceTooManyRequests) IsRedirect ¶
func (o *UpdateSupplySourceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update supply source too many requests response has a 3xx status code
func (*UpdateSupplySourceTooManyRequests) IsServerError ¶
func (o *UpdateSupplySourceTooManyRequests) IsServerError() bool
IsServerError returns true when this update supply source too many requests response has a 5xx status code
func (*UpdateSupplySourceTooManyRequests) IsSuccess ¶
func (o *UpdateSupplySourceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update supply source too many requests response has a 2xx status code
func (*UpdateSupplySourceTooManyRequests) String ¶
func (o *UpdateSupplySourceTooManyRequests) String() string
type UpdateSupplySourceUnsupportedMediaType ¶
type UpdateSupplySourceUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* The unique request reference ID. */ XAmznRequestID string Payload *supply_sources_2020_07_01_models.ErrorList }
UpdateSupplySourceUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewUpdateSupplySourceUnsupportedMediaType ¶
func NewUpdateSupplySourceUnsupportedMediaType() *UpdateSupplySourceUnsupportedMediaType
NewUpdateSupplySourceUnsupportedMediaType creates a UpdateSupplySourceUnsupportedMediaType with default headers values
func (*UpdateSupplySourceUnsupportedMediaType) Error ¶
func (o *UpdateSupplySourceUnsupportedMediaType) Error() string
func (*UpdateSupplySourceUnsupportedMediaType) GetPayload ¶
func (o *UpdateSupplySourceUnsupportedMediaType) GetPayload() *supply_sources_2020_07_01_models.ErrorList
func (*UpdateSupplySourceUnsupportedMediaType) IsClientError ¶
func (o *UpdateSupplySourceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this update supply source unsupported media type response has a 4xx status code
func (*UpdateSupplySourceUnsupportedMediaType) IsCode ¶
func (o *UpdateSupplySourceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this update supply source unsupported media type response a status code equal to that given
func (*UpdateSupplySourceUnsupportedMediaType) IsRedirect ¶
func (o *UpdateSupplySourceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this update supply source unsupported media type response has a 3xx status code
func (*UpdateSupplySourceUnsupportedMediaType) IsServerError ¶
func (o *UpdateSupplySourceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this update supply source unsupported media type response has a 5xx status code
func (*UpdateSupplySourceUnsupportedMediaType) IsSuccess ¶
func (o *UpdateSupplySourceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this update supply source unsupported media type response has a 2xx status code
func (*UpdateSupplySourceUnsupportedMediaType) String ¶
func (o *UpdateSupplySourceUnsupportedMediaType) String() string
Source Files ¶
- archive_supply_source_parameters.go
- archive_supply_source_responses.go
- create_supply_source_parameters.go
- create_supply_source_responses.go
- get_supply_source_parameters.go
- get_supply_source_responses.go
- get_supply_sources_parameters.go
- get_supply_sources_responses.go
- supply_sources_client.go
- update_supply_source_parameters.go
- update_supply_source_responses.go
- update_supply_source_status_parameters.go
- update_supply_source_status_responses.go