Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) GetOrganizationLicensingCotermLicenses(params *GetOrganizationLicensingCotermLicensesParams, ...) (*GetOrganizationLicensingCotermLicensesOK, error)
- func (a *Client) MoveOrganizationLicensingCotermLicenses(params *MoveOrganizationLicensingCotermLicensesParams, ...) (*MoveOrganizationLicensingCotermLicensesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetOrganizationLicensingCotermLicensesOK
- func (o *GetOrganizationLicensingCotermLicensesOK) Code() int
- func (o *GetOrganizationLicensingCotermLicensesOK) Error() string
- func (o *GetOrganizationLicensingCotermLicensesOK) GetPayload() []*GetOrganizationLicensingCotermLicensesOKBodyItems0
- func (o *GetOrganizationLicensingCotermLicensesOK) IsClientError() bool
- func (o *GetOrganizationLicensingCotermLicensesOK) IsCode(code int) bool
- func (o *GetOrganizationLicensingCotermLicensesOK) IsRedirect() bool
- func (o *GetOrganizationLicensingCotermLicensesOK) IsServerError() bool
- func (o *GetOrganizationLicensingCotermLicensesOK) IsSuccess() bool
- func (o *GetOrganizationLicensingCotermLicensesOK) String() string
- type GetOrganizationLicensingCotermLicensesOKBodyItems0
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationLicensingCotermLicensesParams
- func NewGetOrganizationLicensingCotermLicensesParams() *GetOrganizationLicensingCotermLicensesParams
- func NewGetOrganizationLicensingCotermLicensesParamsWithContext(ctx context.Context) *GetOrganizationLicensingCotermLicensesParams
- func NewGetOrganizationLicensingCotermLicensesParamsWithHTTPClient(client *http.Client) *GetOrganizationLicensingCotermLicensesParams
- func NewGetOrganizationLicensingCotermLicensesParamsWithTimeout(timeout time.Duration) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) SetContext(ctx context.Context)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetDefaults()
- func (o *GetOrganizationLicensingCotermLicensesParams) SetEndingBefore(endingBefore *string)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetExpired(expired *bool)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetInvalidated(invalidated *bool)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetPerPage(perPage *int64)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetStartingAfter(startingAfter *string)
- func (o *GetOrganizationLicensingCotermLicensesParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationLicensingCotermLicensesParams) WithContext(ctx context.Context) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithDefaults() *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithEndingBefore(endingBefore *string) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithExpired(expired *bool) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithHTTPClient(client *http.Client) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithInvalidated(invalidated *bool) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithOrganizationID(organizationID string) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithPerPage(perPage *int64) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithStartingAfter(startingAfter *string) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WithTimeout(timeout time.Duration) *GetOrganizationLicensingCotermLicensesParams
- func (o *GetOrganizationLicensingCotermLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationLicensingCotermLicensesReader
- type MoveOrganizationLicensingCotermLicensesBody
- func (o *MoveOrganizationLicensingCotermLicensesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesBody) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesBody) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesBody) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOK
- func (o *MoveOrganizationLicensingCotermLicensesOK) Code() int
- func (o *MoveOrganizationLicensingCotermLicensesOK) Error() string
- func (o *MoveOrganizationLicensingCotermLicensesOK) GetPayload() *MoveOrganizationLicensingCotermLicensesOKBody
- func (o *MoveOrganizationLicensingCotermLicensesOK) IsClientError() bool
- func (o *MoveOrganizationLicensingCotermLicensesOK) IsCode(code int) bool
- func (o *MoveOrganizationLicensingCotermLicensesOK) IsRedirect() bool
- func (o *MoveOrganizationLicensingCotermLicensesOK) IsServerError() bool
- func (o *MoveOrganizationLicensingCotermLicensesOK) IsSuccess() bool
- func (o *MoveOrganizationLicensingCotermLicensesOK) String() string
- type MoveOrganizationLicensingCotermLicensesOKBody
- func (o *MoveOrganizationLicensingCotermLicensesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBody) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBody) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBody) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesParams
- func NewMoveOrganizationLicensingCotermLicensesParams() *MoveOrganizationLicensingCotermLicensesParams
- func NewMoveOrganizationLicensingCotermLicensesParamsWithContext(ctx context.Context) *MoveOrganizationLicensingCotermLicensesParams
- func NewMoveOrganizationLicensingCotermLicensesParamsWithHTTPClient(client *http.Client) *MoveOrganizationLicensingCotermLicensesParams
- func NewMoveOrganizationLicensingCotermLicensesParamsWithTimeout(timeout time.Duration) *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) SetContext(ctx context.Context)
- func (o *MoveOrganizationLicensingCotermLicensesParams) SetDefaults()
- func (o *MoveOrganizationLicensingCotermLicensesParams) SetHTTPClient(client *http.Client)
- func (o *MoveOrganizationLicensingCotermLicensesParams) SetMoveOrganizationLicensingCotermLicenses(...)
- func (o *MoveOrganizationLicensingCotermLicensesParams) SetOrganizationID(organizationID string)
- func (o *MoveOrganizationLicensingCotermLicensesParams) SetTimeout(timeout time.Duration)
- func (o *MoveOrganizationLicensingCotermLicensesParams) WithContext(ctx context.Context) *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) WithDefaults() *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) WithHTTPClient(client *http.Client) *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) WithMoveOrganizationLicensingCotermLicenses(...) *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) WithOrganizationID(organizationID string) *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) WithTimeout(timeout time.Duration) *MoveOrganizationLicensingCotermLicensesParams
- func (o *MoveOrganizationLicensingCotermLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesParamsBodyDestination
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) MarshalBinary() ([]byte, error)
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) UnmarshalBinary(b []byte) error
- func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) Validate(formats strfmt.Registry) error
- type MoveOrganizationLicensingCotermLicensesReader
Constants ¶
const ( // GetOrganizationLicensingCotermLicensesOKBodyItems0ModeAddDevices captures enum value "addDevices" GetOrganizationLicensingCotermLicensesOKBodyItems0ModeAddDevices string = "addDevices" // GetOrganizationLicensingCotermLicensesOKBodyItems0ModeRenew captures enum value "renew" GetOrganizationLicensingCotermLicensesOKBodyItems0ModeRenew string = "renew" )
const ( // MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0ModeAddDevices captures enum value "addDevices" MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0ModeAddDevices string = "addDevices" // MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0ModeRenew captures enum value "renew" MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0ModeRenew string = "renew" )
const ( // MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0ModeAddDevices captures enum value "addDevices" MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0ModeAddDevices string = "addDevices" // MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0ModeRenew captures enum value "renew" MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0ModeRenew string = "renew" )
const ( // MoveOrganizationLicensingCotermLicensesParamsBodyDestinationModeAddDevices captures enum value "addDevices" MoveOrganizationLicensingCotermLicensesParamsBodyDestinationModeAddDevices string = "addDevices" // MoveOrganizationLicensingCotermLicensesParamsBodyDestinationModeRenew captures enum value "renew" MoveOrganizationLicensingCotermLicensesParamsBodyDestinationModeRenew string = "renew" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for licensing API
func (*Client) GetOrganizationLicensingCotermLicenses ¶
func (a *Client) GetOrganizationLicensingCotermLicenses(params *GetOrganizationLicensingCotermLicensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationLicensingCotermLicensesOK, error)
GetOrganizationLicensingCotermLicenses lists the licenses in a coterm organization
List the licenses in a coterm organization
func (*Client) MoveOrganizationLicensingCotermLicenses ¶
func (a *Client) MoveOrganizationLicensingCotermLicenses(params *MoveOrganizationLicensingCotermLicensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveOrganizationLicensingCotermLicensesOK, error)
MoveOrganizationLicensingCotermLicenses moves a license to a different organization coterm only
Moves a license to a different organization (coterm only)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetOrganizationLicensingCotermLicenses(params *GetOrganizationLicensingCotermLicensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationLicensingCotermLicensesOK, error) MoveOrganizationLicensingCotermLicenses(params *MoveOrganizationLicensingCotermLicensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveOrganizationLicensingCotermLicensesOK, 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 licensing API client.
type GetOrganizationLicensingCotermLicensesOK ¶
type GetOrganizationLicensingCotermLicensesOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetOrganizationLicensingCotermLicensesOKBodyItems0 }
GetOrganizationLicensingCotermLicensesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationLicensingCotermLicensesOK ¶
func NewGetOrganizationLicensingCotermLicensesOK() *GetOrganizationLicensingCotermLicensesOK
NewGetOrganizationLicensingCotermLicensesOK creates a GetOrganizationLicensingCotermLicensesOK with default headers values
func (*GetOrganizationLicensingCotermLicensesOK) Code ¶
func (o *GetOrganizationLicensingCotermLicensesOK) Code() int
Code gets the status code for the get organization licensing coterm licenses o k response
func (*GetOrganizationLicensingCotermLicensesOK) Error ¶
func (o *GetOrganizationLicensingCotermLicensesOK) Error() string
func (*GetOrganizationLicensingCotermLicensesOK) GetPayload ¶
func (o *GetOrganizationLicensingCotermLicensesOK) GetPayload() []*GetOrganizationLicensingCotermLicensesOKBodyItems0
func (*GetOrganizationLicensingCotermLicensesOK) IsClientError ¶
func (o *GetOrganizationLicensingCotermLicensesOK) IsClientError() bool
IsClientError returns true when this get organization licensing coterm licenses o k response has a 4xx status code
func (*GetOrganizationLicensingCotermLicensesOK) IsCode ¶
func (o *GetOrganizationLicensingCotermLicensesOK) IsCode(code int) bool
IsCode returns true when this get organization licensing coterm licenses o k response a status code equal to that given
func (*GetOrganizationLicensingCotermLicensesOK) IsRedirect ¶
func (o *GetOrganizationLicensingCotermLicensesOK) IsRedirect() bool
IsRedirect returns true when this get organization licensing coterm licenses o k response has a 3xx status code
func (*GetOrganizationLicensingCotermLicensesOK) IsServerError ¶
func (o *GetOrganizationLicensingCotermLicensesOK) IsServerError() bool
IsServerError returns true when this get organization licensing coterm licenses o k response has a 5xx status code
func (*GetOrganizationLicensingCotermLicensesOK) IsSuccess ¶
func (o *GetOrganizationLicensingCotermLicensesOK) IsSuccess() bool
IsSuccess returns true when this get organization licensing coterm licenses o k response has a 2xx status code
func (*GetOrganizationLicensingCotermLicensesOK) String ¶
func (o *GetOrganizationLicensingCotermLicensesOK) String() string
type GetOrganizationLicensingCotermLicensesOKBodyItems0 ¶
type GetOrganizationLicensingCotermLicensesOKBodyItems0 struct { // When the license was claimed into the organization // Format: date-time ClaimedAt strfmt.DateTime `json:"claimedAt,omitempty"` // The counts of the license by model type Counts []*GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0 `json:"counts"` // The duration (term length) of the license, measured in days Duration int64 `json:"duration,omitempty"` // The editions of the license for each relevant product type Editions []*GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0 `json:"editions"` // Flag to indicate if the license is expired Expired bool `json:"expired,omitempty"` // Flag to indicated that the license is invalidated Invalidated bool `json:"invalidated,omitempty"` // When the license was invalidated. Will be null for active licenses // Format: date-time InvalidatedAt strfmt.DateTime `json:"invalidatedAt,omitempty"` // The key of the license Key string `json:"key,omitempty"` // The operation mode of the license when it was claimed // Enum: [addDevices renew] Mode string `json:"mode,omitempty"` // The ID of the organization that the license is claimed in OrganizationID string `json:"organizationId,omitempty"` // When the license's term began (approximately the date when the license was created) // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` }
GetOrganizationLicensingCotermLicensesOKBodyItems0 get organization licensing coterm licenses o k body items0 swagger:model GetOrganizationLicensingCotermLicensesOKBodyItems0
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0) ContextValidate ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization licensing coterm licenses o k body items0 based on the context it is used
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0) MarshalBinary ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0) UnmarshalBinary ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0 ¶
type GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0 struct { // The number of counts the license contains of this model Count int64 `json:"count,omitempty"` // The license model type Model string `json:"model,omitempty"` }
GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0 get organization licensing coterm licenses o k body items0 counts items0 swagger:model GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) ContextValidate ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization licensing coterm licenses o k body items0 counts items0 based on context it is used
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) MarshalBinary ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) UnmarshalBinary ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0CountsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0 ¶
type GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0 struct { // The name of the license edition Edition string `json:"edition,omitempty"` // The product type of the license edition ProductType string `json:"productType,omitempty"` }
GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0 get organization licensing coterm licenses o k body items0 editions items0 swagger:model GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) ContextValidate ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization licensing coterm licenses o k body items0 editions items0 based on context it is used
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) MarshalBinary ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) UnmarshalBinary ¶
func (o *GetOrganizationLicensingCotermLicensesOKBodyItems0EditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationLicensingCotermLicensesParams ¶
type GetOrganizationLicensingCotermLicensesParams struct { /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* Expired. Filter for licenses that are expired */ Expired *bool /* Invalidated. Filter for licenses that are invalidated */ Invalidated *bool /* OrganizationID. Organization ID */ OrganizationID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. */ PerPage *int64 /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationLicensingCotermLicensesParams contains all the parameters to send to the API endpoint
for the get organization licensing coterm licenses operation. Typically these are written to a http.Request.
func NewGetOrganizationLicensingCotermLicensesParams ¶
func NewGetOrganizationLicensingCotermLicensesParams() *GetOrganizationLicensingCotermLicensesParams
NewGetOrganizationLicensingCotermLicensesParams creates a new GetOrganizationLicensingCotermLicensesParams 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 NewGetOrganizationLicensingCotermLicensesParamsWithContext ¶
func NewGetOrganizationLicensingCotermLicensesParamsWithContext(ctx context.Context) *GetOrganizationLicensingCotermLicensesParams
NewGetOrganizationLicensingCotermLicensesParamsWithContext creates a new GetOrganizationLicensingCotermLicensesParams object with the ability to set a context for a request.
func NewGetOrganizationLicensingCotermLicensesParamsWithHTTPClient ¶
func NewGetOrganizationLicensingCotermLicensesParamsWithHTTPClient(client *http.Client) *GetOrganizationLicensingCotermLicensesParams
NewGetOrganizationLicensingCotermLicensesParamsWithHTTPClient creates a new GetOrganizationLicensingCotermLicensesParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationLicensingCotermLicensesParamsWithTimeout ¶
func NewGetOrganizationLicensingCotermLicensesParamsWithTimeout(timeout time.Duration) *GetOrganizationLicensingCotermLicensesParams
NewGetOrganizationLicensingCotermLicensesParamsWithTimeout creates a new GetOrganizationLicensingCotermLicensesParams object with the ability to set a timeout on a request.
func (*GetOrganizationLicensingCotermLicensesParams) SetContext ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetDefaults ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetDefaults()
SetDefaults hydrates default values in the get organization licensing coterm licenses params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationLicensingCotermLicensesParams) SetEndingBefore ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetExpired ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetExpired(expired *bool)
SetExpired adds the expired to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetHTTPClient ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetInvalidated ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetInvalidated(invalidated *bool)
SetInvalidated adds the invalidated to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetOrganizationID ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetPerPage ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetStartingAfter ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) SetTimeout ¶
func (o *GetOrganizationLicensingCotermLicensesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithContext ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithContext(ctx context.Context) *GetOrganizationLicensingCotermLicensesParams
WithContext adds the context to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithDefaults ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithDefaults() *GetOrganizationLicensingCotermLicensesParams
WithDefaults hydrates default values in the get organization licensing coterm licenses params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationLicensingCotermLicensesParams) WithEndingBefore ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithEndingBefore(endingBefore *string) *GetOrganizationLicensingCotermLicensesParams
WithEndingBefore adds the endingBefore to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithExpired ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithExpired(expired *bool) *GetOrganizationLicensingCotermLicensesParams
WithExpired adds the expired to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithHTTPClient ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithHTTPClient(client *http.Client) *GetOrganizationLicensingCotermLicensesParams
WithHTTPClient adds the HTTPClient to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithInvalidated ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithInvalidated(invalidated *bool) *GetOrganizationLicensingCotermLicensesParams
WithInvalidated adds the invalidated to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithOrganizationID ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithOrganizationID(organizationID string) *GetOrganizationLicensingCotermLicensesParams
WithOrganizationID adds the organizationID to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithPerPage ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithPerPage(perPage *int64) *GetOrganizationLicensingCotermLicensesParams
WithPerPage adds the perPage to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithStartingAfter ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithStartingAfter(startingAfter *string) *GetOrganizationLicensingCotermLicensesParams
WithStartingAfter adds the startingAfter to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WithTimeout ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WithTimeout(timeout time.Duration) *GetOrganizationLicensingCotermLicensesParams
WithTimeout adds the timeout to the get organization licensing coterm licenses params
func (*GetOrganizationLicensingCotermLicensesParams) WriteToRequest ¶
func (o *GetOrganizationLicensingCotermLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationLicensingCotermLicensesReader ¶
type GetOrganizationLicensingCotermLicensesReader struct {
// contains filtered or unexported fields
}
GetOrganizationLicensingCotermLicensesReader is a Reader for the GetOrganizationLicensingCotermLicenses structure.
func (*GetOrganizationLicensingCotermLicensesReader) ReadResponse ¶
func (o *GetOrganizationLicensingCotermLicensesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MoveOrganizationLicensingCotermLicensesBody ¶
type MoveOrganizationLicensingCotermLicensesBody struct { // destination // Required: true Destination *MoveOrganizationLicensingCotermLicensesParamsBodyDestination `json:"destination"` // The list of licenses to move // Required: true Licenses []*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0 `json:"licenses"` }
MoveOrganizationLicensingCotermLicensesBody move organization licensing coterm licenses body // Example: {"destination":{"mode":"addDevices","organizationId":"123"},"licenses":[{"counts":[{"count":5,"model":"MR Enterprise"}],"key":"Z2AA-BBBB-CCCC"}]} swagger:model MoveOrganizationLicensingCotermLicensesBody
func (*MoveOrganizationLicensingCotermLicensesBody) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this move organization licensing coterm licenses body based on the context it is used
func (*MoveOrganizationLicensingCotermLicensesBody) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesBody) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveOrganizationLicensingCotermLicensesOK ¶
type MoveOrganizationLicensingCotermLicensesOK struct {
Payload *MoveOrganizationLicensingCotermLicensesOKBody
}
MoveOrganizationLicensingCotermLicensesOK describes a response with status code 200, with default header values.
Successful operation
func NewMoveOrganizationLicensingCotermLicensesOK ¶
func NewMoveOrganizationLicensingCotermLicensesOK() *MoveOrganizationLicensingCotermLicensesOK
NewMoveOrganizationLicensingCotermLicensesOK creates a MoveOrganizationLicensingCotermLicensesOK with default headers values
func (*MoveOrganizationLicensingCotermLicensesOK) Code ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) Code() int
Code gets the status code for the move organization licensing coterm licenses o k response
func (*MoveOrganizationLicensingCotermLicensesOK) Error ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) Error() string
func (*MoveOrganizationLicensingCotermLicensesOK) GetPayload ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) GetPayload() *MoveOrganizationLicensingCotermLicensesOKBody
func (*MoveOrganizationLicensingCotermLicensesOK) IsClientError ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) IsClientError() bool
IsClientError returns true when this move organization licensing coterm licenses o k response has a 4xx status code
func (*MoveOrganizationLicensingCotermLicensesOK) IsCode ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) IsCode(code int) bool
IsCode returns true when this move organization licensing coterm licenses o k response a status code equal to that given
func (*MoveOrganizationLicensingCotermLicensesOK) IsRedirect ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) IsRedirect() bool
IsRedirect returns true when this move organization licensing coterm licenses o k response has a 3xx status code
func (*MoveOrganizationLicensingCotermLicensesOK) IsServerError ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) IsServerError() bool
IsServerError returns true when this move organization licensing coterm licenses o k response has a 5xx status code
func (*MoveOrganizationLicensingCotermLicensesOK) IsSuccess ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) IsSuccess() bool
IsSuccess returns true when this move organization licensing coterm licenses o k response has a 2xx status code
func (*MoveOrganizationLicensingCotermLicensesOK) String ¶
func (o *MoveOrganizationLicensingCotermLicensesOK) String() string
type MoveOrganizationLicensingCotermLicensesOKBody ¶
type MoveOrganizationLicensingCotermLicensesOKBody struct { // Newly moved licenses created in the destination organization of the license move operation MovedLicenses []*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0 `json:"movedLicenses"` // Remainder licenses created in the source organization as a result of moving a subset of the counts of a license RemainderLicenses []*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0 `json:"remainderLicenses"` }
MoveOrganizationLicensingCotermLicensesOKBody move organization licensing coterm licenses o k body swagger:model MoveOrganizationLicensingCotermLicensesOKBody
func (*MoveOrganizationLicensingCotermLicensesOKBody) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this move organization licensing coterm licenses o k body based on the context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBody) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBody) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0 ¶
type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0 struct { // When the license was claimed into the organization // Format: date-time ClaimedAt strfmt.DateTime `json:"claimedAt,omitempty"` // The counts of the license by model type Counts []*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0 `json:"counts"` // The duration (term length) of the license, measured in days Duration int64 `json:"duration,omitempty"` // The editions of the license for each relevant product type Editions []*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0 `json:"editions"` // Flag to indicate if the license is expired Expired bool `json:"expired,omitempty"` // Flag to indicated that the license is invalidated Invalidated bool `json:"invalidated,omitempty"` // When the license was invalidated. Will be null for active licenses // Format: date-time InvalidatedAt strfmt.DateTime `json:"invalidatedAt,omitempty"` // The key of the license Key string `json:"key,omitempty"` // The operation mode of the license when it was claimed // Enum: [addDevices renew] Mode string `json:"mode,omitempty"` // The ID of the organization that the license is claimed in OrganizationID string `json:"organizationId,omitempty"` // When the license's term began (approximately the date when the license was created) // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` }
MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0 move organization licensing coterm licenses o k body moved licenses items0 swagger:model MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this move organization licensing coterm licenses o k body moved licenses items0 based on the context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0 ¶
type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0 struct { // The number of counts the license contains of this model Count int64 `json:"count,omitempty"` // The license model type Model string `json:"model,omitempty"` }
MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0 move organization licensing coterm licenses o k body moved licenses items0 counts items0 swagger:model MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this move organization licensing coterm licenses o k body moved licenses items0 counts items0 based on context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) Validate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0CountsItems0) Validate(formats strfmt.Registry) error
Validate validates this move organization licensing coterm licenses o k body moved licenses items0 counts items0
type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0 ¶
type MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0 struct { // The name of the license edition Edition string `json:"edition,omitempty"` // The product type of the license edition ProductType string `json:"productType,omitempty"` }
MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0 move organization licensing coterm licenses o k body moved licenses items0 editions items0 swagger:model MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this move organization licensing coterm licenses o k body moved licenses items0 editions items0 based on context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) Validate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyMovedLicensesItems0EditionsItems0) Validate(formats strfmt.Registry) error
Validate validates this move organization licensing coterm licenses o k body moved licenses items0 editions items0
type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0 ¶
type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0 struct { // When the license was claimed into the organization // Format: date-time ClaimedAt strfmt.DateTime `json:"claimedAt,omitempty"` // The counts of the license by model type Counts []*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0 `json:"counts"` // The duration (term length) of the license, measured in days Duration int64 `json:"duration,omitempty"` // The editions of the license for each relevant product type Editions []*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0 `json:"editions"` // Flag to indicate if the license is expired Expired bool `json:"expired,omitempty"` // Flag to indicated that the license is invalidated Invalidated bool `json:"invalidated,omitempty"` // When the license was invalidated. Will be null for active licenses // Format: date-time InvalidatedAt strfmt.DateTime `json:"invalidatedAt,omitempty"` // The key of the license Key string `json:"key,omitempty"` // The operation mode of the license when it was claimed // Enum: [addDevices renew] Mode string `json:"mode,omitempty"` // The ID of the organization that the license is claimed in OrganizationID string `json:"organizationId,omitempty"` // When the license's term began (approximately the date when the license was created) // Format: date-time StartedAt strfmt.DateTime `json:"startedAt,omitempty"` }
MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0 move organization licensing coterm licenses o k body remainder licenses items0 swagger:model MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this move organization licensing coterm licenses o k body remainder licenses items0 based on the context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) Validate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0) Validate(formats strfmt.Registry) error
Validate validates this move organization licensing coterm licenses o k body remainder licenses items0
type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0 ¶
type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0 struct { // The number of counts the license contains of this model Count int64 `json:"count,omitempty"` // The license model type Model string `json:"model,omitempty"` }
MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0 move organization licensing coterm licenses o k body remainder licenses items0 counts items0 swagger:model MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this move organization licensing coterm licenses o k body remainder licenses items0 counts items0 based on context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) Validate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0CountsItems0) Validate(formats strfmt.Registry) error
Validate validates this move organization licensing coterm licenses o k body remainder licenses items0 counts items0
type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0 ¶
type MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0 struct { // The name of the license edition Edition string `json:"edition,omitempty"` // The product type of the license edition ProductType string `json:"productType,omitempty"` }
MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0 move organization licensing coterm licenses o k body remainder licenses items0 editions items0 swagger:model MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this move organization licensing coterm licenses o k body remainder licenses items0 editions items0 based on context it is used
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) Validate ¶
func (o *MoveOrganizationLicensingCotermLicensesOKBodyRemainderLicensesItems0EditionsItems0) Validate(formats strfmt.Registry) error
Validate validates this move organization licensing coterm licenses o k body remainder licenses items0 editions items0
type MoveOrganizationLicensingCotermLicensesParams ¶
type MoveOrganizationLicensingCotermLicensesParams struct { // MoveOrganizationLicensingCotermLicenses. MoveOrganizationLicensingCotermLicenses MoveOrganizationLicensingCotermLicensesBody /* OrganizationID. Organization ID */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
MoveOrganizationLicensingCotermLicensesParams contains all the parameters to send to the API endpoint
for the move organization licensing coterm licenses operation. Typically these are written to a http.Request.
func NewMoveOrganizationLicensingCotermLicensesParams ¶
func NewMoveOrganizationLicensingCotermLicensesParams() *MoveOrganizationLicensingCotermLicensesParams
NewMoveOrganizationLicensingCotermLicensesParams creates a new MoveOrganizationLicensingCotermLicensesParams 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 NewMoveOrganizationLicensingCotermLicensesParamsWithContext ¶
func NewMoveOrganizationLicensingCotermLicensesParamsWithContext(ctx context.Context) *MoveOrganizationLicensingCotermLicensesParams
NewMoveOrganizationLicensingCotermLicensesParamsWithContext creates a new MoveOrganizationLicensingCotermLicensesParams object with the ability to set a context for a request.
func NewMoveOrganizationLicensingCotermLicensesParamsWithHTTPClient ¶
func NewMoveOrganizationLicensingCotermLicensesParamsWithHTTPClient(client *http.Client) *MoveOrganizationLicensingCotermLicensesParams
NewMoveOrganizationLicensingCotermLicensesParamsWithHTTPClient creates a new MoveOrganizationLicensingCotermLicensesParams object with the ability to set a custom HTTPClient for a request.
func NewMoveOrganizationLicensingCotermLicensesParamsWithTimeout ¶
func NewMoveOrganizationLicensingCotermLicensesParamsWithTimeout(timeout time.Duration) *MoveOrganizationLicensingCotermLicensesParams
NewMoveOrganizationLicensingCotermLicensesParamsWithTimeout creates a new MoveOrganizationLicensingCotermLicensesParams object with the ability to set a timeout on a request.
func (*MoveOrganizationLicensingCotermLicensesParams) SetContext ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) SetContext(ctx context.Context)
SetContext adds the context to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) SetDefaults ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) SetDefaults()
SetDefaults hydrates default values in the move organization licensing coterm licenses params (not the query body).
All values with no default are reset to their zero value.
func (*MoveOrganizationLicensingCotermLicensesParams) SetHTTPClient ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) SetMoveOrganizationLicensingCotermLicenses ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) SetMoveOrganizationLicensingCotermLicenses(moveOrganizationLicensingCotermLicenses MoveOrganizationLicensingCotermLicensesBody)
SetMoveOrganizationLicensingCotermLicenses adds the moveOrganizationLicensingCotermLicenses to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) SetOrganizationID ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) SetTimeout ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) WithContext ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WithContext(ctx context.Context) *MoveOrganizationLicensingCotermLicensesParams
WithContext adds the context to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) WithDefaults ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WithDefaults() *MoveOrganizationLicensingCotermLicensesParams
WithDefaults hydrates default values in the move organization licensing coterm licenses params (not the query body).
All values with no default are reset to their zero value.
func (*MoveOrganizationLicensingCotermLicensesParams) WithHTTPClient ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WithHTTPClient(client *http.Client) *MoveOrganizationLicensingCotermLicensesParams
WithHTTPClient adds the HTTPClient to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) WithMoveOrganizationLicensingCotermLicenses ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WithMoveOrganizationLicensingCotermLicenses(moveOrganizationLicensingCotermLicenses MoveOrganizationLicensingCotermLicensesBody) *MoveOrganizationLicensingCotermLicensesParams
WithMoveOrganizationLicensingCotermLicenses adds the moveOrganizationLicensingCotermLicenses to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) WithOrganizationID ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WithOrganizationID(organizationID string) *MoveOrganizationLicensingCotermLicensesParams
WithOrganizationID adds the organizationID to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) WithTimeout ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WithTimeout(timeout time.Duration) *MoveOrganizationLicensingCotermLicensesParams
WithTimeout adds the timeout to the move organization licensing coterm licenses params
func (*MoveOrganizationLicensingCotermLicensesParams) WriteToRequest ¶
func (o *MoveOrganizationLicensingCotermLicensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MoveOrganizationLicensingCotermLicensesParamsBodyDestination ¶
type MoveOrganizationLicensingCotermLicensesParamsBodyDestination struct { // The claim mode of the moved license // Enum: [addDevices renew] Mode string `json:"mode,omitempty"` // The organization to move the license to OrganizationID string `json:"organizationId,omitempty"` }
MoveOrganizationLicensingCotermLicensesParamsBodyDestination Destination data for the license move swagger:model MoveOrganizationLicensingCotermLicensesParamsBodyDestination
func (*MoveOrganizationLicensingCotermLicensesParamsBodyDestination) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this move organization licensing coterm licenses params body destination based on context it is used
func (*MoveOrganizationLicensingCotermLicensesParamsBodyDestination) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesParamsBodyDestination) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyDestination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0 ¶
type MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0 struct { // The counts to move from the license by model type // Required: true Counts []*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0 `json:"counts"` // The license key to move counts from // Required: true Key *string `json:"key"` }
MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0 move organization licensing coterm licenses params body licenses items0 swagger:model MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this move organization licensing coterm licenses params body licenses items0 based on the context it is used
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0 ¶
type MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0 struct { // The number of counts to move // Required: true Count *int64 `json:"count"` // The license model type to move counts of // Required: true Model *string `json:"model"` }
MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0 move organization licensing coterm licenses params body licenses items0 counts items0 swagger:model MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) ContextValidate ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this move organization licensing coterm licenses params body licenses items0 counts items0 based on context it is used
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) MarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) UnmarshalBinary ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) Validate ¶
func (o *MoveOrganizationLicensingCotermLicensesParamsBodyLicensesItems0CountsItems0) Validate(formats strfmt.Registry) error
Validate validates this move organization licensing coterm licenses params body licenses items0 counts items0
type MoveOrganizationLicensingCotermLicensesReader ¶
type MoveOrganizationLicensingCotermLicensesReader struct {
// contains filtered or unexported fields
}
MoveOrganizationLicensingCotermLicensesReader is a Reader for the MoveOrganizationLicensingCotermLicenses structure.
func (*MoveOrganizationLicensingCotermLicensesReader) ReadResponse ¶
func (o *MoveOrganizationLicensingCotermLicensesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.