Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) ConsumeUserEntitlementShort(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementResponse, error)
- func (a *Client) DisableUserEntitlementShort(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementResponse, error)
- func (a *Client) EnableEntitlementOriginFeatureShort(params *EnableEntitlementOriginFeatureParams, ...) (*EnableEntitlementOriginFeatureResponse, error)
- func (a *Client) EnableUserEntitlementShort(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementResponse, error)
- func (a *Client) ExistsAnyUserActiveEntitlementByItemIdsShort(params *ExistsAnyUserActiveEntitlementByItemIdsParams, ...) (*ExistsAnyUserActiveEntitlementByItemIdsResponse, error)
- func (a *Client) ExistsAnyUserActiveEntitlementShort(params *ExistsAnyUserActiveEntitlementParams, ...) (*ExistsAnyUserActiveEntitlementResponse, error)
- func (a *Client) GetEntitlementConfigInfoShort(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoResponse, error)
- func (a *Client) GetEntitlementShort(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementResponse, error)
- func (a *Client) GetPlatformEntitlementConfigShort(params *GetPlatformEntitlementConfigParams, ...) (*GetPlatformEntitlementConfigResponse, error)
- func (a *Client) GetUserActiveEntitlementsByItemIdsShort(params *GetUserActiveEntitlementsByItemIdsParams, ...) (*GetUserActiveEntitlementsByItemIdsResponse, error)
- func (a *Client) GetUserAppEntitlementByAppIDShort(params *GetUserAppEntitlementByAppIDParams, ...) (*GetUserAppEntitlementByAppIDResponse, error)
- func (a *Client) GetUserAppEntitlementOwnershipByAppIDShort(params *GetUserAppEntitlementOwnershipByAppIDParams, ...) (*GetUserAppEntitlementOwnershipByAppIDResponse, error)
- func (a *Client) GetUserEntitlementByItemIDShort(params *GetUserEntitlementByItemIDParams, ...) (*GetUserEntitlementByItemIDResponse, error)
- func (a *Client) GetUserEntitlementBySkuShort(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuResponse, error)
- func (a *Client) GetUserEntitlementHistoriesShort(params *GetUserEntitlementHistoriesParams, ...) (*GetUserEntitlementHistoriesResponse, error)
- func (a *Client) GetUserEntitlementOwnershipByItemIDShort(params *GetUserEntitlementOwnershipByItemIDParams, ...) (*GetUserEntitlementOwnershipByItemIDResponse, error)
- func (a *Client) GetUserEntitlementOwnershipByItemIdsShort(params *GetUserEntitlementOwnershipByItemIdsParams, ...) (*GetUserEntitlementOwnershipByItemIdsResponse, error)
- func (a *Client) GetUserEntitlementOwnershipBySkuShort(params *GetUserEntitlementOwnershipBySkuParams, ...) (*GetUserEntitlementOwnershipBySkuResponse, error)
- func (a *Client) GetUserEntitlementShort(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementResponse, error)
- func (a *Client) GetUserEntitlementsByIdsShort(params *GetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementsByIdsResponse, error)
- func (a *Client) GrantEntitlementsShort(params *GrantEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*GrantEntitlementsResponse, error)
- func (a *Client) GrantUserEntitlementShort(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementResponse, error)
- func (a *Client) PreCheckRevokeUserEntitlementByUseCountShort(params *PreCheckRevokeUserEntitlementByUseCountParams, ...) (*PreCheckRevokeUserEntitlementByUseCountResponse, error)
- func (a *Client) PublicConsumeUserEntitlementShort(params *PublicConsumeUserEntitlementParams, ...) (*PublicConsumeUserEntitlementResponse, error)
- func (a *Client) PublicExistsAnyMyActiveEntitlementShort(params *PublicExistsAnyMyActiveEntitlementParams, ...) (*PublicExistsAnyMyActiveEntitlementResponse, error)
- func (a *Client) PublicExistsAnyUserActiveEntitlementShort(params *PublicExistsAnyUserActiveEntitlementParams, ...) (*PublicExistsAnyUserActiveEntitlementResponse, error)
- func (a *Client) PublicGetEntitlementOwnershipTokenShort(params *PublicGetEntitlementOwnershipTokenParams, ...) (*PublicGetEntitlementOwnershipTokenResponse, error)
- func (a *Client) PublicGetMyAppEntitlementOwnershipByAppIDShort(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, ...) (*PublicGetMyAppEntitlementOwnershipByAppIDResponse, error)
- func (a *Client) PublicGetMyEntitlementOwnershipByItemIDShort(params *PublicGetMyEntitlementOwnershipByItemIDParams, ...) (*PublicGetMyEntitlementOwnershipByItemIDResponse, error)
- func (a *Client) PublicGetMyEntitlementOwnershipBySkuShort(params *PublicGetMyEntitlementOwnershipBySkuParams, ...) (*PublicGetMyEntitlementOwnershipBySkuResponse, error)
- func (a *Client) PublicGetUserAppEntitlementByAppIDShort(params *PublicGetUserAppEntitlementByAppIDParams, ...) (*PublicGetUserAppEntitlementByAppIDResponse, error)
- func (a *Client) PublicGetUserAppEntitlementOwnershipByAppIDShort(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, ...) (*PublicGetUserAppEntitlementOwnershipByAppIDResponse, error)
- func (a *Client) PublicGetUserEntitlementByItemIDShort(params *PublicGetUserEntitlementByItemIDParams, ...) (*PublicGetUserEntitlementByItemIDResponse, error)
- func (a *Client) PublicGetUserEntitlementBySkuShort(params *PublicGetUserEntitlementBySkuParams, ...) (*PublicGetUserEntitlementBySkuResponse, error)
- func (a *Client) PublicGetUserEntitlementOwnershipByItemIDShort(params *PublicGetUserEntitlementOwnershipByItemIDParams, ...) (*PublicGetUserEntitlementOwnershipByItemIDResponse, error)
- func (a *Client) PublicGetUserEntitlementOwnershipByItemIdsShort(params *PublicGetUserEntitlementOwnershipByItemIdsParams, ...) (*PublicGetUserEntitlementOwnershipByItemIdsResponse, error)
- func (a *Client) PublicGetUserEntitlementOwnershipBySkuShort(params *PublicGetUserEntitlementOwnershipBySkuParams, ...) (*PublicGetUserEntitlementOwnershipBySkuResponse, error)
- func (a *Client) PublicGetUserEntitlementShort(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementResponse, error)
- func (a *Client) PublicGetUserEntitlementsByIdsShort(params *PublicGetUserEntitlementsByIdsParams, ...) (*PublicGetUserEntitlementsByIdsResponse, error)
- func (a *Client) PublicQueryUserEntitlementsByAppTypeShort(params *PublicQueryUserEntitlementsByAppTypeParams, ...) (*PublicQueryUserEntitlementsByAppTypeResponse, error)
- func (a *Client) PublicQueryUserEntitlementsShort(params *PublicQueryUserEntitlementsParams, ...) (*PublicQueryUserEntitlementsResponse, error)
- func (a *Client) PublicSellUserEntitlementShort(params *PublicSellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSellUserEntitlementResponse, error)
- func (a *Client) PublicSplitUserEntitlementShort(params *PublicSplitUserEntitlementParams, ...) (*PublicSplitUserEntitlementResponse, error)
- func (a *Client) PublicTransferUserEntitlementShort(params *PublicTransferUserEntitlementParams, ...) (*PublicTransferUserEntitlementResponse, error)
- func (a *Client) PublicUserEntitlementHistoryShort(params *PublicUserEntitlementHistoryParams, ...) (*PublicUserEntitlementHistoryResponse, error)
- func (a *Client) QueryEntitlements1Short(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1Response, error)
- func (a *Client) QueryEntitlementsShort(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsResponse, error)
- func (a *Client) QueryUserEntitlementsByAppTypeShort(params *QueryUserEntitlementsByAppTypeParams, ...) (*QueryUserEntitlementsByAppTypeResponse, error)
- func (a *Client) QueryUserEntitlementsShort(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsResponse, error)
- func (a *Client) RevokeAllEntitlementsShort(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsResponse, error)
- func (a *Client) RevokeEntitlementsShort(params *RevokeEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeEntitlementsResponse, error)
- func (a *Client) RevokeUseCountShort(params *RevokeUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUseCountResponse, error)
- func (a *Client) RevokeUserEntitlementByUseCountShort(params *RevokeUserEntitlementByUseCountParams, ...) (*RevokeUserEntitlementByUseCountResponse, error)
- func (a *Client) RevokeUserEntitlementShort(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementResponse, error)
- func (a *Client) RevokeUserEntitlementsShort(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsResponse, error)
- func (a *Client) SellUserEntitlementShort(params *SellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*SellUserEntitlementResponse, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePlatformEntitlementConfigShort(params *UpdatePlatformEntitlementConfigParams, ...) (*UpdatePlatformEntitlementConfigResponse, error)
- func (a *Client) UpdateUserEntitlementShort(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementResponse, error)
- type ClientService
- type ConsumeUserEntitlementBadRequest
- type ConsumeUserEntitlementConflict
- type ConsumeUserEntitlementNotFound
- type ConsumeUserEntitlementOK
- type ConsumeUserEntitlementParams
- func NewConsumeUserEntitlementParams() *ConsumeUserEntitlementParams
- func NewConsumeUserEntitlementParamsWithContext(ctx context.Context) *ConsumeUserEntitlementParams
- func NewConsumeUserEntitlementParamsWithHTTPClient(client *http.Client) *ConsumeUserEntitlementParams
- func NewConsumeUserEntitlementParamsWithTimeout(timeout time.Duration) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ConsumeUserEntitlementParams) SetBody(body *platformclientmodels.AdminEntitlementDecrement)
- func (o *ConsumeUserEntitlementParams) SetContext(ctx context.Context)
- func (o *ConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *ConsumeUserEntitlementParams) SetFlightId(flightId string)
- func (o *ConsumeUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *ConsumeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ConsumeUserEntitlementParams) SetNamespace(namespace string)
- func (o *ConsumeUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *ConsumeUserEntitlementParams) SetUserID(userID string)
- func (o *ConsumeUserEntitlementParams) WithBody(body *platformclientmodels.AdminEntitlementDecrement) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WithContext(ctx context.Context) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WithEntitlementID(entitlementID string) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WithHTTPClient(client *http.Client) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WithNamespace(namespace string) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WithTimeout(timeout time.Duration) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WithUserID(userID string) *ConsumeUserEntitlementParams
- func (o *ConsumeUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConsumeUserEntitlementReader
- type ConsumeUserEntitlementResponse
- type DisableUserEntitlementConflict
- type DisableUserEntitlementNotFound
- type DisableUserEntitlementOK
- type DisableUserEntitlementParams
- func NewDisableUserEntitlementParams() *DisableUserEntitlementParams
- func NewDisableUserEntitlementParamsWithContext(ctx context.Context) *DisableUserEntitlementParams
- func NewDisableUserEntitlementParamsWithHTTPClient(client *http.Client) *DisableUserEntitlementParams
- func NewDisableUserEntitlementParamsWithTimeout(timeout time.Duration) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DisableUserEntitlementParams) SetContext(ctx context.Context)
- func (o *DisableUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *DisableUserEntitlementParams) SetFlightId(flightId string)
- func (o *DisableUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *DisableUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DisableUserEntitlementParams) SetNamespace(namespace string)
- func (o *DisableUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *DisableUserEntitlementParams) SetUserID(userID string)
- func (o *DisableUserEntitlementParams) WithContext(ctx context.Context) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) WithEntitlementID(entitlementID string) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) WithHTTPClient(client *http.Client) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) WithNamespace(namespace string) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) WithTimeout(timeout time.Duration) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) WithUserID(userID string) *DisableUserEntitlementParams
- func (o *DisableUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableUserEntitlementReader
- type DisableUserEntitlementResponse
- type EnableEntitlementOriginFeatureOK
- type EnableEntitlementOriginFeatureParams
- func NewEnableEntitlementOriginFeatureParams() *EnableEntitlementOriginFeatureParams
- func NewEnableEntitlementOriginFeatureParamsWithContext(ctx context.Context) *EnableEntitlementOriginFeatureParams
- func NewEnableEntitlementOriginFeatureParamsWithHTTPClient(client *http.Client) *EnableEntitlementOriginFeatureParams
- func NewEnableEntitlementOriginFeatureParamsWithTimeout(timeout time.Duration) *EnableEntitlementOriginFeatureParams
- func (o *EnableEntitlementOriginFeatureParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *EnableEntitlementOriginFeatureParams) SetContext(ctx context.Context)
- func (o *EnableEntitlementOriginFeatureParams) SetFlightId(flightId string)
- func (o *EnableEntitlementOriginFeatureParams) SetHTTPClient(client *http.Client)
- func (o *EnableEntitlementOriginFeatureParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *EnableEntitlementOriginFeatureParams) SetNamespace(namespace string)
- func (o *EnableEntitlementOriginFeatureParams) SetTimeout(timeout time.Duration)
- func (o *EnableEntitlementOriginFeatureParams) WithContext(ctx context.Context) *EnableEntitlementOriginFeatureParams
- func (o *EnableEntitlementOriginFeatureParams) WithHTTPClient(client *http.Client) *EnableEntitlementOriginFeatureParams
- func (o *EnableEntitlementOriginFeatureParams) WithNamespace(namespace string) *EnableEntitlementOriginFeatureParams
- func (o *EnableEntitlementOriginFeatureParams) WithTimeout(timeout time.Duration) *EnableEntitlementOriginFeatureParams
- func (o *EnableEntitlementOriginFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableEntitlementOriginFeatureReader
- type EnableEntitlementOriginFeatureResponse
- type EnableUserEntitlementConflict
- type EnableUserEntitlementNotFound
- type EnableUserEntitlementOK
- type EnableUserEntitlementParams
- func NewEnableUserEntitlementParams() *EnableUserEntitlementParams
- func NewEnableUserEntitlementParamsWithContext(ctx context.Context) *EnableUserEntitlementParams
- func NewEnableUserEntitlementParamsWithHTTPClient(client *http.Client) *EnableUserEntitlementParams
- func NewEnableUserEntitlementParamsWithTimeout(timeout time.Duration) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *EnableUserEntitlementParams) SetContext(ctx context.Context)
- func (o *EnableUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *EnableUserEntitlementParams) SetFlightId(flightId string)
- func (o *EnableUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *EnableUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *EnableUserEntitlementParams) SetNamespace(namespace string)
- func (o *EnableUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *EnableUserEntitlementParams) SetUserID(userID string)
- func (o *EnableUserEntitlementParams) WithContext(ctx context.Context) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) WithEntitlementID(entitlementID string) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) WithHTTPClient(client *http.Client) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) WithNamespace(namespace string) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) WithTimeout(timeout time.Duration) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) WithUserID(userID string) *EnableUserEntitlementParams
- func (o *EnableUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableUserEntitlementReader
- type EnableUserEntitlementResponse
- type ExistsAnyUserActiveEntitlementByItemIdsOK
- type ExistsAnyUserActiveEntitlementByItemIdsParams
- func NewExistsAnyUserActiveEntitlementByItemIdsParams() *ExistsAnyUserActiveEntitlementByItemIdsParams
- func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetContext(ctx context.Context)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetFlightId(flightId string)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClient(client *http.Client)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetItemIds(itemIds []string)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace(namespace string)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetPlatform(platform *string)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetTimeout(timeout time.Duration)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetUserID(userID string)
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithItemIds(itemIds []string) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithNamespace(namespace string) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithPlatform(platform *string) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithUserID(userID string) *ExistsAnyUserActiveEntitlementByItemIdsParams
- func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExistsAnyUserActiveEntitlementByItemIdsReader
- type ExistsAnyUserActiveEntitlementByItemIdsResponse
- type ExistsAnyUserActiveEntitlementOK
- type ExistsAnyUserActiveEntitlementParams
- func NewExistsAnyUserActiveEntitlementParams() *ExistsAnyUserActiveEntitlementParams
- func NewExistsAnyUserActiveEntitlementParamsWithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementParams
- func NewExistsAnyUserActiveEntitlementParamsWithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementParams
- func NewExistsAnyUserActiveEntitlementParamsWithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) SetAppIds(appIds []string)
- func (o *ExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExistsAnyUserActiveEntitlementParams) SetContext(ctx context.Context)
- func (o *ExistsAnyUserActiveEntitlementParams) SetFlightId(flightId string)
- func (o *ExistsAnyUserActiveEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *ExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExistsAnyUserActiveEntitlementParams) SetItemIds(itemIds []string)
- func (o *ExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)
- func (o *ExistsAnyUserActiveEntitlementParams) SetPlatform(platform *string)
- func (o *ExistsAnyUserActiveEntitlementParams) SetSkus(skus []string)
- func (o *ExistsAnyUserActiveEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *ExistsAnyUserActiveEntitlementParams) SetUserID(userID string)
- func (o *ExistsAnyUserActiveEntitlementParams) WithAppIds(appIds []string) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithItemIds(itemIds []string) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithNamespace(namespace string) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithPlatform(platform *string) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithSkus(skus []string) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WithUserID(userID string) *ExistsAnyUserActiveEntitlementParams
- func (o *ExistsAnyUserActiveEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExistsAnyUserActiveEntitlementReader
- type ExistsAnyUserActiveEntitlementResponse
- type GetEntitlementConfigInfoOK
- type GetEntitlementConfigInfoParams
- func NewGetEntitlementConfigInfoParams() *GetEntitlementConfigInfoParams
- func NewGetEntitlementConfigInfoParamsWithContext(ctx context.Context) *GetEntitlementConfigInfoParams
- func NewGetEntitlementConfigInfoParamsWithHTTPClient(client *http.Client) *GetEntitlementConfigInfoParams
- func NewGetEntitlementConfigInfoParamsWithTimeout(timeout time.Duration) *GetEntitlementConfigInfoParams
- func (o *GetEntitlementConfigInfoParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetEntitlementConfigInfoParams) SetContext(ctx context.Context)
- func (o *GetEntitlementConfigInfoParams) SetFlightId(flightId string)
- func (o *GetEntitlementConfigInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetEntitlementConfigInfoParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetEntitlementConfigInfoParams) SetNamespace(namespace string)
- func (o *GetEntitlementConfigInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetEntitlementConfigInfoParams) SetWithoutCache(withoutCache *bool)
- func (o *GetEntitlementConfigInfoParams) WithContext(ctx context.Context) *GetEntitlementConfigInfoParams
- func (o *GetEntitlementConfigInfoParams) WithHTTPClient(client *http.Client) *GetEntitlementConfigInfoParams
- func (o *GetEntitlementConfigInfoParams) WithNamespace(namespace string) *GetEntitlementConfigInfoParams
- func (o *GetEntitlementConfigInfoParams) WithTimeout(timeout time.Duration) *GetEntitlementConfigInfoParams
- func (o *GetEntitlementConfigInfoParams) WithWithoutCache_(withoutCache *bool) *GetEntitlementConfigInfoParams
- func (o *GetEntitlementConfigInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEntitlementConfigInfoReader
- type GetEntitlementConfigInfoResponse
- type GetEntitlementNotFound
- type GetEntitlementOK
- type GetEntitlementParams
- func NewGetEntitlementParams() *GetEntitlementParams
- func NewGetEntitlementParamsWithContext(ctx context.Context) *GetEntitlementParams
- func NewGetEntitlementParamsWithHTTPClient(client *http.Client) *GetEntitlementParams
- func NewGetEntitlementParamsWithTimeout(timeout time.Duration) *GetEntitlementParams
- func (o *GetEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetEntitlementParams) SetContext(ctx context.Context)
- func (o *GetEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *GetEntitlementParams) SetFlightId(flightId string)
- func (o *GetEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *GetEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetEntitlementParams) SetNamespace(namespace string)
- func (o *GetEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *GetEntitlementParams) WithContext(ctx context.Context) *GetEntitlementParams
- func (o *GetEntitlementParams) WithEntitlementID(entitlementID string) *GetEntitlementParams
- func (o *GetEntitlementParams) WithHTTPClient(client *http.Client) *GetEntitlementParams
- func (o *GetEntitlementParams) WithNamespace(namespace string) *GetEntitlementParams
- func (o *GetEntitlementParams) WithTimeout(timeout time.Duration) *GetEntitlementParams
- func (o *GetEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEntitlementReader
- type GetEntitlementResponse
- type GetPlatformEntitlementConfigOK
- type GetPlatformEntitlementConfigParams
- func NewGetPlatformEntitlementConfigParams() *GetPlatformEntitlementConfigParams
- func NewGetPlatformEntitlementConfigParamsWithContext(ctx context.Context) *GetPlatformEntitlementConfigParams
- func NewGetPlatformEntitlementConfigParamsWithHTTPClient(client *http.Client) *GetPlatformEntitlementConfigParams
- func NewGetPlatformEntitlementConfigParamsWithTimeout(timeout time.Duration) *GetPlatformEntitlementConfigParams
- func (o *GetPlatformEntitlementConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPlatformEntitlementConfigParams) SetContext(ctx context.Context)
- func (o *GetPlatformEntitlementConfigParams) SetFlightId(flightId string)
- func (o *GetPlatformEntitlementConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPlatformEntitlementConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPlatformEntitlementConfigParams) SetNamespace(namespace string)
- func (o *GetPlatformEntitlementConfigParams) SetPlatform(platform string)
- func (o *GetPlatformEntitlementConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPlatformEntitlementConfigParams) WithContext(ctx context.Context) *GetPlatformEntitlementConfigParams
- func (o *GetPlatformEntitlementConfigParams) WithHTTPClient(client *http.Client) *GetPlatformEntitlementConfigParams
- func (o *GetPlatformEntitlementConfigParams) WithNamespace(namespace string) *GetPlatformEntitlementConfigParams
- func (o *GetPlatformEntitlementConfigParams) WithPlatform(platform string) *GetPlatformEntitlementConfigParams
- func (o *GetPlatformEntitlementConfigParams) WithTimeout(timeout time.Duration) *GetPlatformEntitlementConfigParams
- func (o *GetPlatformEntitlementConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlatformEntitlementConfigReader
- type GetPlatformEntitlementConfigResponse
- type GetUserActiveEntitlementsByItemIdsOK
- type GetUserActiveEntitlementsByItemIdsParams
- func NewGetUserActiveEntitlementsByItemIdsParams() *GetUserActiveEntitlementsByItemIdsParams
- func NewGetUserActiveEntitlementsByItemIdsParamsWithContext(ctx context.Context) *GetUserActiveEntitlementsByItemIdsParams
- func NewGetUserActiveEntitlementsByItemIdsParamsWithHTTPClient(client *http.Client) *GetUserActiveEntitlementsByItemIdsParams
- func NewGetUserActiveEntitlementsByItemIdsParamsWithTimeout(timeout time.Duration) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetContext(ctx context.Context)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetFlightId(flightId string)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetIds(ids []string)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetNamespace(namespace string)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetPlatform(platform *string)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserActiveEntitlementsByItemIdsParams) SetUserID(userID string)
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithContext(ctx context.Context) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithHTTPClient(client *http.Client) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithIds(ids []string) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithNamespace(namespace string) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithPlatform(platform *string) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithTimeout(timeout time.Duration) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WithUserID(userID string) *GetUserActiveEntitlementsByItemIdsParams
- func (o *GetUserActiveEntitlementsByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserActiveEntitlementsByItemIdsReader
- type GetUserActiveEntitlementsByItemIdsResponse
- type GetUserAppEntitlementByAppIDNotFound
- type GetUserAppEntitlementByAppIDOK
- type GetUserAppEntitlementByAppIDParams
- func NewGetUserAppEntitlementByAppIDParams() *GetUserAppEntitlementByAppIDParams
- func NewGetUserAppEntitlementByAppIDParamsWithContext(ctx context.Context) *GetUserAppEntitlementByAppIDParams
- func NewGetUserAppEntitlementByAppIDParamsWithHTTPClient(client *http.Client) *GetUserAppEntitlementByAppIDParams
- func NewGetUserAppEntitlementByAppIDParamsWithTimeout(timeout time.Duration) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) SetActiveOnly(activeOnly *bool)
- func (o *GetUserAppEntitlementByAppIDParams) SetAppID(appID string)
- func (o *GetUserAppEntitlementByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserAppEntitlementByAppIDParams) SetContext(ctx context.Context)
- func (o *GetUserAppEntitlementByAppIDParams) SetFlightId(flightId string)
- func (o *GetUserAppEntitlementByAppIDParams) SetHTTPClient(client *http.Client)
- func (o *GetUserAppEntitlementByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)
- func (o *GetUserAppEntitlementByAppIDParams) SetTimeout(timeout time.Duration)
- func (o *GetUserAppEntitlementByAppIDParams) SetUserID(userID string)
- func (o *GetUserAppEntitlementByAppIDParams) WithActiveOnly(activeOnly *bool) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WithAppID(appID string) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WithContext(ctx context.Context) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WithHTTPClient(client *http.Client) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WithNamespace(namespace string) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WithTimeout(timeout time.Duration) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WithUserID(userID string) *GetUserAppEntitlementByAppIDParams
- func (o *GetUserAppEntitlementByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserAppEntitlementByAppIDReader
- type GetUserAppEntitlementByAppIDResponse
- type GetUserAppEntitlementOwnershipByAppIDOK
- type GetUserAppEntitlementOwnershipByAppIDParams
- func NewGetUserAppEntitlementOwnershipByAppIDParams() *GetUserAppEntitlementOwnershipByAppIDParams
- func NewGetUserAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *GetUserAppEntitlementOwnershipByAppIDParams
- func NewGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *GetUserAppEntitlementOwnershipByAppIDParams
- func NewGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetAppID(appID string)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetContext(ctx context.Context)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient(client *http.Client)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetTimeout(timeout time.Duration)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetUserID(userID string)
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithAppID(appID string) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithContext(ctx context.Context) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient(client *http.Client) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithNamespace(namespace string) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithTimeout(timeout time.Duration) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithUserID(userID string) *GetUserAppEntitlementOwnershipByAppIDParams
- func (o *GetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserAppEntitlementOwnershipByAppIDReader
- type GetUserAppEntitlementOwnershipByAppIDResponse
- type GetUserEntitlementByItemIDNotFound
- type GetUserEntitlementByItemIDOK
- type GetUserEntitlementByItemIDParams
- func NewGetUserEntitlementByItemIDParams() *GetUserEntitlementByItemIDParams
- func NewGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementByItemIDParams
- func NewGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementByItemIDParams
- func NewGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) SetActiveOnly(activeOnly *bool)
- func (o *GetUserEntitlementByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementByItemIDParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *GetUserEntitlementByItemIDParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementByItemIDParams) SetItemID(itemID string)
- func (o *GetUserEntitlementByItemIDParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementByItemIDParams) SetPlatform(platform *string)
- func (o *GetUserEntitlementByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementByItemIDParams) SetUserID(userID string)
- func (o *GetUserEntitlementByItemIDParams) WithActiveOnly(activeOnly *bool) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithContext(ctx context.Context) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithHTTPClient(client *http.Client) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithItemID(itemID string) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithNamespace(namespace string) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithPlatform(platform *string) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithTimeout(timeout time.Duration) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WithUserID(userID string) *GetUserEntitlementByItemIDParams
- func (o *GetUserEntitlementByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementByItemIDReader
- type GetUserEntitlementByItemIDResponse
- type GetUserEntitlementBySkuNotFound
- type GetUserEntitlementBySkuOK
- type GetUserEntitlementBySkuParams
- func NewGetUserEntitlementBySkuParams() *GetUserEntitlementBySkuParams
- func NewGetUserEntitlementBySkuParamsWithContext(ctx context.Context) *GetUserEntitlementBySkuParams
- func NewGetUserEntitlementBySkuParamsWithHTTPClient(client *http.Client) *GetUserEntitlementBySkuParams
- func NewGetUserEntitlementBySkuParamsWithTimeout(timeout time.Duration) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) SetActiveOnly(activeOnly *bool)
- func (o *GetUserEntitlementBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementBySkuParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementBySkuParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *GetUserEntitlementBySkuParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementBySkuParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementBySkuParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementBySkuParams) SetPlatform(platform *string)
- func (o *GetUserEntitlementBySkuParams) SetSku(sku string)
- func (o *GetUserEntitlementBySkuParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementBySkuParams) SetUserID(userID string)
- func (o *GetUserEntitlementBySkuParams) WithActiveOnly(activeOnly *bool) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithContext(ctx context.Context) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithHTTPClient(client *http.Client) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithNamespace(namespace string) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithPlatform(platform *string) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithSku(sku string) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithTimeout(timeout time.Duration) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WithUserID(userID string) *GetUserEntitlementBySkuParams
- func (o *GetUserEntitlementBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementBySkuReader
- type GetUserEntitlementBySkuResponse
- type GetUserEntitlementHistoriesOK
- type GetUserEntitlementHistoriesParams
- func NewGetUserEntitlementHistoriesParams() *GetUserEntitlementHistoriesParams
- func NewGetUserEntitlementHistoriesParamsWithContext(ctx context.Context) *GetUserEntitlementHistoriesParams
- func NewGetUserEntitlementHistoriesParamsWithHTTPClient(client *http.Client) *GetUserEntitlementHistoriesParams
- func NewGetUserEntitlementHistoriesParamsWithTimeout(timeout time.Duration) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementHistoriesParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementHistoriesParams) SetEntitlementID(entitlementID string)
- func (o *GetUserEntitlementHistoriesParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementHistoriesParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementHistoriesParams) SetUserID(userID string)
- func (o *GetUserEntitlementHistoriesParams) WithContext(ctx context.Context) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) WithEntitlementID(entitlementID string) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) WithHTTPClient(client *http.Client) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) WithNamespace(namespace string) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) WithTimeout(timeout time.Duration) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) WithUserID(userID string) *GetUserEntitlementHistoriesParams
- func (o *GetUserEntitlementHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementHistoriesReader
- type GetUserEntitlementHistoriesResponse
- type GetUserEntitlementNotFound
- type GetUserEntitlementOK
- type GetUserEntitlementOwnershipByItemIDOK
- type GetUserEntitlementOwnershipByItemIDParams
- func NewGetUserEntitlementOwnershipByItemIDParams() *GetUserEntitlementOwnershipByItemIDParams
- func NewGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIDParams
- func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIDParams
- func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetItemID(itemID string)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetPlatform(platform *string)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementOwnershipByItemIDParams) SetUserID(userID string)
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithItemID(itemID string) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithNamespace(namespace string) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithPlatform(platform *string) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WithUserID(userID string) *GetUserEntitlementOwnershipByItemIDParams
- func (o *GetUserEntitlementOwnershipByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementOwnershipByItemIDReader
- type GetUserEntitlementOwnershipByItemIDResponse
- type GetUserEntitlementOwnershipByItemIdsOK
- type GetUserEntitlementOwnershipByItemIdsParams
- func NewGetUserEntitlementOwnershipByItemIdsParams() *GetUserEntitlementOwnershipByItemIdsParams
- func NewGetUserEntitlementOwnershipByItemIdsParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIdsParams
- func NewGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIdsParams
- func NewGetUserEntitlementOwnershipByItemIdsParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetIds(ids []string)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetPlatform(platform *string)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) SetUserID(userID string)
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithIds(ids []string) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithNamespace(namespace string) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithPlatform(platform *string) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WithUserID(userID string) *GetUserEntitlementOwnershipByItemIdsParams
- func (o *GetUserEntitlementOwnershipByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementOwnershipByItemIdsReader
- type GetUserEntitlementOwnershipByItemIdsResponse
- type GetUserEntitlementOwnershipBySkuOK
- type GetUserEntitlementOwnershipBySkuParams
- func NewGetUserEntitlementOwnershipBySkuParams() *GetUserEntitlementOwnershipBySkuParams
- func NewGetUserEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipBySkuParams
- func NewGetUserEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipBySkuParams
- func NewGetUserEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetPlatform(platform *string)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetSku(sku string)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementOwnershipBySkuParams) SetUserID(userID string)
- func (o *GetUserEntitlementOwnershipBySkuParams) WithContext(ctx context.Context) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithNamespace(namespace string) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithPlatform(platform *string) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithSku(sku string) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WithUserID(userID string) *GetUserEntitlementOwnershipBySkuParams
- func (o *GetUserEntitlementOwnershipBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementOwnershipBySkuReader
- type GetUserEntitlementOwnershipBySkuResponse
- type GetUserEntitlementParams
- func NewGetUserEntitlementParams() *GetUserEntitlementParams
- func NewGetUserEntitlementParamsWithContext(ctx context.Context) *GetUserEntitlementParams
- func NewGetUserEntitlementParamsWithHTTPClient(client *http.Client) *GetUserEntitlementParams
- func NewGetUserEntitlementParamsWithTimeout(timeout time.Duration) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *GetUserEntitlementParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementParams) SetUserID(userID string)
- func (o *GetUserEntitlementParams) WithContext(ctx context.Context) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) WithEntitlementID(entitlementID string) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) WithHTTPClient(client *http.Client) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) WithNamespace(namespace string) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) WithTimeout(timeout time.Duration) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) WithUserID(userID string) *GetUserEntitlementParams
- func (o *GetUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementReader
- type GetUserEntitlementResponse
- type GetUserEntitlementsByIdsOK
- type GetUserEntitlementsByIdsParams
- func NewGetUserEntitlementsByIdsParams() *GetUserEntitlementsByIdsParams
- func NewGetUserEntitlementsByIdsParamsWithContext(ctx context.Context) *GetUserEntitlementsByIdsParams
- func NewGetUserEntitlementsByIdsParamsWithHTTPClient(client *http.Client) *GetUserEntitlementsByIdsParams
- func NewGetUserEntitlementsByIdsParamsWithTimeout(timeout time.Duration) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserEntitlementsByIdsParams) SetContext(ctx context.Context)
- func (o *GetUserEntitlementsByIdsParams) SetFlightId(flightId string)
- func (o *GetUserEntitlementsByIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserEntitlementsByIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserEntitlementsByIdsParams) SetIds(ids []string)
- func (o *GetUserEntitlementsByIdsParams) SetNamespace(namespace string)
- func (o *GetUserEntitlementsByIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserEntitlementsByIdsParams) SetUserID(userID string)
- func (o *GetUserEntitlementsByIdsParams) WithContext(ctx context.Context) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) WithHTTPClient(client *http.Client) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) WithIds(ids []string) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) WithNamespace(namespace string) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) WithTimeout(timeout time.Duration) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) WithUserID(userID string) *GetUserEntitlementsByIdsParams
- func (o *GetUserEntitlementsByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserEntitlementsByIdsReader
- type GetUserEntitlementsByIdsResponse
- type GrantEntitlementsOK
- type GrantEntitlementsParams
- func NewGrantEntitlementsParams() *GrantEntitlementsParams
- func NewGrantEntitlementsParamsWithContext(ctx context.Context) *GrantEntitlementsParams
- func NewGrantEntitlementsParamsWithHTTPClient(client *http.Client) *GrantEntitlementsParams
- func NewGrantEntitlementsParamsWithTimeout(timeout time.Duration) *GrantEntitlementsParams
- func (o *GrantEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GrantEntitlementsParams) SetBody(body *platformclientmodels.BulkEntitlementGrantRequest)
- func (o *GrantEntitlementsParams) SetContext(ctx context.Context)
- func (o *GrantEntitlementsParams) SetFlightId(flightId string)
- func (o *GrantEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *GrantEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GrantEntitlementsParams) SetNamespace(namespace string)
- func (o *GrantEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *GrantEntitlementsParams) WithBody(body *platformclientmodels.BulkEntitlementGrantRequest) *GrantEntitlementsParams
- func (o *GrantEntitlementsParams) WithContext(ctx context.Context) *GrantEntitlementsParams
- func (o *GrantEntitlementsParams) WithHTTPClient(client *http.Client) *GrantEntitlementsParams
- func (o *GrantEntitlementsParams) WithNamespace(namespace string) *GrantEntitlementsParams
- func (o *GrantEntitlementsParams) WithTimeout(timeout time.Duration) *GrantEntitlementsParams
- func (o *GrantEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GrantEntitlementsReader
- type GrantEntitlementsResponse
- type GrantEntitlementsUnprocessableEntity
- type GrantUserEntitlementCreated
- type GrantUserEntitlementNotFound
- type GrantUserEntitlementParams
- func NewGrantUserEntitlementParams() *GrantUserEntitlementParams
- func NewGrantUserEntitlementParamsWithContext(ctx context.Context) *GrantUserEntitlementParams
- func NewGrantUserEntitlementParamsWithHTTPClient(client *http.Client) *GrantUserEntitlementParams
- func NewGrantUserEntitlementParamsWithTimeout(timeout time.Duration) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GrantUserEntitlementParams) SetBody(body []*platformclientmodels.EntitlementGrant)
- func (o *GrantUserEntitlementParams) SetContext(ctx context.Context)
- func (o *GrantUserEntitlementParams) SetFlightId(flightId string)
- func (o *GrantUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *GrantUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GrantUserEntitlementParams) SetNamespace(namespace string)
- func (o *GrantUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *GrantUserEntitlementParams) SetUserID(userID string)
- func (o *GrantUserEntitlementParams) WithBody(body []*platformclientmodels.EntitlementGrant) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) WithContext(ctx context.Context) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) WithHTTPClient(client *http.Client) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) WithNamespace(namespace string) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) WithTimeout(timeout time.Duration) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) WithUserID(userID string) *GrantUserEntitlementParams
- func (o *GrantUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GrantUserEntitlementReader
- type GrantUserEntitlementResponse
- type GrantUserEntitlementUnprocessableEntity
- type PreCheckRevokeUserEntitlementByUseCountNotFound
- type PreCheckRevokeUserEntitlementByUseCountOK
- type PreCheckRevokeUserEntitlementByUseCountParams
- func NewPreCheckRevokeUserEntitlementByUseCountParams() *PreCheckRevokeUserEntitlementByUseCountParams
- func NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext(ctx context.Context) *PreCheckRevokeUserEntitlementByUseCountParams
- func NewPreCheckRevokeUserEntitlementByUseCountParamsWithHTTPClient(client *http.Client) *PreCheckRevokeUserEntitlementByUseCountParams
- func NewPreCheckRevokeUserEntitlementByUseCountParamsWithTimeout(timeout time.Duration) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetContext(ctx context.Context)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClient(client *http.Client)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity(quantity int32)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetTimeout(timeout time.Duration)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetUserID(userID string)
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithContext(ctx context.Context) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithEntitlementID(entitlementID string) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithHTTPClient(client *http.Client) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithNamespace(namespace string) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithQuantity(quantity int32) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithTimeout(timeout time.Duration) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithUserID(userID string) *PreCheckRevokeUserEntitlementByUseCountParams
- func (o *PreCheckRevokeUserEntitlementByUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PreCheckRevokeUserEntitlementByUseCountReader
- type PreCheckRevokeUserEntitlementByUseCountResponse
- type PublicConsumeUserEntitlementBadRequest
- type PublicConsumeUserEntitlementConflict
- type PublicConsumeUserEntitlementNotFound
- type PublicConsumeUserEntitlementOK
- type PublicConsumeUserEntitlementParams
- func NewPublicConsumeUserEntitlementParams() *PublicConsumeUserEntitlementParams
- func NewPublicConsumeUserEntitlementParamsWithContext(ctx context.Context) *PublicConsumeUserEntitlementParams
- func NewPublicConsumeUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicConsumeUserEntitlementParams
- func NewPublicConsumeUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicConsumeUserEntitlementParams) SetBody(body *platformclientmodels.PublicEntitlementDecrement)
- func (o *PublicConsumeUserEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *PublicConsumeUserEntitlementParams) SetFlightId(flightId string)
- func (o *PublicConsumeUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicConsumeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicConsumeUserEntitlementParams) SetNamespace(namespace string)
- func (o *PublicConsumeUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicConsumeUserEntitlementParams) SetUserID(userID string)
- func (o *PublicConsumeUserEntitlementParams) WithBody(body *platformclientmodels.PublicEntitlementDecrement) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WithContext(ctx context.Context) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WithNamespace(namespace string) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WithUserID(userID string) *PublicConsumeUserEntitlementParams
- func (o *PublicConsumeUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicConsumeUserEntitlementReader
- type PublicConsumeUserEntitlementResponse
- type PublicExistsAnyMyActiveEntitlementOK
- type PublicExistsAnyMyActiveEntitlementParams
- func NewPublicExistsAnyMyActiveEntitlementParams() *PublicExistsAnyMyActiveEntitlementParams
- func NewPublicExistsAnyMyActiveEntitlementParamsWithContext(ctx context.Context) *PublicExistsAnyMyActiveEntitlementParams
- func NewPublicExistsAnyMyActiveEntitlementParamsWithHTTPClient(client *http.Client) *PublicExistsAnyMyActiveEntitlementParams
- func NewPublicExistsAnyMyActiveEntitlementParamsWithTimeout(timeout time.Duration) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetAppIds(appIds []string)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetFlightId(flightId string)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetItemIds(itemIds []string)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetNamespace(namespace string)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetSkus(skus []string)
- func (o *PublicExistsAnyMyActiveEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithAppIds(appIds []string) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithContext(ctx context.Context) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithHTTPClient(client *http.Client) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithItemIds(itemIds []string) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithNamespace(namespace string) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithSkus(skus []string) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WithTimeout(timeout time.Duration) *PublicExistsAnyMyActiveEntitlementParams
- func (o *PublicExistsAnyMyActiveEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicExistsAnyMyActiveEntitlementReader
- type PublicExistsAnyMyActiveEntitlementResponse
- type PublicExistsAnyUserActiveEntitlementOK
- type PublicExistsAnyUserActiveEntitlementParams
- func NewPublicExistsAnyUserActiveEntitlementParams() *PublicExistsAnyUserActiveEntitlementParams
- func NewPublicExistsAnyUserActiveEntitlementParamsWithContext(ctx context.Context) *PublicExistsAnyUserActiveEntitlementParams
- func NewPublicExistsAnyUserActiveEntitlementParamsWithHTTPClient(client *http.Client) *PublicExistsAnyUserActiveEntitlementParams
- func NewPublicExistsAnyUserActiveEntitlementParamsWithTimeout(timeout time.Duration) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetAppIds(appIds []string)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetFlightId(flightId string)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetItemIds(itemIds []string)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetSkus(skus []string)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicExistsAnyUserActiveEntitlementParams) SetUserID(userID string)
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithAppIds(appIds []string) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithContext(ctx context.Context) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithHTTPClient(client *http.Client) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithItemIds(itemIds []string) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithNamespace(namespace string) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithSkus(skus []string) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithTimeout(timeout time.Duration) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WithUserID(userID string) *PublicExistsAnyUserActiveEntitlementParams
- func (o *PublicExistsAnyUserActiveEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicExistsAnyUserActiveEntitlementReader
- type PublicExistsAnyUserActiveEntitlementResponse
- type PublicGetEntitlementOwnershipTokenOK
- type PublicGetEntitlementOwnershipTokenParams
- func NewPublicGetEntitlementOwnershipTokenParams() *PublicGetEntitlementOwnershipTokenParams
- func NewPublicGetEntitlementOwnershipTokenParamsWithContext(ctx context.Context) *PublicGetEntitlementOwnershipTokenParams
- func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient(client *http.Client) *PublicGetEntitlementOwnershipTokenParams
- func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout(timeout time.Duration) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) SetAppIds(appIds []string)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetContext(ctx context.Context)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetFlightId(flightId string)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetItemIds(itemIds []string)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetNamespace(namespace string)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetSkus(skus []string)
- func (o *PublicGetEntitlementOwnershipTokenParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetEntitlementOwnershipTokenParams) WithAppIds(appIds []string) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WithContext(ctx context.Context) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WithHTTPClient(client *http.Client) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WithItemIds(itemIds []string) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WithNamespace(namespace string) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WithSkus(skus []string) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WithTimeout(timeout time.Duration) *PublicGetEntitlementOwnershipTokenParams
- func (o *PublicGetEntitlementOwnershipTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetEntitlementOwnershipTokenReader
- type PublicGetEntitlementOwnershipTokenResponse
- type PublicGetMyAppEntitlementOwnershipByAppIDOK
- type PublicGetMyAppEntitlementOwnershipByAppIDParams
- func NewPublicGetMyAppEntitlementOwnershipByAppIDParams() *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAppID(appID string)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetContext(ctx context.Context)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithAppID(appID string) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithContext(ctx context.Context) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithHTTPClient(client *http.Client) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithNamespace(namespace string) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithTimeout(timeout time.Duration) *PublicGetMyAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetMyAppEntitlementOwnershipByAppIDReader
- type PublicGetMyAppEntitlementOwnershipByAppIDResponse
- type PublicGetMyEntitlementOwnershipByItemIDOK
- type PublicGetMyEntitlementOwnershipByItemIDParams
- func NewPublicGetMyEntitlementOwnershipByItemIDParams() *PublicGetMyEntitlementOwnershipByItemIDParams
- func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipByItemIDParams
- func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipByItemIDParams
- func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetContext(ctx context.Context)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID(itemID string)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithItemID(itemID string) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithNamespace(namespace string) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipByItemIDParams
- func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetMyEntitlementOwnershipByItemIDReader
- type PublicGetMyEntitlementOwnershipByItemIDResponse
- type PublicGetMyEntitlementOwnershipBySkuOK
- type PublicGetMyEntitlementOwnershipBySkuParams
- func NewPublicGetMyEntitlementOwnershipBySkuParams() *PublicGetMyEntitlementOwnershipBySkuParams
- func NewPublicGetMyEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipBySkuParams
- func NewPublicGetMyEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipBySkuParams
- func NewPublicGetMyEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetContext(ctx context.Context)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetFlightId(flightId string)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace(namespace string)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetSku(sku string)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithNamespace(namespace string) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithSku(sku string) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipBySkuParams
- func (o *PublicGetMyEntitlementOwnershipBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetMyEntitlementOwnershipBySkuReader
- type PublicGetMyEntitlementOwnershipBySkuResponse
- type PublicGetUserAppEntitlementByAppIDNotFound
- type PublicGetUserAppEntitlementByAppIDOK
- type PublicGetUserAppEntitlementByAppIDParams
- func NewPublicGetUserAppEntitlementByAppIDParams() *PublicGetUserAppEntitlementByAppIDParams
- func NewPublicGetUserAppEntitlementByAppIDParamsWithContext(ctx context.Context) *PublicGetUserAppEntitlementByAppIDParams
- func NewPublicGetUserAppEntitlementByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementByAppIDParams
- func NewPublicGetUserAppEntitlementByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetAppID(appID string)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetContext(ctx context.Context)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetFlightId(flightId string)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserAppEntitlementByAppIDParams) SetUserID(userID string)
- func (o *PublicGetUserAppEntitlementByAppIDParams) WithAppID(appID string) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) WithContext(ctx context.Context) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) WithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) WithNamespace(namespace string) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) WithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) WithUserID(userID string) *PublicGetUserAppEntitlementByAppIDParams
- func (o *PublicGetUserAppEntitlementByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserAppEntitlementByAppIDReader
- type PublicGetUserAppEntitlementByAppIDResponse
- type PublicGetUserAppEntitlementOwnershipByAppIDOK
- type PublicGetUserAppEntitlementOwnershipByAppIDParams
- func NewPublicGetUserAppEntitlementOwnershipByAppIDParams() *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAppID(appID string)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetContext(ctx context.Context)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetUserID(userID string)
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithAppID(appID string) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithContext(ctx context.Context) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithNamespace(namespace string) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithUserID(userID string) *PublicGetUserAppEntitlementOwnershipByAppIDParams
- func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserAppEntitlementOwnershipByAppIDReader
- type PublicGetUserAppEntitlementOwnershipByAppIDResponse
- type PublicGetUserEntitlementByItemIDNotFound
- type PublicGetUserEntitlementByItemIDOK
- type PublicGetUserEntitlementByItemIDParams
- func NewPublicGetUserEntitlementByItemIDParams() *PublicGetUserEntitlementByItemIDParams
- func NewPublicGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementByItemIDParams
- func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementByItemIDParams
- func NewPublicGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementByItemIDParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicGetUserEntitlementByItemIDParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementByItemIDParams) SetItemID(itemID string)
- func (o *PublicGetUserEntitlementByItemIDParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementByItemIDParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementByItemIDParams) WithContext(ctx context.Context) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WithItemID(itemID string) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WithNamespace(namespace string) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WithUserID(userID string) *PublicGetUserEntitlementByItemIDParams
- func (o *PublicGetUserEntitlementByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementByItemIDReader
- type PublicGetUserEntitlementByItemIDResponse
- type PublicGetUserEntitlementBySkuNotFound
- type PublicGetUserEntitlementBySkuOK
- type PublicGetUserEntitlementBySkuParams
- func NewPublicGetUserEntitlementBySkuParams() *PublicGetUserEntitlementBySkuParams
- func NewPublicGetUserEntitlementBySkuParamsWithContext(ctx context.Context) *PublicGetUserEntitlementBySkuParams
- func NewPublicGetUserEntitlementBySkuParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementBySkuParams
- func NewPublicGetUserEntitlementBySkuParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementBySkuParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementBySkuParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicGetUserEntitlementBySkuParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementBySkuParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementBySkuParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementBySkuParams) SetSku(sku string)
- func (o *PublicGetUserEntitlementBySkuParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementBySkuParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementBySkuParams) WithContext(ctx context.Context) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WithNamespace(namespace string) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WithSku(sku string) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WithUserID(userID string) *PublicGetUserEntitlementBySkuParams
- func (o *PublicGetUserEntitlementBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementBySkuReader
- type PublicGetUserEntitlementBySkuResponse
- type PublicGetUserEntitlementNotFound
- type PublicGetUserEntitlementOK
- type PublicGetUserEntitlementOwnershipByItemIDOK
- type PublicGetUserEntitlementOwnershipByItemIDParams
- func NewPublicGetUserEntitlementOwnershipByItemIDParams() *PublicGetUserEntitlementOwnershipByItemIDParams
- func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIDParams
- func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIDParams
- func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID(itemID string)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithItemID(itemID string) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithNamespace(namespace string) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithUserID(userID string) *PublicGetUserEntitlementOwnershipByItemIDParams
- func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementOwnershipByItemIDReader
- type PublicGetUserEntitlementOwnershipByItemIDResponse
- type PublicGetUserEntitlementOwnershipByItemIdsOK
- type PublicGetUserEntitlementOwnershipByItemIdsParams
- func NewPublicGetUserEntitlementOwnershipByItemIdsParams() *PublicGetUserEntitlementOwnershipByItemIdsParams
- func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetIds(ids []string)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithIds(ids []string) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithNamespace(namespace string) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithUserID(userID string) *PublicGetUserEntitlementOwnershipByItemIdsParams
- func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementOwnershipByItemIdsReader
- type PublicGetUserEntitlementOwnershipByItemIdsResponse
- type PublicGetUserEntitlementOwnershipBySkuOK
- type PublicGetUserEntitlementOwnershipBySkuParams
- func NewPublicGetUserEntitlementOwnershipBySkuParams() *PublicGetUserEntitlementOwnershipBySkuParams
- func NewPublicGetUserEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipBySkuParams
- func NewPublicGetUserEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipBySkuParams
- func NewPublicGetUserEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetSku(sku string)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithNamespace(namespace string) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithSku(sku string) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithUserID(userID string) *PublicGetUserEntitlementOwnershipBySkuParams
- func (o *PublicGetUserEntitlementOwnershipBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementOwnershipBySkuReader
- type PublicGetUserEntitlementOwnershipBySkuResponse
- type PublicGetUserEntitlementParams
- func NewPublicGetUserEntitlementParams() *PublicGetUserEntitlementParams
- func NewPublicGetUserEntitlementParamsWithContext(ctx context.Context) *PublicGetUserEntitlementParams
- func NewPublicGetUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementParams
- func NewPublicGetUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *PublicGetUserEntitlementParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementParams) WithContext(ctx context.Context) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) WithNamespace(namespace string) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) WithUserID(userID string) *PublicGetUserEntitlementParams
- func (o *PublicGetUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementReader
- type PublicGetUserEntitlementResponse
- type PublicGetUserEntitlementsByIdsOK
- type PublicGetUserEntitlementsByIdsParams
- func NewPublicGetUserEntitlementsByIdsParams() *PublicGetUserEntitlementsByIdsParams
- func NewPublicGetUserEntitlementsByIdsParamsWithContext(ctx context.Context) *PublicGetUserEntitlementsByIdsParams
- func NewPublicGetUserEntitlementsByIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementsByIdsParams
- func NewPublicGetUserEntitlementsByIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly(availablePlatformOnly *bool)
- func (o *PublicGetUserEntitlementsByIdsParams) SetContext(ctx context.Context)
- func (o *PublicGetUserEntitlementsByIdsParams) SetFlightId(flightId string)
- func (o *PublicGetUserEntitlementsByIdsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserEntitlementsByIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserEntitlementsByIdsParams) SetIds(ids []string)
- func (o *PublicGetUserEntitlementsByIdsParams) SetNamespace(namespace string)
- func (o *PublicGetUserEntitlementsByIdsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserEntitlementsByIdsParams) SetUserID(userID string)
- func (o *PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly(availablePlatformOnly *bool) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WithContext(ctx context.Context) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WithIds(ids []string) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WithNamespace(namespace string) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WithUserID(userID string) *PublicGetUserEntitlementsByIdsParams
- func (o *PublicGetUserEntitlementsByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserEntitlementsByIdsReader
- type PublicGetUserEntitlementsByIdsResponse
- type PublicQueryUserEntitlementsByAppTypeOK
- type PublicQueryUserEntitlementsByAppTypeParams
- func NewPublicQueryUserEntitlementsByAppTypeParams() *PublicQueryUserEntitlementsByAppTypeParams
- func NewPublicQueryUserEntitlementsByAppTypeParamsWithContext(ctx context.Context) *PublicQueryUserEntitlementsByAppTypeParams
- func NewPublicQueryUserEntitlementsByAppTypeParamsWithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsByAppTypeParams
- func NewPublicQueryUserEntitlementsByAppTypeParamsWithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetAppType(appType string)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetContext(ctx context.Context)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetFlightId(flightId string)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClient(client *http.Client)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetLimit(limit *int32)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetOffset(offset *int32)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetTimeout(timeout time.Duration)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) SetUserID(userID string)
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithAppType(appType string) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithContext(ctx context.Context) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithLimit(limit *int32) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithNamespace(namespace string) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithOffset(offset *int32) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WithUserID(userID string) *PublicQueryUserEntitlementsByAppTypeParams
- func (o *PublicQueryUserEntitlementsByAppTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicQueryUserEntitlementsByAppTypeReader
- type PublicQueryUserEntitlementsByAppTypeResponse
- type PublicQueryUserEntitlementsOK
- type PublicQueryUserEntitlementsParams
- func NewPublicQueryUserEntitlementsParams() *PublicQueryUserEntitlementsParams
- func NewPublicQueryUserEntitlementsParamsWithContext(ctx context.Context) *PublicQueryUserEntitlementsParams
- func NewPublicQueryUserEntitlementsParamsWithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsParams
- func NewPublicQueryUserEntitlementsParamsWithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) SetAppType(appType *string)
- func (o *PublicQueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicQueryUserEntitlementsParams) SetContext(ctx context.Context)
- func (o *PublicQueryUserEntitlementsParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicQueryUserEntitlementsParams) SetEntitlementName(entitlementName *string)
- func (o *PublicQueryUserEntitlementsParams) SetFeatures(features []string)
- func (o *PublicQueryUserEntitlementsParams) SetFlightId(flightId string)
- func (o *PublicQueryUserEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *PublicQueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicQueryUserEntitlementsParams) SetItemID(itemID []string)
- func (o *PublicQueryUserEntitlementsParams) SetLimit(limit *int32)
- func (o *PublicQueryUserEntitlementsParams) SetNamespace(namespace string)
- func (o *PublicQueryUserEntitlementsParams) SetOffset(offset *int32)
- func (o *PublicQueryUserEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *PublicQueryUserEntitlementsParams) SetUserID(userID string)
- func (o *PublicQueryUserEntitlementsParams) WithAppType(appType *string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithContext(ctx context.Context) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithEntitlementClazz(entitlementClazz *string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithEntitlementName(entitlementName *string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithFeatures(features []string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithItemID(itemID []string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithLimit(limit *int32) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithNamespace(namespace string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithOffset(offset *int32) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WithUserID(userID string) *PublicQueryUserEntitlementsParams
- func (o *PublicQueryUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicQueryUserEntitlementsReader
- type PublicQueryUserEntitlementsResponse
- type PublicSellUserEntitlementConflict
- type PublicSellUserEntitlementNotFound
- type PublicSellUserEntitlementOK
- type PublicSellUserEntitlementParams
- func NewPublicSellUserEntitlementParams() *PublicSellUserEntitlementParams
- func NewPublicSellUserEntitlementParamsWithContext(ctx context.Context) *PublicSellUserEntitlementParams
- func NewPublicSellUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicSellUserEntitlementParams
- func NewPublicSellUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicSellUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementSoldRequest)
- func (o *PublicSellUserEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicSellUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *PublicSellUserEntitlementParams) SetFlightId(flightId string)
- func (o *PublicSellUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicSellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicSellUserEntitlementParams) SetNamespace(namespace string)
- func (o *PublicSellUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicSellUserEntitlementParams) SetUserID(userID string)
- func (o *PublicSellUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementSoldRequest) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WithContext(ctx context.Context) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WithNamespace(namespace string) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WithUserID(userID string) *PublicSellUserEntitlementParams
- func (o *PublicSellUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicSellUserEntitlementReader
- type PublicSellUserEntitlementResponse
- type PublicSplitUserEntitlementConflict
- type PublicSplitUserEntitlementNotFound
- type PublicSplitUserEntitlementOK
- type PublicSplitUserEntitlementParams
- func NewPublicSplitUserEntitlementParams() *PublicSplitUserEntitlementParams
- func NewPublicSplitUserEntitlementParamsWithContext(ctx context.Context) *PublicSplitUserEntitlementParams
- func NewPublicSplitUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicSplitUserEntitlementParams
- func NewPublicSplitUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicSplitUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementSplitRequest)
- func (o *PublicSplitUserEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicSplitUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *PublicSplitUserEntitlementParams) SetFlightId(flightId string)
- func (o *PublicSplitUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicSplitUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicSplitUserEntitlementParams) SetNamespace(namespace string)
- func (o *PublicSplitUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicSplitUserEntitlementParams) SetUserID(userID string)
- func (o *PublicSplitUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementSplitRequest) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WithContext(ctx context.Context) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WithNamespace(namespace string) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WithUserID(userID string) *PublicSplitUserEntitlementParams
- func (o *PublicSplitUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicSplitUserEntitlementReader
- type PublicSplitUserEntitlementResponse
- type PublicTransferUserEntitlementConflict
- type PublicTransferUserEntitlementNotFound
- type PublicTransferUserEntitlementOK
- type PublicTransferUserEntitlementParams
- func NewPublicTransferUserEntitlementParams() *PublicTransferUserEntitlementParams
- func NewPublicTransferUserEntitlementParamsWithContext(ctx context.Context) *PublicTransferUserEntitlementParams
- func NewPublicTransferUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicTransferUserEntitlementParams
- func NewPublicTransferUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicTransferUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementTransferRequest)
- func (o *PublicTransferUserEntitlementParams) SetContext(ctx context.Context)
- func (o *PublicTransferUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *PublicTransferUserEntitlementParams) SetFlightId(flightId string)
- func (o *PublicTransferUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *PublicTransferUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicTransferUserEntitlementParams) SetNamespace(namespace string)
- func (o *PublicTransferUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *PublicTransferUserEntitlementParams) SetUserID(userID string)
- func (o *PublicTransferUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementTransferRequest) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WithContext(ctx context.Context) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WithNamespace(namespace string) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WithUserID(userID string) *PublicTransferUserEntitlementParams
- func (o *PublicTransferUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicTransferUserEntitlementReader
- type PublicTransferUserEntitlementResponse
- type PublicUserEntitlementHistoryOK
- type PublicUserEntitlementHistoryParams
- func NewPublicUserEntitlementHistoryParams() *PublicUserEntitlementHistoryParams
- func NewPublicUserEntitlementHistoryParamsWithContext(ctx context.Context) *PublicUserEntitlementHistoryParams
- func NewPublicUserEntitlementHistoryParamsWithHTTPClient(client *http.Client) *PublicUserEntitlementHistoryParams
- func NewPublicUserEntitlementHistoryParamsWithTimeout(timeout time.Duration) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicUserEntitlementHistoryParams) SetContext(ctx context.Context)
- func (o *PublicUserEntitlementHistoryParams) SetEndDate(endDate *string)
- func (o *PublicUserEntitlementHistoryParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *PublicUserEntitlementHistoryParams) SetFlightId(flightId string)
- func (o *PublicUserEntitlementHistoryParams) SetHTTPClient(client *http.Client)
- func (o *PublicUserEntitlementHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicUserEntitlementHistoryParams) SetLimit(limit *int32)
- func (o *PublicUserEntitlementHistoryParams) SetNamespace(namespace string)
- func (o *PublicUserEntitlementHistoryParams) SetOffset(offset *int32)
- func (o *PublicUserEntitlementHistoryParams) SetStartDate(startDate *string)
- func (o *PublicUserEntitlementHistoryParams) SetTimeout(timeout time.Duration)
- func (o *PublicUserEntitlementHistoryParams) SetUserID(userID string)
- func (o *PublicUserEntitlementHistoryParams) WithContext(ctx context.Context) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithEndDate(endDate *string) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithEntitlementClazz(entitlementClazz *string) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithHTTPClient(client *http.Client) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithLimit(limit *int32) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithNamespace(namespace string) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithOffset(offset *int32) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithStartDate(startDate *string) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithTimeout(timeout time.Duration) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WithUserID(userID string) *PublicUserEntitlementHistoryParams
- func (o *PublicUserEntitlementHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUserEntitlementHistoryReader
- type PublicUserEntitlementHistoryResponse
- type QueryEntitlements1OK
- type QueryEntitlements1Params
- func NewQueryEntitlements1Params() *QueryEntitlements1Params
- func NewQueryEntitlements1ParamsWithContext(ctx context.Context) *QueryEntitlements1Params
- func NewQueryEntitlements1ParamsWithHTTPClient(client *http.Client) *QueryEntitlements1Params
- func NewQueryEntitlements1ParamsWithTimeout(timeout time.Duration) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) SetActiveOnly(activeOnly *bool)
- func (o *QueryEntitlements1Params) SetAppType(appType *string)
- func (o *QueryEntitlements1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryEntitlements1Params) SetContext(ctx context.Context)
- func (o *QueryEntitlements1Params) SetEntitlementClazz(entitlementClazz *string)
- func (o *QueryEntitlements1Params) SetEntitlementName(entitlementName *string)
- func (o *QueryEntitlements1Params) SetFlightId(flightId string)
- func (o *QueryEntitlements1Params) SetHTTPClient(client *http.Client)
- func (o *QueryEntitlements1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryEntitlements1Params) SetItemID(itemID []string)
- func (o *QueryEntitlements1Params) SetLimit(limit *int32)
- func (o *QueryEntitlements1Params) SetNamespace(namespace string)
- func (o *QueryEntitlements1Params) SetOffset(offset *int32)
- func (o *QueryEntitlements1Params) SetOrigin(origin *string)
- func (o *QueryEntitlements1Params) SetTimeout(timeout time.Duration)
- func (o *QueryEntitlements1Params) SetUserID(userID *string)
- func (o *QueryEntitlements1Params) WithActiveOnly(activeOnly *bool) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithAppType(appType *string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithContext(ctx context.Context) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithEntitlementClazz(entitlementClazz *string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithEntitlementName(entitlementName *string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithHTTPClient(client *http.Client) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithItemID(itemID []string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithLimit(limit *int32) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithNamespace(namespace string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithOffset(offset *int32) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithOrigin(origin *string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithTimeout(timeout time.Duration) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WithUserID(userID *string) *QueryEntitlements1Params
- func (o *QueryEntitlements1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryEntitlements1Reader
- type QueryEntitlements1Response
- type QueryEntitlementsOK
- type QueryEntitlementsParams
- func NewQueryEntitlementsParams() *QueryEntitlementsParams
- func NewQueryEntitlementsParamsWithContext(ctx context.Context) *QueryEntitlementsParams
- func NewQueryEntitlementsParamsWithHTTPClient(client *http.Client) *QueryEntitlementsParams
- func NewQueryEntitlementsParamsWithTimeout(timeout time.Duration) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) SetActiveOnly(activeOnly *bool)
- func (o *QueryEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryEntitlementsParams) SetContext(ctx context.Context)
- func (o *QueryEntitlementsParams) SetFlightId(flightId string)
- func (o *QueryEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *QueryEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryEntitlementsParams) SetItemIds(itemIds []string)
- func (o *QueryEntitlementsParams) SetLimit(limit *int32)
- func (o *QueryEntitlementsParams) SetNamespace(namespace string)
- func (o *QueryEntitlementsParams) SetOffset(offset *int32)
- func (o *QueryEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *QueryEntitlementsParams) WithActiveOnly(activeOnly *bool) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithContext(ctx context.Context) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithHTTPClient(client *http.Client) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithItemIds(itemIds []string) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithLimit(limit *int32) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithNamespace(namespace string) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithOffset(offset *int32) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WithTimeout(timeout time.Duration) *QueryEntitlementsParams
- func (o *QueryEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryEntitlementsReader
- type QueryEntitlementsResponse
- type QueryUserEntitlementsByAppTypeOK
- type QueryUserEntitlementsByAppTypeParams
- func NewQueryUserEntitlementsByAppTypeParams() *QueryUserEntitlementsByAppTypeParams
- func NewQueryUserEntitlementsByAppTypeParamsWithContext(ctx context.Context) *QueryUserEntitlementsByAppTypeParams
- func NewQueryUserEntitlementsByAppTypeParamsWithHTTPClient(client *http.Client) *QueryUserEntitlementsByAppTypeParams
- func NewQueryUserEntitlementsByAppTypeParamsWithTimeout(timeout time.Duration) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) SetActiveOnly(activeOnly *bool)
- func (o *QueryUserEntitlementsByAppTypeParams) SetAppType(appType string)
- func (o *QueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserEntitlementsByAppTypeParams) SetContext(ctx context.Context)
- func (o *QueryUserEntitlementsByAppTypeParams) SetFlightId(flightId string)
- func (o *QueryUserEntitlementsByAppTypeParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserEntitlementsByAppTypeParams) SetLimit(limit *int32)
- func (o *QueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)
- func (o *QueryUserEntitlementsByAppTypeParams) SetOffset(offset *int32)
- func (o *QueryUserEntitlementsByAppTypeParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserEntitlementsByAppTypeParams) SetUserID(userID string)
- func (o *QueryUserEntitlementsByAppTypeParams) WithActiveOnly(activeOnly *bool) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithAppType(appType string) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithContext(ctx context.Context) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithHTTPClient(client *http.Client) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithLimit(limit *int32) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithNamespace(namespace string) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithOffset(offset *int32) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithTimeout(timeout time.Duration) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WithUserID(userID string) *QueryUserEntitlementsByAppTypeParams
- func (o *QueryUserEntitlementsByAppTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserEntitlementsByAppTypeReader
- type QueryUserEntitlementsByAppTypeResponse
- type QueryUserEntitlementsOK
- type QueryUserEntitlementsParams
- func NewQueryUserEntitlementsParams() *QueryUserEntitlementsParams
- func NewQueryUserEntitlementsParamsWithContext(ctx context.Context) *QueryUserEntitlementsParams
- func NewQueryUserEntitlementsParamsWithHTTPClient(client *http.Client) *QueryUserEntitlementsParams
- func NewQueryUserEntitlementsParamsWithTimeout(timeout time.Duration) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) SetActiveOnly(activeOnly *bool)
- func (o *QueryUserEntitlementsParams) SetAppType(appType *string)
- func (o *QueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserEntitlementsParams) SetCollectionID(collectionID *string)
- func (o *QueryUserEntitlementsParams) SetContext(ctx context.Context)
- func (o *QueryUserEntitlementsParams) SetEntitlementClazz(entitlementClazz *string)
- func (o *QueryUserEntitlementsParams) SetEntitlementName(entitlementName *string)
- func (o *QueryUserEntitlementsParams) SetFeatures(features []string)
- func (o *QueryUserEntitlementsParams) SetFlightId(flightId string)
- func (o *QueryUserEntitlementsParams) SetFuzzyMatchName(fuzzyMatchName *bool)
- func (o *QueryUserEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserEntitlementsParams) SetIgnoreActiveDate(ignoreActiveDate *bool)
- func (o *QueryUserEntitlementsParams) SetItemID(itemID []string)
- func (o *QueryUserEntitlementsParams) SetLimit(limit *int32)
- func (o *QueryUserEntitlementsParams) SetNamespace(namespace string)
- func (o *QueryUserEntitlementsParams) SetOffset(offset *int32)
- func (o *QueryUserEntitlementsParams) SetOrigin(origin *string)
- func (o *QueryUserEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserEntitlementsParams) SetUserID(userID string)
- func (o *QueryUserEntitlementsParams) WithActiveOnly(activeOnly *bool) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithAppType(appType *string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithCollectionID(collectionID *string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithContext(ctx context.Context) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithEntitlementClazz(entitlementClazz *string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithEntitlementName(entitlementName *string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithFeatures(features []string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithFuzzyMatchName(fuzzyMatchName *bool) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithHTTPClient(client *http.Client) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithIgnoreActiveDate(ignoreActiveDate *bool) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithItemID(itemID []string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithLimit(limit *int32) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithNamespace(namespace string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithOffset(offset *int32) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithOrigin(origin *string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithTimeout(timeout time.Duration) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WithUserID(userID string) *QueryUserEntitlementsParams
- func (o *QueryUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserEntitlementsReader
- type QueryUserEntitlementsResponse
- type RevokeAllEntitlementsOK
- type RevokeAllEntitlementsParams
- func NewRevokeAllEntitlementsParams() *RevokeAllEntitlementsParams
- func NewRevokeAllEntitlementsParamsWithContext(ctx context.Context) *RevokeAllEntitlementsParams
- func NewRevokeAllEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeAllEntitlementsParams
- func NewRevokeAllEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeAllEntitlementsParams
- func (o *RevokeAllEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeAllEntitlementsParams) SetContext(ctx context.Context)
- func (o *RevokeAllEntitlementsParams) SetFlightId(flightId string)
- func (o *RevokeAllEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *RevokeAllEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeAllEntitlementsParams) SetNamespace(namespace string)
- func (o *RevokeAllEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *RevokeAllEntitlementsParams) SetUserID(userID string)
- func (o *RevokeAllEntitlementsParams) WithContext(ctx context.Context) *RevokeAllEntitlementsParams
- func (o *RevokeAllEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeAllEntitlementsParams
- func (o *RevokeAllEntitlementsParams) WithNamespace(namespace string) *RevokeAllEntitlementsParams
- func (o *RevokeAllEntitlementsParams) WithTimeout(timeout time.Duration) *RevokeAllEntitlementsParams
- func (o *RevokeAllEntitlementsParams) WithUserID(userID string) *RevokeAllEntitlementsParams
- func (o *RevokeAllEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeAllEntitlementsReader
- type RevokeAllEntitlementsResponse
- type RevokeEntitlementsOK
- type RevokeEntitlementsParams
- func NewRevokeEntitlementsParams() *RevokeEntitlementsParams
- func NewRevokeEntitlementsParamsWithContext(ctx context.Context) *RevokeEntitlementsParams
- func NewRevokeEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeEntitlementsParams
- func NewRevokeEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeEntitlementsParams
- func (o *RevokeEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeEntitlementsParams) SetBody(body []string)
- func (o *RevokeEntitlementsParams) SetContext(ctx context.Context)
- func (o *RevokeEntitlementsParams) SetFlightId(flightId string)
- func (o *RevokeEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *RevokeEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeEntitlementsParams) SetNamespace(namespace string)
- func (o *RevokeEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *RevokeEntitlementsParams) WithBody(body []string) *RevokeEntitlementsParams
- func (o *RevokeEntitlementsParams) WithContext(ctx context.Context) *RevokeEntitlementsParams
- func (o *RevokeEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeEntitlementsParams
- func (o *RevokeEntitlementsParams) WithNamespace(namespace string) *RevokeEntitlementsParams
- func (o *RevokeEntitlementsParams) WithTimeout(timeout time.Duration) *RevokeEntitlementsParams
- func (o *RevokeEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeEntitlementsReader
- type RevokeEntitlementsResponse
- type RevokeEntitlementsUnprocessableEntity
- type RevokeUseCountNotFound
- type RevokeUseCountOK
- type RevokeUseCountParams
- func NewRevokeUseCountParams() *RevokeUseCountParams
- func NewRevokeUseCountParamsWithContext(ctx context.Context) *RevokeUseCountParams
- func NewRevokeUseCountParamsWithHTTPClient(client *http.Client) *RevokeUseCountParams
- func NewRevokeUseCountParamsWithTimeout(timeout time.Duration) *RevokeUseCountParams
- func (o *RevokeUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeUseCountParams) SetBody(body *platformclientmodels.RevokeUseCountRequest)
- func (o *RevokeUseCountParams) SetContext(ctx context.Context)
- func (o *RevokeUseCountParams) SetEntitlementID(entitlementID string)
- func (o *RevokeUseCountParams) SetFlightId(flightId string)
- func (o *RevokeUseCountParams) SetHTTPClient(client *http.Client)
- func (o *RevokeUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeUseCountParams) SetNamespace(namespace string)
- func (o *RevokeUseCountParams) SetTimeout(timeout time.Duration)
- func (o *RevokeUseCountParams) SetUserID(userID string)
- func (o *RevokeUseCountParams) WithBody(body *platformclientmodels.RevokeUseCountRequest) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WithContext(ctx context.Context) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WithEntitlementID(entitlementID string) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WithHTTPClient(client *http.Client) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WithNamespace(namespace string) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WithTimeout(timeout time.Duration) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WithUserID(userID string) *RevokeUseCountParams
- func (o *RevokeUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeUseCountReader
- type RevokeUseCountResponse
- type RevokeUserEntitlementByUseCountNotFound
- type RevokeUserEntitlementByUseCountOK
- type RevokeUserEntitlementByUseCountParams
- func NewRevokeUserEntitlementByUseCountParams() *RevokeUserEntitlementByUseCountParams
- func NewRevokeUserEntitlementByUseCountParamsWithContext(ctx context.Context) *RevokeUserEntitlementByUseCountParams
- func NewRevokeUserEntitlementByUseCountParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementByUseCountParams
- func NewRevokeUserEntitlementByUseCountParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeUserEntitlementByUseCountParams) SetBody(body *platformclientmodels.RevokeUseCountRequest)
- func (o *RevokeUserEntitlementByUseCountParams) SetContext(ctx context.Context)
- func (o *RevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)
- func (o *RevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)
- func (o *RevokeUserEntitlementByUseCountParams) SetHTTPClient(client *http.Client)
- func (o *RevokeUserEntitlementByUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)
- func (o *RevokeUserEntitlementByUseCountParams) SetTimeout(timeout time.Duration)
- func (o *RevokeUserEntitlementByUseCountParams) SetUserID(userID string)
- func (o *RevokeUserEntitlementByUseCountParams) WithBody(body *platformclientmodels.RevokeUseCountRequest) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WithContext(ctx context.Context) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WithEntitlementID(entitlementID string) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WithHTTPClient(client *http.Client) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WithNamespace(namespace string) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WithTimeout(timeout time.Duration) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WithUserID(userID string) *RevokeUserEntitlementByUseCountParams
- func (o *RevokeUserEntitlementByUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeUserEntitlementByUseCountReader
- type RevokeUserEntitlementByUseCountResponse
- type RevokeUserEntitlementNotFound
- type RevokeUserEntitlementOK
- type RevokeUserEntitlementParams
- func NewRevokeUserEntitlementParams() *RevokeUserEntitlementParams
- func NewRevokeUserEntitlementParamsWithContext(ctx context.Context) *RevokeUserEntitlementParams
- func NewRevokeUserEntitlementParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementParams
- func NewRevokeUserEntitlementParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementRevokeRequest)
- func (o *RevokeUserEntitlementParams) SetContext(ctx context.Context)
- func (o *RevokeUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *RevokeUserEntitlementParams) SetFlightId(flightId string)
- func (o *RevokeUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *RevokeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeUserEntitlementParams) SetNamespace(namespace string)
- func (o *RevokeUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *RevokeUserEntitlementParams) SetUserID(userID string)
- func (o *RevokeUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementRevokeRequest) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WithContext(ctx context.Context) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WithEntitlementID(entitlementID string) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WithHTTPClient(client *http.Client) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WithNamespace(namespace string) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WithTimeout(timeout time.Duration) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WithUserID(userID string) *RevokeUserEntitlementParams
- func (o *RevokeUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeUserEntitlementReader
- type RevokeUserEntitlementResponse
- type RevokeUserEntitlementsOK
- type RevokeUserEntitlementsParams
- func NewRevokeUserEntitlementsParams() *RevokeUserEntitlementsParams
- func NewRevokeUserEntitlementsParamsWithContext(ctx context.Context) *RevokeUserEntitlementsParams
- func NewRevokeUserEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementsParams
- func NewRevokeUserEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeUserEntitlementsParams) SetContext(ctx context.Context)
- func (o *RevokeUserEntitlementsParams) SetEntitlementIds(entitlementIds string)
- func (o *RevokeUserEntitlementsParams) SetFlightId(flightId string)
- func (o *RevokeUserEntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *RevokeUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeUserEntitlementsParams) SetNamespace(namespace string)
- func (o *RevokeUserEntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *RevokeUserEntitlementsParams) SetUserID(userID string)
- func (o *RevokeUserEntitlementsParams) WithContext(ctx context.Context) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) WithEntitlementIds(entitlementIds string) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) WithNamespace(namespace string) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) WithTimeout(timeout time.Duration) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) WithUserID(userID string) *RevokeUserEntitlementsParams
- func (o *RevokeUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeUserEntitlementsReader
- type RevokeUserEntitlementsResponse
- type SellUserEntitlementConflict
- type SellUserEntitlementNotFound
- type SellUserEntitlementOK
- type SellUserEntitlementParams
- func NewSellUserEntitlementParams() *SellUserEntitlementParams
- func NewSellUserEntitlementParamsWithContext(ctx context.Context) *SellUserEntitlementParams
- func NewSellUserEntitlementParamsWithHTTPClient(client *http.Client) *SellUserEntitlementParams
- func NewSellUserEntitlementParamsWithTimeout(timeout time.Duration) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SellUserEntitlementParams) SetBody(body *platformclientmodels.AdminEntitlementSoldRequest)
- func (o *SellUserEntitlementParams) SetContext(ctx context.Context)
- func (o *SellUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *SellUserEntitlementParams) SetFlightId(flightId string)
- func (o *SellUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *SellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SellUserEntitlementParams) SetNamespace(namespace string)
- func (o *SellUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *SellUserEntitlementParams) SetUserID(userID string)
- func (o *SellUserEntitlementParams) WithBody(body *platformclientmodels.AdminEntitlementSoldRequest) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WithContext(ctx context.Context) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WithEntitlementID(entitlementID string) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WithHTTPClient(client *http.Client) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WithNamespace(namespace string) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WithTimeout(timeout time.Duration) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WithUserID(userID string) *SellUserEntitlementParams
- func (o *SellUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SellUserEntitlementReader
- type SellUserEntitlementResponse
- type UpdatePlatformEntitlementConfigNotFound
- type UpdatePlatformEntitlementConfigOK
- type UpdatePlatformEntitlementConfigParams
- func NewUpdatePlatformEntitlementConfigParams() *UpdatePlatformEntitlementConfigParams
- func NewUpdatePlatformEntitlementConfigParamsWithContext(ctx context.Context) *UpdatePlatformEntitlementConfigParams
- func NewUpdatePlatformEntitlementConfigParamsWithHTTPClient(client *http.Client) *UpdatePlatformEntitlementConfigParams
- func NewUpdatePlatformEntitlementConfigParamsWithTimeout(timeout time.Duration) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePlatformEntitlementConfigParams) SetBody(body *platformclientmodels.EntitlementPlatformConfigUpdate)
- func (o *UpdatePlatformEntitlementConfigParams) SetContext(ctx context.Context)
- func (o *UpdatePlatformEntitlementConfigParams) SetFlightId(flightId string)
- func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePlatformEntitlementConfigParams) SetNamespace(namespace string)
- func (o *UpdatePlatformEntitlementConfigParams) SetPlatform(platform string)
- func (o *UpdatePlatformEntitlementConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePlatformEntitlementConfigParams) WithBody(body *platformclientmodels.EntitlementPlatformConfigUpdate) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) WithContext(ctx context.Context) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) WithHTTPClient(client *http.Client) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) WithNamespace(namespace string) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) WithPlatform(platform string) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) WithTimeout(timeout time.Duration) *UpdatePlatformEntitlementConfigParams
- func (o *UpdatePlatformEntitlementConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePlatformEntitlementConfigReader
- type UpdatePlatformEntitlementConfigResponse
- type UpdateUserEntitlementConflict
- type UpdateUserEntitlementNotFound
- type UpdateUserEntitlementOK
- type UpdateUserEntitlementParams
- func NewUpdateUserEntitlementParams() *UpdateUserEntitlementParams
- func NewUpdateUserEntitlementParamsWithContext(ctx context.Context) *UpdateUserEntitlementParams
- func NewUpdateUserEntitlementParamsWithHTTPClient(client *http.Client) *UpdateUserEntitlementParams
- func NewUpdateUserEntitlementParamsWithTimeout(timeout time.Duration) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementUpdate)
- func (o *UpdateUserEntitlementParams) SetContext(ctx context.Context)
- func (o *UpdateUserEntitlementParams) SetEntitlementID(entitlementID string)
- func (o *UpdateUserEntitlementParams) SetFlightId(flightId string)
- func (o *UpdateUserEntitlementParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateUserEntitlementParams) SetNamespace(namespace string)
- func (o *UpdateUserEntitlementParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserEntitlementParams) SetUserID(userID string)
- func (o *UpdateUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementUpdate) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WithContext(ctx context.Context) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WithEntitlementID(entitlementID string) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WithHTTPClient(client *http.Client) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WithNamespace(namespace string) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WithTimeout(timeout time.Duration) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WithUserID(userID string) *UpdateUserEntitlementParams
- func (o *UpdateUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserEntitlementReader
- type UpdateUserEntitlementResponse
- type UpdateUserEntitlementUnprocessableEntity
Constants ¶
const ( GetPlatformEntitlementConfigEpicConstant = "Epic" GetPlatformEntitlementConfigGooglePlayConstant = "GooglePlay" GetPlatformEntitlementConfigIOSConstant = "IOS" GetPlatformEntitlementConfigNintendoConstant = "Nintendo" GetPlatformEntitlementConfigOculusConstant = "Oculus" GetPlatformEntitlementConfigOtherConstant = "Other" GetPlatformEntitlementConfigPlaystationConstant = "Playstation" GetPlatformEntitlementConfigSteamConstant = "Steam" GetPlatformEntitlementConfigXboxConstant = "Xbox" )
Get the enum in GetPlatformEntitlementConfigParams
const ( GetUserEntitlementByItemIDAPPConstant = "APP" GetUserEntitlementByItemIDCODEConstant = "CODE" GetUserEntitlementByItemIDENTITLEMENTConstant = "ENTITLEMENT" GetUserEntitlementByItemIDLOOTBOXConstant = "LOOTBOX" GetUserEntitlementByItemIDMEDIAConstant = "MEDIA" GetUserEntitlementByItemIDOPTIONBOXConstant = "OPTIONBOX" GetUserEntitlementByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in GetUserEntitlementByItemIDParams
const ( GetUserEntitlementBySkuAPPConstant = "APP" GetUserEntitlementBySkuCODEConstant = "CODE" GetUserEntitlementBySkuENTITLEMENTConstant = "ENTITLEMENT" GetUserEntitlementBySkuLOOTBOXConstant = "LOOTBOX" GetUserEntitlementBySkuMEDIAConstant = "MEDIA" GetUserEntitlementBySkuOPTIONBOXConstant = "OPTIONBOX" GetUserEntitlementBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in GetUserEntitlementBySkuParams
const ( GetUserEntitlementOwnershipByItemIDAPPConstant = "APP" GetUserEntitlementOwnershipByItemIDCODEConstant = "CODE" GetUserEntitlementOwnershipByItemIDENTITLEMENTConstant = "ENTITLEMENT" GetUserEntitlementOwnershipByItemIDLOOTBOXConstant = "LOOTBOX" GetUserEntitlementOwnershipByItemIDMEDIAConstant = "MEDIA" GetUserEntitlementOwnershipByItemIDOPTIONBOXConstant = "OPTIONBOX" GetUserEntitlementOwnershipByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in GetUserEntitlementOwnershipByItemIDParams
const ( GetUserEntitlementOwnershipBySkuAPPConstant = "APP" GetUserEntitlementOwnershipBySkuCODEConstant = "CODE" GetUserEntitlementOwnershipBySkuENTITLEMENTConstant = "ENTITLEMENT" GetUserEntitlementOwnershipBySkuLOOTBOXConstant = "LOOTBOX" GetUserEntitlementOwnershipBySkuMEDIAConstant = "MEDIA" GetUserEntitlementOwnershipBySkuOPTIONBOXConstant = "OPTIONBOX" GetUserEntitlementOwnershipBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in GetUserEntitlementOwnershipBySkuParams
const ( PublicGetMyEntitlementOwnershipByItemIDAPPConstant = "APP" PublicGetMyEntitlementOwnershipByItemIDCODEConstant = "CODE" PublicGetMyEntitlementOwnershipByItemIDENTITLEMENTConstant = "ENTITLEMENT" PublicGetMyEntitlementOwnershipByItemIDLOOTBOXConstant = "LOOTBOX" PublicGetMyEntitlementOwnershipByItemIDMEDIAConstant = "MEDIA" PublicGetMyEntitlementOwnershipByItemIDOPTIONBOXConstant = "OPTIONBOX" PublicGetMyEntitlementOwnershipByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicGetMyEntitlementOwnershipByItemIDParams
const ( PublicGetMyEntitlementOwnershipBySkuAPPConstant = "APP" PublicGetMyEntitlementOwnershipBySkuCODEConstant = "CODE" PublicGetMyEntitlementOwnershipBySkuENTITLEMENTConstant = "ENTITLEMENT" PublicGetMyEntitlementOwnershipBySkuLOOTBOXConstant = "LOOTBOX" PublicGetMyEntitlementOwnershipBySkuMEDIAConstant = "MEDIA" PublicGetMyEntitlementOwnershipBySkuOPTIONBOXConstant = "OPTIONBOX" PublicGetMyEntitlementOwnershipBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicGetMyEntitlementOwnershipBySkuParams
const ( PublicGetUserEntitlementByItemIDAPPConstant = "APP" PublicGetUserEntitlementByItemIDCODEConstant = "CODE" PublicGetUserEntitlementByItemIDENTITLEMENTConstant = "ENTITLEMENT" PublicGetUserEntitlementByItemIDLOOTBOXConstant = "LOOTBOX" PublicGetUserEntitlementByItemIDMEDIAConstant = "MEDIA" PublicGetUserEntitlementByItemIDOPTIONBOXConstant = "OPTIONBOX" PublicGetUserEntitlementByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicGetUserEntitlementByItemIDParams
const ( PublicGetUserEntitlementBySkuAPPConstant = "APP" PublicGetUserEntitlementBySkuCODEConstant = "CODE" PublicGetUserEntitlementBySkuENTITLEMENTConstant = "ENTITLEMENT" PublicGetUserEntitlementBySkuLOOTBOXConstant = "LOOTBOX" PublicGetUserEntitlementBySkuMEDIAConstant = "MEDIA" PublicGetUserEntitlementBySkuOPTIONBOXConstant = "OPTIONBOX" PublicGetUserEntitlementBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicGetUserEntitlementBySkuParams
const ( PublicGetUserEntitlementOwnershipByItemIDAPPConstant = "APP" PublicGetUserEntitlementOwnershipByItemIDCODEConstant = "CODE" PublicGetUserEntitlementOwnershipByItemIDENTITLEMENTConstant = "ENTITLEMENT" PublicGetUserEntitlementOwnershipByItemIDLOOTBOXConstant = "LOOTBOX" PublicGetUserEntitlementOwnershipByItemIDMEDIAConstant = "MEDIA" PublicGetUserEntitlementOwnershipByItemIDOPTIONBOXConstant = "OPTIONBOX" PublicGetUserEntitlementOwnershipByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicGetUserEntitlementOwnershipByItemIDParams
const ( PublicGetUserEntitlementOwnershipBySkuAPPConstant = "APP" PublicGetUserEntitlementOwnershipBySkuCODEConstant = "CODE" PublicGetUserEntitlementOwnershipBySkuENTITLEMENTConstant = "ENTITLEMENT" PublicGetUserEntitlementOwnershipBySkuLOOTBOXConstant = "LOOTBOX" PublicGetUserEntitlementOwnershipBySkuMEDIAConstant = "MEDIA" PublicGetUserEntitlementOwnershipBySkuOPTIONBOXConstant = "OPTIONBOX" PublicGetUserEntitlementOwnershipBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicGetUserEntitlementOwnershipBySkuParams
const ( PublicQueryUserEntitlementsByAppTypeDEMOConstant = "DEMO" PublicQueryUserEntitlementsByAppTypeDLCConstant = "DLC" PublicQueryUserEntitlementsByAppTypeGAMEConstant = "GAME" PublicQueryUserEntitlementsByAppTypeSOFTWAREConstant = "SOFTWARE" )
Get the enum in PublicQueryUserEntitlementsByAppTypeParams
const ( PublicQueryUserEntitlementsDEMOConstant = "DEMO" PublicQueryUserEntitlementsDLCConstant = "DLC" PublicQueryUserEntitlementsGAMEConstant = "GAME" PublicQueryUserEntitlementsSOFTWAREConstant = "SOFTWARE" )
Get the enum in PublicQueryUserEntitlementsParams
const ( PublicQueryUserEntitlementsAPPConstant = "APP" PublicQueryUserEntitlementsCODEConstant = "CODE" PublicQueryUserEntitlementsENTITLEMENTConstant = "ENTITLEMENT" PublicQueryUserEntitlementsLOOTBOXConstant = "LOOTBOX" PublicQueryUserEntitlementsMEDIAConstant = "MEDIA" PublicQueryUserEntitlementsOPTIONBOXConstant = "OPTIONBOX" PublicQueryUserEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicQueryUserEntitlementsParams
const ( PublicUserEntitlementHistoryAPPConstant = "APP" PublicUserEntitlementHistoryCODEConstant = "CODE" PublicUserEntitlementHistoryENTITLEMENTConstant = "ENTITLEMENT" PublicUserEntitlementHistoryLOOTBOXConstant = "LOOTBOX" PublicUserEntitlementHistoryMEDIAConstant = "MEDIA" PublicUserEntitlementHistoryOPTIONBOXConstant = "OPTIONBOX" PublicUserEntitlementHistorySUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in PublicUserEntitlementHistoryParams
const ( QueryEntitlements1DEMOConstant = "DEMO" QueryEntitlements1DLCConstant = "DLC" QueryEntitlements1GAMEConstant = "GAME" QueryEntitlements1SOFTWAREConstant = "SOFTWARE" )
Get the enum in QueryEntitlements1Params
const ( QueryEntitlements1APPConstant = "APP" QueryEntitlements1CODEConstant = "CODE" QueryEntitlements1ENTITLEMENTConstant = "ENTITLEMENT" QueryEntitlements1LOOTBOXConstant = "LOOTBOX" QueryEntitlements1MEDIAConstant = "MEDIA" QueryEntitlements1OPTIONBOXConstant = "OPTIONBOX" QueryEntitlements1SUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in QueryEntitlements1Params
const ( QueryEntitlements1EpicConstant = "Epic" QueryEntitlements1GooglePlayConstant = "GooglePlay" QueryEntitlements1IOSConstant = "IOS" QueryEntitlements1NintendoConstant = "Nintendo" QueryEntitlements1OculusConstant = "Oculus" QueryEntitlements1OtherConstant = "Other" QueryEntitlements1PlaystationConstant = "Playstation" QueryEntitlements1SteamConstant = "Steam" QueryEntitlements1SystemConstant = "System" QueryEntitlements1TwitchConstant = "Twitch" QueryEntitlements1XboxConstant = "Xbox" )
Get the enum in QueryEntitlements1Params
const ( QueryUserEntitlementsByAppTypeDEMOConstant = "DEMO" QueryUserEntitlementsByAppTypeDLCConstant = "DLC" QueryUserEntitlementsByAppTypeGAMEConstant = "GAME" QueryUserEntitlementsByAppTypeSOFTWAREConstant = "SOFTWARE" )
Get the enum in QueryUserEntitlementsByAppTypeParams
const ( QueryUserEntitlementsDEMOConstant = "DEMO" QueryUserEntitlementsDLCConstant = "DLC" QueryUserEntitlementsGAMEConstant = "GAME" QueryUserEntitlementsSOFTWAREConstant = "SOFTWARE" )
Get the enum in QueryUserEntitlementsParams
const ( QueryUserEntitlementsAPPConstant = "APP" QueryUserEntitlementsCODEConstant = "CODE" QueryUserEntitlementsENTITLEMENTConstant = "ENTITLEMENT" QueryUserEntitlementsLOOTBOXConstant = "LOOTBOX" QueryUserEntitlementsMEDIAConstant = "MEDIA" QueryUserEntitlementsOPTIONBOXConstant = "OPTIONBOX" QueryUserEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in QueryUserEntitlementsParams
const ( QueryUserEntitlementsEpicConstant = "Epic" QueryUserEntitlementsGooglePlayConstant = "GooglePlay" QueryUserEntitlementsIOSConstant = "IOS" QueryUserEntitlementsNintendoConstant = "Nintendo" QueryUserEntitlementsOculusConstant = "Oculus" QueryUserEntitlementsOtherConstant = "Other" QueryUserEntitlementsPlaystationConstant = "Playstation" QueryUserEntitlementsSteamConstant = "Steam" QueryUserEntitlementsSystemConstant = "System" QueryUserEntitlementsTwitchConstant = "Twitch" QueryUserEntitlementsXboxConstant = "Xbox" )
Get the enum in QueryUserEntitlementsParams
const ( UpdatePlatformEntitlementConfigEpicConstant = "Epic" UpdatePlatformEntitlementConfigGooglePlayConstant = "GooglePlay" UpdatePlatformEntitlementConfigIOSConstant = "IOS" UpdatePlatformEntitlementConfigNintendoConstant = "Nintendo" UpdatePlatformEntitlementConfigOculusConstant = "Oculus" UpdatePlatformEntitlementConfigOtherConstant = "Other" UpdatePlatformEntitlementConfigPlaystationConstant = "Playstation" UpdatePlatformEntitlementConfigSteamConstant = "Steam" UpdatePlatformEntitlementConfigXboxConstant = "Xbox" )
Get the enum in UpdatePlatformEntitlementConfigParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for entitlement API
func (*Client) ConsumeUserEntitlementShort ¶
func (a *Client) ConsumeUserEntitlementShort(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementResponse, error)
ConsumeUserEntitlementShort consume user entitlement Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Other detail info:
- Returns : consumed entitlement
func (*Client) DisableUserEntitlementShort ¶
func (a *Client) DisableUserEntitlementShort(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementResponse, error)
DisableUserEntitlementShort disable user entitlement Disable user entitlement if entitlement, only active entitlement can be disable, disabled entitlement can't consume.
Like revoke, it will lose the entitlement ownership, except disabled entitlement can enable.
Other detail info:
- Returns : disable entitlement
func (*Client) EnableEntitlementOriginFeatureShort ¶
func (a *Client) EnableEntitlementOriginFeatureShort(params *EnableEntitlementOriginFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*EnableEntitlementOriginFeatureResponse, error)
EnableEntitlementOriginFeatureShort enable entitlement origin feature Enable Entitlement origin feature. Other detail info:
- Returns : entitlement info
func (*Client) EnableUserEntitlementShort ¶
func (a *Client) EnableUserEntitlementShort(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementResponse, error)
EnableUserEntitlementShort enable user entitlement Enable user entitlement. Other detail info:
- Returns : enable entitlement
func (*Client) ExistsAnyUserActiveEntitlementByItemIdsShort ¶
func (a *Client) ExistsAnyUserActiveEntitlementByItemIdsShort(params *ExistsAnyUserActiveEntitlementByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementByItemIdsResponse, error)
ExistsAnyUserActiveEntitlementByItemIdsShort exists any user active entitlement Exists any user active entitlement of specified items.
func (*Client) ExistsAnyUserActiveEntitlementShort ¶
func (a *Client) ExistsAnyUserActiveEntitlementShort(params *ExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementResponse, error)
ExistsAnyUserActiveEntitlementShort exists any user active entitlement Exists any user active entitlement of specified itemIds, skus and appIds
func (*Client) GetEntitlementConfigInfoShort ¶
func (a *Client) GetEntitlementConfigInfoShort(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoResponse, error)
GetEntitlementConfigInfoShort get entitlement config info Get entitlement config info. Other detail info:
- Returns : entitlement info
func (*Client) GetEntitlementShort ¶
func (a *Client) GetEntitlementShort(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementResponse, error)
GetEntitlementShort get entitlement Get entitlement.
Other detail info:
- Returns : entitlement
func (*Client) GetPlatformEntitlementConfigShort ¶
func (a *Client) GetPlatformEntitlementConfigShort(params *GetPlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformEntitlementConfigResponse, error)
GetPlatformEntitlementConfigShort get platform entitlement config list Get platform entitlement config list. Other detail info:
- Returns : entitlement info
func (*Client) GetUserActiveEntitlementsByItemIdsShort ¶
func (a *Client) GetUserActiveEntitlementsByItemIdsShort(params *GetUserActiveEntitlementsByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserActiveEntitlementsByItemIdsResponse, error)
GetUserActiveEntitlementsByItemIdsShort get user entitlements by itemids Get user entitlements by itemIds.
func (*Client) GetUserAppEntitlementByAppIDShort ¶
func (a *Client) GetUserAppEntitlementByAppIDShort(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDResponse, error)
GetUserAppEntitlementByAppIDShort get user app entitlement by appid Get user app entitlement by appId.
func (*Client) GetUserAppEntitlementOwnershipByAppIDShort ¶
func (a *Client) GetUserAppEntitlementOwnershipByAppIDShort(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDResponse, error)
GetUserAppEntitlementOwnershipByAppIDShort get user app entitlement ownership by appid Get user app entitlement ownership by appId.
func (*Client) GetUserEntitlementByItemIDShort ¶
func (a *Client) GetUserEntitlementByItemIDShort(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDResponse, error)
GetUserEntitlementByItemIDShort get user entitlement by itemid Get user entitlement by itemId.
func (*Client) GetUserEntitlementBySkuShort ¶
func (a *Client) GetUserEntitlementBySkuShort(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuResponse, error)
GetUserEntitlementBySkuShort get user entitlement by sku Get user entitlement by sku.
func (*Client) GetUserEntitlementHistoriesShort ¶
func (a *Client) GetUserEntitlementHistoriesShort(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesResponse, error)
GetUserEntitlementHistoriesShort get user entitlement history Get user entitlement histories.
Other detail info:
- Returns : list of entitlement history
func (*Client) GetUserEntitlementOwnershipByItemIDShort ¶
func (a *Client) GetUserEntitlementOwnershipByItemIDShort(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDResponse, error)
GetUserEntitlementOwnershipByItemIDShort get user entitlement ownership by itemid Get user entitlement ownership by itemId.
func (*Client) GetUserEntitlementOwnershipByItemIdsShort ¶
func (a *Client) GetUserEntitlementOwnershipByItemIdsShort(params *GetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIdsResponse, error)
GetUserEntitlementOwnershipByItemIdsShort get user entitlement ownership by itemids Get user entitlement ownership by itemIds.
func (*Client) GetUserEntitlementOwnershipBySkuShort ¶
func (a *Client) GetUserEntitlementOwnershipBySkuShort(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuResponse, error)
GetUserEntitlementOwnershipBySkuShort get user entitlement ownership by sku Get user entitlement ownership by sku.
func (*Client) GetUserEntitlementShort ¶
func (a *Client) GetUserEntitlementShort(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementResponse, error)
GetUserEntitlementShort get user entitlement Get user entitlement.
Other detail info:
- Returns : entitlement
func (*Client) GetUserEntitlementsByIdsShort ¶
func (a *Client) GetUserEntitlementsByIdsShort(params *GetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementsByIdsResponse, error)
GetUserEntitlementsByIdsShort get user entitlements by ids. Get user entitlements by ids. This will return all entitlements regardless of its status
Other detail info:
- Returns : entitlement list
func (*Client) GrantEntitlementsShort ¶
func (a *Client) GrantEntitlementsShort(params *GrantEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*GrantEntitlementsResponse, error)
GrantEntitlementsShort grant entitlements to different users Grant entitlements to multiple users, skipped granting will be treated as fail.
Notes:
Support Item Types:
- APP
- INGAMEITEM
- CODE
- SUBSCRIPTION
- MEDIA
- OPTIONBOX
- LOOTBOX
Other detail info:
- Returns : bulk grant entitlements result
func (*Client) GrantUserEntitlementShort ¶
func (a *Client) GrantUserEntitlementShort(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementResponse, error)
GrantUserEntitlementShort grant user entitlement Grant user entitlement.
Notes:
will skip un-supported item if input un-supported item types, please use /admin/namespaces/{namespace}/users/{userId}/fulfillment endpoint if want to fulfill other item type, like coin item
Support Item Types:
- APP
- INGAMEITEM
- CODE
- SUBSCRIPTION
- MEDIA
- OPTIONBOX
- LOOTBOX
Other detail info:
- Returns : granted entitlement
func (*Client) PreCheckRevokeUserEntitlementByUseCountShort ¶
func (a *Client) PreCheckRevokeUserEntitlementByUseCountShort(params *PreCheckRevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckRevokeUserEntitlementByUseCountResponse, error)
PreCheckRevokeUserEntitlementByUseCountShort check if specified count of user entitlement can be revoked Checks if specified use count of user entitlement can be revoked without actually revoking it. Other detail info:
- Returns : true if revokable, false otherwise
func (*Client) PublicConsumeUserEntitlementShort ¶
func (a *Client) PublicConsumeUserEntitlementShort(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementResponse, error)
PublicConsumeUserEntitlementShort consume user entitlement Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Client should pass item id in options if entitlement clazz is OPTIONBOX Other detail info:
- Returns : consumed entitlement
func (*Client) PublicExistsAnyMyActiveEntitlementShort ¶
func (a *Client) PublicExistsAnyMyActiveEntitlementShort(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementResponse, error)
PublicExistsAnyMyActiveEntitlementShort exists any my active entitlement Exists any my active entitlement of specified itemIds, skus and appIds
func (*Client) PublicExistsAnyUserActiveEntitlementShort ¶
func (a *Client) PublicExistsAnyUserActiveEntitlementShort(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementResponse, error)
PublicExistsAnyUserActiveEntitlementShort exists any user active entitlement Exists any user active entitlement of specified itemIds, skus and appIds
func (*Client) PublicGetEntitlementOwnershipTokenShort ¶
func (a *Client) PublicGetEntitlementOwnershipTokenShort(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenResponse, error)
PublicGetEntitlementOwnershipTokenShort gets an entitlement ownership token Gets an entitlement ownership token of specified itemIds, skus and appIds
The decoded ownership token header like below:
{ "kid": "9fd4cd5f991cebe3323605cd12d3b8bfdfc73fa4", "typ": "JWT", "alg": "RS256" }
That you can get the jwks by api /platform/jwks, if the configured private key is same as IAM,
you can also get jwks from IAM endpoint.
The decoded ownership token payload like below:
{ "namespace": "accelbyte", "entitlements": [ { "itemId": "4c1296291f604c199f7bb7f0ee02e5f8", "appType": null, "appId": null, "namespace": "accelbyte", "itemNamespace": "accelbyte", "sku": "prime-plus" }, { "itemId": "e8f4974cf45c4e1f8d4f0c6990c518bd", "appType": "GAME", "appId": "omeganebula", "namespace": "accelbyte", "itemNamespace": "accelbyte", "sku": "APPG005ON" } ], "sub": "66459eb6a4e44e6fb0040bd20c1079a5", "exp": 1619624360, "iat": 1619624060 }
if there's no active entitlement for the specific params, the entitlements section will be omitted.
func (*Client) PublicGetMyAppEntitlementOwnershipByAppIDShort ¶
func (a *Client) PublicGetMyAppEntitlementOwnershipByAppIDShort(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyAppEntitlementOwnershipByAppIDResponse, error)
PublicGetMyAppEntitlementOwnershipByAppIDShort get my app entitlement ownership by appid Get my app entitlement ownership by appId.
Other detail info:
- Path's namespace :
- can be filled with publisher namespace in order to get publisher namespace app entitlement ownership
func (*Client) PublicGetMyEntitlementOwnershipByItemIDShort ¶
func (a *Client) PublicGetMyEntitlementOwnershipByItemIDShort(params *PublicGetMyEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipByItemIDResponse, error)
PublicGetMyEntitlementOwnershipByItemIDShort get my entitlement ownership by itemid Get my entitlement ownership by itemId.
Other detail info:
- Path's namespace :
- can be filled with publisher namespace in order to get publisher namespace entitlement ownership by sku
- can be filled with game namespace in order to get game namespace entitlement ownership by sku
func (*Client) PublicGetMyEntitlementOwnershipBySkuShort ¶
func (a *Client) PublicGetMyEntitlementOwnershipBySkuShort(params *PublicGetMyEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipBySkuResponse, error)
PublicGetMyEntitlementOwnershipBySkuShort get my entitlement ownership by sku Get my entitlement ownership by sku.
Other detail info:
- Path's namespace :
- can be filled with publisher namespace in order to get publisher namespace entitlement ownership by sku
- can be filled with game namespace in order to get game namespace entitlement ownership by sku
func (*Client) PublicGetUserAppEntitlementByAppIDShort ¶
func (a *Client) PublicGetUserAppEntitlementByAppIDShort(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDResponse, error)
PublicGetUserAppEntitlementByAppIDShort get user app entitlement by appid Get user app entitlement by appId.
func (*Client) PublicGetUserAppEntitlementOwnershipByAppIDShort ¶
func (a *Client) PublicGetUserAppEntitlementOwnershipByAppIDShort(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDResponse, error)
PublicGetUserAppEntitlementOwnershipByAppIDShort get user app entitlement ownership by appid Get user app entitlement ownership by appId.
func (*Client) PublicGetUserEntitlementByItemIDShort ¶
func (a *Client) PublicGetUserEntitlementByItemIDShort(params *PublicGetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementByItemIDResponse, error)
PublicGetUserEntitlementByItemIDShort get user entitlement by itemid Get user entitlement by itemId.
func (*Client) PublicGetUserEntitlementBySkuShort ¶
func (a *Client) PublicGetUserEntitlementBySkuShort(params *PublicGetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementBySkuResponse, error)
PublicGetUserEntitlementBySkuShort get user entitlement by sku Get user entitlement by sku.
func (*Client) PublicGetUserEntitlementOwnershipByItemIDShort ¶
func (a *Client) PublicGetUserEntitlementOwnershipByItemIDShort(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDResponse, error)
PublicGetUserEntitlementOwnershipByItemIDShort get user entitlement ownership by itemid Get user entitlement ownership by itemId.
func (*Client) PublicGetUserEntitlementOwnershipByItemIdsShort ¶
func (a *Client) PublicGetUserEntitlementOwnershipByItemIdsShort(params *PublicGetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIdsResponse, error)
PublicGetUserEntitlementOwnershipByItemIdsShort get user entitlement ownership by itemids Get user entitlement ownership by itemIds.
func (*Client) PublicGetUserEntitlementOwnershipBySkuShort ¶
func (a *Client) PublicGetUserEntitlementOwnershipBySkuShort(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuResponse, error)
PublicGetUserEntitlementOwnershipBySkuShort get user entitlement ownership by sku Get user entitlement ownership by sku.
func (*Client) PublicGetUserEntitlementShort ¶
func (a *Client) PublicGetUserEntitlementShort(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementResponse, error)
PublicGetUserEntitlementShort get user entitlement Get user entitlement.
Other detail info:
- Returns : entitlement
func (*Client) PublicGetUserEntitlementsByIdsShort ¶
func (a *Client) PublicGetUserEntitlementsByIdsShort(params *PublicGetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementsByIdsResponse, error)
PublicGetUserEntitlementsByIdsShort get user entitlements by ids. Get user entitlements by ids..
Other detail info:
- Returns : entitlement list
func (*Client) PublicQueryUserEntitlementsByAppTypeShort ¶
func (a *Client) PublicQueryUserEntitlementsByAppTypeShort(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeResponse, error)
PublicQueryUserEntitlementsByAppTypeShort query app entitlements by apptype Query app entitlements by appType.
Other detail info:
- Returns : app entitlement pagination
func (*Client) PublicQueryUserEntitlementsShort ¶
func (a *Client) PublicQueryUserEntitlementsShort(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsResponse, error)
PublicQueryUserEntitlementsShort query user entitlements Query user entitlements for a specific user.
Other detail info:
- Returns : entitlement list
func (*Client) PublicSellUserEntitlementShort ¶
func (a *Client) PublicSellUserEntitlementShort(params *PublicSellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSellUserEntitlementResponse, error)
PublicSellUserEntitlementShort sell user entitlement Sell user entitlement. If the entitlement is consumable, useCount is 0, the status will be CONSUMED. If the entitlement is durable, the status will be SOLD. Other detail info:
- Returns : entitlement
func (*Client) PublicSplitUserEntitlementShort ¶
func (a *Client) PublicSplitUserEntitlementShort(params *PublicSplitUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSplitUserEntitlementResponse, error)
PublicSplitUserEntitlementShort split user entitlement Split a specified use count of entitlement and create a new entitlement with splitting use count.Other detail info:
- Returns : entitlement
func (*Client) PublicTransferUserEntitlementShort ¶
func (a *Client) PublicTransferUserEntitlementShort(params *PublicTransferUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTransferUserEntitlementResponse, error)
PublicTransferUserEntitlementShort transfer user entitlement Transfer a specified use count from entitlement A to B..Other detail info:
- Returns : entitlement
func (*Client) PublicUserEntitlementHistoryShort ¶
func (a *Client) PublicUserEntitlementHistoryShort(params *PublicUserEntitlementHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUserEntitlementHistoryResponse, error)
PublicUserEntitlementHistoryShort get user entitlements histories. Get user entitlement history
Other detail info:
- Returns : user entitlement history list
func (*Client) QueryEntitlements1Short ¶
func (a *Client) QueryEntitlements1Short(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1Response, error)
QueryEntitlements1Short query entitlements Query entitlements.
Other detail info:
- Returns : entitlement list
func (*Client) QueryEntitlementsShort ¶
func (a *Client) QueryEntitlementsShort(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsResponse, error)
QueryEntitlementsShort query entitlements by item ids Query entitlements by Item Ids.
Other detail info:
- Returns : entitlement list
func (*Client) QueryUserEntitlementsByAppTypeShort ¶
func (a *Client) QueryUserEntitlementsByAppTypeShort(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeResponse, error)
QueryUserEntitlementsByAppTypeShort query app entitlements by apptype Query app entitlements by appType.
Other detail info:
- Returns : app entitlement pagination
func (*Client) QueryUserEntitlementsShort ¶
func (a *Client) QueryUserEntitlementsShort(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsResponse, error)
QueryUserEntitlementsShort query user entitlements Query entitlements for a specific user.
Other detail info:
- Returns : entitlement list
func (*Client) RevokeAllEntitlementsShort ¶
func (a *Client) RevokeAllEntitlementsShort(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsResponse, error)
RevokeAllEntitlementsShort revoke all entitlements of a user (this api is for testing purpose only) Revoke all entitlements of a user (This API is for testing purpose only) Other detail info:
- Returns : revoked entitlements count
func (*Client) RevokeEntitlementsShort ¶
func (a *Client) RevokeEntitlementsShort(params *RevokeEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeEntitlementsResponse, error)
RevokeEntitlementsShort revoke entitlements by ids Revoke entitlements, skipped revocation will be treated as fail. Other detail info:
- Returns : bulk revoke entitlements result
func (*Client) RevokeUseCountShort ¶
func (a *Client) RevokeUseCountShort(params *RevokeUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUseCountResponse, error)
RevokeUseCountShort revoke specified use count of user entitlement Revoke specified use count of user entitlement. please use /{entitlementId}/revoke/byUseCount endpoint instead of this endpoint Other detail info:
- Returns : revoke entitlement
func (*Client) RevokeUserEntitlementByUseCountShort ¶
func (a *Client) RevokeUserEntitlementByUseCountShort(params *RevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementByUseCountResponse, error)
RevokeUserEntitlementByUseCountShort revoke specified count of user entitlement. Revoke specified count of user entitlement. Other detail info:
- Returns : The revoked entitlement
func (*Client) RevokeUserEntitlementShort ¶
func (a *Client) RevokeUserEntitlementShort(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementResponse, error)
RevokeUserEntitlementShort revoke user entitlement Revoke user entitlement. Other detail info:
- Returns : revoke entitlement
func (*Client) RevokeUserEntitlementsShort ¶
func (a *Client) RevokeUserEntitlementsShort(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsResponse, error)
RevokeUserEntitlementsShort revoke user's entitlements by ids Revoke user's entitlements by ids. Other detail info:
- Returns : revoke entitlements count
func (*Client) SellUserEntitlementShort ¶
func (a *Client) SellUserEntitlementShort(params *SellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*SellUserEntitlementResponse, error)
SellUserEntitlementShort sell user entitlement Sell user entitlement. If the entitlement is consumable, useCount is 0, the status will be CONSUMED. If the entitlement is durable, the status will be SOLD. Other detail info:
- Returns : entitlement
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePlatformEntitlementConfigShort ¶
func (a *Client) UpdatePlatformEntitlementConfigShort(params *UpdatePlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformEntitlementConfigResponse, error)
UpdatePlatformEntitlementConfigShort update platform entitlement config Update platform entitlement config. Other detail info:
- Returns : platform entitlement config
func (*Client) UpdateUserEntitlementShort ¶
func (a *Client) UpdateUserEntitlementShort(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementResponse, error)
UpdateUserEntitlementShort update user entitlement Update user entitlement. If update CONSUMABLE entitlement useCount to 0, the status will be CONSUMED. Other detail info:
- Returns : updated entitlement
type ClientService ¶
type ClientService interface { QueryEntitlements1Short(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1Response, error) QueryEntitlementsShort(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsResponse, error) EnableEntitlementOriginFeatureShort(params *EnableEntitlementOriginFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*EnableEntitlementOriginFeatureResponse, error) GetEntitlementConfigInfoShort(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoResponse, error) GrantEntitlementsShort(params *GrantEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*GrantEntitlementsResponse, error) RevokeEntitlementsShort(params *RevokeEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeEntitlementsResponse, error) GetEntitlementShort(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementResponse, error) GetPlatformEntitlementConfigShort(params *GetPlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformEntitlementConfigResponse, error) UpdatePlatformEntitlementConfigShort(params *UpdatePlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformEntitlementConfigResponse, error) QueryUserEntitlementsShort(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsResponse, error) GrantUserEntitlementShort(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementResponse, error) GetUserAppEntitlementByAppIDShort(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDResponse, error) QueryUserEntitlementsByAppTypeShort(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeResponse, error) GetUserEntitlementsByIdsShort(params *GetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementsByIdsResponse, error) GetUserEntitlementByItemIDShort(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDResponse, error) GetUserActiveEntitlementsByItemIdsShort(params *GetUserActiveEntitlementsByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserActiveEntitlementsByItemIdsResponse, error) GetUserEntitlementBySkuShort(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuResponse, error) ExistsAnyUserActiveEntitlementShort(params *ExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementResponse, error) ExistsAnyUserActiveEntitlementByItemIdsShort(params *ExistsAnyUserActiveEntitlementByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementByItemIdsResponse, error) GetUserAppEntitlementOwnershipByAppIDShort(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDResponse, error) GetUserEntitlementOwnershipByItemIDShort(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDResponse, error) GetUserEntitlementOwnershipByItemIdsShort(params *GetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIdsResponse, error) GetUserEntitlementOwnershipBySkuShort(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuResponse, error) RevokeAllEntitlementsShort(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsResponse, error) RevokeUserEntitlementsShort(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsResponse, error) GetUserEntitlementShort(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementResponse, error) UpdateUserEntitlementShort(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementResponse, error) ConsumeUserEntitlementShort(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementResponse, error) DisableUserEntitlementShort(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementResponse, error) EnableUserEntitlementShort(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementResponse, error) GetUserEntitlementHistoriesShort(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesResponse, error) RevokeUserEntitlementShort(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementResponse, error) RevokeUserEntitlementByUseCountShort(params *RevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementByUseCountResponse, error) PreCheckRevokeUserEntitlementByUseCountShort(params *PreCheckRevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckRevokeUserEntitlementByUseCountResponse, error) RevokeUseCountShort(params *RevokeUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUseCountResponse, error) SellUserEntitlementShort(params *SellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*SellUserEntitlementResponse, error) PublicExistsAnyMyActiveEntitlementShort(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementResponse, error) PublicGetMyAppEntitlementOwnershipByAppIDShort(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyAppEntitlementOwnershipByAppIDResponse, error) PublicGetMyEntitlementOwnershipByItemIDShort(params *PublicGetMyEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipByItemIDResponse, error) PublicGetMyEntitlementOwnershipBySkuShort(params *PublicGetMyEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipBySkuResponse, error) PublicGetEntitlementOwnershipTokenShort(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenResponse, error) PublicQueryUserEntitlementsShort(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsResponse, error) PublicGetUserAppEntitlementByAppIDShort(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDResponse, error) PublicQueryUserEntitlementsByAppTypeShort(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeResponse, error) PublicGetUserEntitlementsByIdsShort(params *PublicGetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementsByIdsResponse, error) PublicGetUserEntitlementByItemIDShort(params *PublicGetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementByItemIDResponse, error) PublicGetUserEntitlementBySkuShort(params *PublicGetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementBySkuResponse, error) PublicUserEntitlementHistoryShort(params *PublicUserEntitlementHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUserEntitlementHistoryResponse, error) PublicExistsAnyUserActiveEntitlementShort(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementResponse, error) PublicGetUserAppEntitlementOwnershipByAppIDShort(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDResponse, error) PublicGetUserEntitlementOwnershipByItemIDShort(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDResponse, error) PublicGetUserEntitlementOwnershipByItemIdsShort(params *PublicGetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIdsResponse, error) PublicGetUserEntitlementOwnershipBySkuShort(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuResponse, error) PublicGetUserEntitlementShort(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementResponse, error) PublicConsumeUserEntitlementShort(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementResponse, error) PublicSellUserEntitlementShort(params *PublicSellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSellUserEntitlementResponse, error) PublicSplitUserEntitlementShort(params *PublicSplitUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSplitUserEntitlementResponse, error) PublicTransferUserEntitlementShort(params *PublicTransferUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTransferUserEntitlementResponse, 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 entitlement API client.
type ConsumeUserEntitlementBadRequest ¶
type ConsumeUserEntitlementBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
ConsumeUserEntitlementBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31123</td><td>Unable to acquire box item, box item [{itemId}] expired</td></tr></table>
func NewConsumeUserEntitlementBadRequest ¶
func NewConsumeUserEntitlementBadRequest() *ConsumeUserEntitlementBadRequest
NewConsumeUserEntitlementBadRequest creates a ConsumeUserEntitlementBadRequest with default headers values
func (*ConsumeUserEntitlementBadRequest) Error ¶
func (o *ConsumeUserEntitlementBadRequest) Error() string
func (*ConsumeUserEntitlementBadRequest) GetPayload ¶
func (o *ConsumeUserEntitlementBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*ConsumeUserEntitlementBadRequest) ToJSONString ¶
func (o *ConsumeUserEntitlementBadRequest) ToJSONString() string
type ConsumeUserEntitlementConflict ¶
type ConsumeUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
ConsumeUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31173</td><td>Entitlement [{entitlementId}] is not consumable</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewConsumeUserEntitlementConflict ¶
func NewConsumeUserEntitlementConflict() *ConsumeUserEntitlementConflict
NewConsumeUserEntitlementConflict creates a ConsumeUserEntitlementConflict with default headers values
func (*ConsumeUserEntitlementConflict) Error ¶
func (o *ConsumeUserEntitlementConflict) Error() string
func (*ConsumeUserEntitlementConflict) GetPayload ¶
func (o *ConsumeUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*ConsumeUserEntitlementConflict) ToJSONString ¶
func (o *ConsumeUserEntitlementConflict) ToJSONString() string
type ConsumeUserEntitlementNotFound ¶
type ConsumeUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
ConsumeUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewConsumeUserEntitlementNotFound ¶
func NewConsumeUserEntitlementNotFound() *ConsumeUserEntitlementNotFound
NewConsumeUserEntitlementNotFound creates a ConsumeUserEntitlementNotFound with default headers values
func (*ConsumeUserEntitlementNotFound) Error ¶
func (o *ConsumeUserEntitlementNotFound) Error() string
func (*ConsumeUserEntitlementNotFound) GetPayload ¶
func (o *ConsumeUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*ConsumeUserEntitlementNotFound) ToJSONString ¶
func (o *ConsumeUserEntitlementNotFound) ToJSONString() string
type ConsumeUserEntitlementOK ¶
type ConsumeUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementDecrementResult
}
ConsumeUserEntitlementOK handles this case with default header values.
successful operation
func NewConsumeUserEntitlementOK ¶
func NewConsumeUserEntitlementOK() *ConsumeUserEntitlementOK
NewConsumeUserEntitlementOK creates a ConsumeUserEntitlementOK with default headers values
func (*ConsumeUserEntitlementOK) Error ¶
func (o *ConsumeUserEntitlementOK) Error() string
func (*ConsumeUserEntitlementOK) GetPayload ¶
func (o *ConsumeUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementDecrementResult
func (*ConsumeUserEntitlementOK) ToJSONString ¶
func (o *ConsumeUserEntitlementOK) ToJSONString() string
type ConsumeUserEntitlementParams ¶
type ConsumeUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.AdminEntitlementDecrement /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ConsumeUserEntitlementParams contains all the parameters to send to the API endpoint for the consume user entitlement operation typically these are written to a http.Request
func NewConsumeUserEntitlementParams ¶
func NewConsumeUserEntitlementParams() *ConsumeUserEntitlementParams
NewConsumeUserEntitlementParams creates a new ConsumeUserEntitlementParams object with the default values initialized.
func NewConsumeUserEntitlementParamsWithContext ¶
func NewConsumeUserEntitlementParamsWithContext(ctx context.Context) *ConsumeUserEntitlementParams
NewConsumeUserEntitlementParamsWithContext creates a new ConsumeUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewConsumeUserEntitlementParamsWithHTTPClient ¶
func NewConsumeUserEntitlementParamsWithHTTPClient(client *http.Client) *ConsumeUserEntitlementParams
NewConsumeUserEntitlementParamsWithHTTPClient creates a new ConsumeUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewConsumeUserEntitlementParamsWithTimeout ¶
func NewConsumeUserEntitlementParamsWithTimeout(timeout time.Duration) *ConsumeUserEntitlementParams
NewConsumeUserEntitlementParamsWithTimeout creates a new ConsumeUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*ConsumeUserEntitlementParams) SetAuthInfoWriter ¶
func (o *ConsumeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetBody ¶
func (o *ConsumeUserEntitlementParams) SetBody(body *platformclientmodels.AdminEntitlementDecrement)
SetBody adds the body to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetContext ¶
func (o *ConsumeUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetEntitlementID ¶
func (o *ConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetFlightId ¶
func (o *ConsumeUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ConsumeUserEntitlementParams) SetHTTPClient ¶
func (o *ConsumeUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetHTTPClientTransport ¶
func (o *ConsumeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetNamespace ¶
func (o *ConsumeUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetTimeout ¶
func (o *ConsumeUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the consume user entitlement params
func (*ConsumeUserEntitlementParams) SetUserID ¶
func (o *ConsumeUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithBody ¶
func (o *ConsumeUserEntitlementParams) WithBody(body *platformclientmodels.AdminEntitlementDecrement) *ConsumeUserEntitlementParams
WithBody adds the body to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithContext ¶
func (o *ConsumeUserEntitlementParams) WithContext(ctx context.Context) *ConsumeUserEntitlementParams
WithContext adds the context to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithEntitlementID ¶
func (o *ConsumeUserEntitlementParams) WithEntitlementID(entitlementID string) *ConsumeUserEntitlementParams
WithEntitlementID adds the entitlementID to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithHTTPClient ¶
func (o *ConsumeUserEntitlementParams) WithHTTPClient(client *http.Client) *ConsumeUserEntitlementParams
WithHTTPClient adds the HTTPClient to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithNamespace ¶
func (o *ConsumeUserEntitlementParams) WithNamespace(namespace string) *ConsumeUserEntitlementParams
WithNamespace adds the namespace to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithTimeout ¶
func (o *ConsumeUserEntitlementParams) WithTimeout(timeout time.Duration) *ConsumeUserEntitlementParams
WithTimeout adds the timeout to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WithUserID ¶
func (o *ConsumeUserEntitlementParams) WithUserID(userID string) *ConsumeUserEntitlementParams
WithUserID adds the userID to the consume user entitlement params
func (*ConsumeUserEntitlementParams) WriteToRequest ¶
func (o *ConsumeUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConsumeUserEntitlementReader ¶
type ConsumeUserEntitlementReader struct {
// contains filtered or unexported fields
}
ConsumeUserEntitlementReader is a Reader for the ConsumeUserEntitlement structure.
func (*ConsumeUserEntitlementReader) ReadResponse ¶
func (o *ConsumeUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConsumeUserEntitlementResponse ¶
type ConsumeUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementDecrementResult Error400 *platformclientmodels.ErrorEntity Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*ConsumeUserEntitlementResponse) Unpack ¶
func (m *ConsumeUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementDecrementResult, *platformclientmodels.ApiError)
type DisableUserEntitlementConflict ¶
type DisableUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
DisableUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewDisableUserEntitlementConflict ¶
func NewDisableUserEntitlementConflict() *DisableUserEntitlementConflict
NewDisableUserEntitlementConflict creates a DisableUserEntitlementConflict with default headers values
func (*DisableUserEntitlementConflict) Error ¶
func (o *DisableUserEntitlementConflict) Error() string
func (*DisableUserEntitlementConflict) GetPayload ¶
func (o *DisableUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*DisableUserEntitlementConflict) ToJSONString ¶
func (o *DisableUserEntitlementConflict) ToJSONString() string
type DisableUserEntitlementNotFound ¶
type DisableUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
DisableUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewDisableUserEntitlementNotFound ¶
func NewDisableUserEntitlementNotFound() *DisableUserEntitlementNotFound
NewDisableUserEntitlementNotFound creates a DisableUserEntitlementNotFound with default headers values
func (*DisableUserEntitlementNotFound) Error ¶
func (o *DisableUserEntitlementNotFound) Error() string
func (*DisableUserEntitlementNotFound) GetPayload ¶
func (o *DisableUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*DisableUserEntitlementNotFound) ToJSONString ¶
func (o *DisableUserEntitlementNotFound) ToJSONString() string
type DisableUserEntitlementOK ¶
type DisableUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
DisableUserEntitlementOK handles this case with default header values.
successful operation
func NewDisableUserEntitlementOK ¶
func NewDisableUserEntitlementOK() *DisableUserEntitlementOK
NewDisableUserEntitlementOK creates a DisableUserEntitlementOK with default headers values
func (*DisableUserEntitlementOK) Error ¶
func (o *DisableUserEntitlementOK) Error() string
func (*DisableUserEntitlementOK) GetPayload ¶
func (o *DisableUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*DisableUserEntitlementOK) ToJSONString ¶
func (o *DisableUserEntitlementOK) ToJSONString() string
type DisableUserEntitlementParams ¶
type DisableUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DisableUserEntitlementParams contains all the parameters to send to the API endpoint for the disable user entitlement operation typically these are written to a http.Request
func NewDisableUserEntitlementParams ¶
func NewDisableUserEntitlementParams() *DisableUserEntitlementParams
NewDisableUserEntitlementParams creates a new DisableUserEntitlementParams object with the default values initialized.
func NewDisableUserEntitlementParamsWithContext ¶
func NewDisableUserEntitlementParamsWithContext(ctx context.Context) *DisableUserEntitlementParams
NewDisableUserEntitlementParamsWithContext creates a new DisableUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewDisableUserEntitlementParamsWithHTTPClient ¶
func NewDisableUserEntitlementParamsWithHTTPClient(client *http.Client) *DisableUserEntitlementParams
NewDisableUserEntitlementParamsWithHTTPClient creates a new DisableUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisableUserEntitlementParamsWithTimeout ¶
func NewDisableUserEntitlementParamsWithTimeout(timeout time.Duration) *DisableUserEntitlementParams
NewDisableUserEntitlementParamsWithTimeout creates a new DisableUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisableUserEntitlementParams) SetAuthInfoWriter ¶
func (o *DisableUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the disable user entitlement params
func (*DisableUserEntitlementParams) SetContext ¶
func (o *DisableUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the disable user entitlement params
func (*DisableUserEntitlementParams) SetEntitlementID ¶
func (o *DisableUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the disable user entitlement params
func (*DisableUserEntitlementParams) SetFlightId ¶
func (o *DisableUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DisableUserEntitlementParams) SetHTTPClient ¶
func (o *DisableUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable user entitlement params
func (*DisableUserEntitlementParams) SetHTTPClientTransport ¶
func (o *DisableUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the disable user entitlement params
func (*DisableUserEntitlementParams) SetNamespace ¶
func (o *DisableUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the disable user entitlement params
func (*DisableUserEntitlementParams) SetTimeout ¶
func (o *DisableUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable user entitlement params
func (*DisableUserEntitlementParams) SetUserID ¶
func (o *DisableUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the disable user entitlement params
func (*DisableUserEntitlementParams) WithContext ¶
func (o *DisableUserEntitlementParams) WithContext(ctx context.Context) *DisableUserEntitlementParams
WithContext adds the context to the disable user entitlement params
func (*DisableUserEntitlementParams) WithEntitlementID ¶
func (o *DisableUserEntitlementParams) WithEntitlementID(entitlementID string) *DisableUserEntitlementParams
WithEntitlementID adds the entitlementID to the disable user entitlement params
func (*DisableUserEntitlementParams) WithHTTPClient ¶
func (o *DisableUserEntitlementParams) WithHTTPClient(client *http.Client) *DisableUserEntitlementParams
WithHTTPClient adds the HTTPClient to the disable user entitlement params
func (*DisableUserEntitlementParams) WithNamespace ¶
func (o *DisableUserEntitlementParams) WithNamespace(namespace string) *DisableUserEntitlementParams
WithNamespace adds the namespace to the disable user entitlement params
func (*DisableUserEntitlementParams) WithTimeout ¶
func (o *DisableUserEntitlementParams) WithTimeout(timeout time.Duration) *DisableUserEntitlementParams
WithTimeout adds the timeout to the disable user entitlement params
func (*DisableUserEntitlementParams) WithUserID ¶
func (o *DisableUserEntitlementParams) WithUserID(userID string) *DisableUserEntitlementParams
WithUserID adds the userID to the disable user entitlement params
func (*DisableUserEntitlementParams) WriteToRequest ¶
func (o *DisableUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisableUserEntitlementReader ¶
type DisableUserEntitlementReader struct {
// contains filtered or unexported fields
}
DisableUserEntitlementReader is a Reader for the DisableUserEntitlement structure.
func (*DisableUserEntitlementReader) ReadResponse ¶
func (o *DisableUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisableUserEntitlementResponse ¶
type DisableUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*DisableUserEntitlementResponse) Unpack ¶
func (m *DisableUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type EnableEntitlementOriginFeatureOK ¶
type EnableEntitlementOriginFeatureOK struct {
Payload *platformclientmodels.EntitlementConfigInfo
}
EnableEntitlementOriginFeatureOK handles this case with default header values.
successful operation
func NewEnableEntitlementOriginFeatureOK ¶
func NewEnableEntitlementOriginFeatureOK() *EnableEntitlementOriginFeatureOK
NewEnableEntitlementOriginFeatureOK creates a EnableEntitlementOriginFeatureOK with default headers values
func (*EnableEntitlementOriginFeatureOK) Error ¶
func (o *EnableEntitlementOriginFeatureOK) Error() string
func (*EnableEntitlementOriginFeatureOK) GetPayload ¶
func (o *EnableEntitlementOriginFeatureOK) GetPayload() *platformclientmodels.EntitlementConfigInfo
func (*EnableEntitlementOriginFeatureOK) ToJSONString ¶
func (o *EnableEntitlementOriginFeatureOK) ToJSONString() string
type EnableEntitlementOriginFeatureParams ¶
type EnableEntitlementOriginFeatureParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
EnableEntitlementOriginFeatureParams contains all the parameters to send to the API endpoint for the enable entitlement origin feature operation typically these are written to a http.Request
func NewEnableEntitlementOriginFeatureParams ¶
func NewEnableEntitlementOriginFeatureParams() *EnableEntitlementOriginFeatureParams
NewEnableEntitlementOriginFeatureParams creates a new EnableEntitlementOriginFeatureParams object with the default values initialized.
func NewEnableEntitlementOriginFeatureParamsWithContext ¶
func NewEnableEntitlementOriginFeatureParamsWithContext(ctx context.Context) *EnableEntitlementOriginFeatureParams
NewEnableEntitlementOriginFeatureParamsWithContext creates a new EnableEntitlementOriginFeatureParams object with the default values initialized, and the ability to set a context for a request
func NewEnableEntitlementOriginFeatureParamsWithHTTPClient ¶
func NewEnableEntitlementOriginFeatureParamsWithHTTPClient(client *http.Client) *EnableEntitlementOriginFeatureParams
NewEnableEntitlementOriginFeatureParamsWithHTTPClient creates a new EnableEntitlementOriginFeatureParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEnableEntitlementOriginFeatureParamsWithTimeout ¶
func NewEnableEntitlementOriginFeatureParamsWithTimeout(timeout time.Duration) *EnableEntitlementOriginFeatureParams
NewEnableEntitlementOriginFeatureParamsWithTimeout creates a new EnableEntitlementOriginFeatureParams object with the default values initialized, and the ability to set a timeout on a request
func (*EnableEntitlementOriginFeatureParams) SetAuthInfoWriter ¶
func (o *EnableEntitlementOriginFeatureParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) SetContext ¶
func (o *EnableEntitlementOriginFeatureParams) SetContext(ctx context.Context)
SetContext adds the context to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) SetFlightId ¶
func (o *EnableEntitlementOriginFeatureParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*EnableEntitlementOriginFeatureParams) SetHTTPClient ¶
func (o *EnableEntitlementOriginFeatureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) SetHTTPClientTransport ¶
func (o *EnableEntitlementOriginFeatureParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) SetNamespace ¶
func (o *EnableEntitlementOriginFeatureParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) SetTimeout ¶
func (o *EnableEntitlementOriginFeatureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) WithContext ¶
func (o *EnableEntitlementOriginFeatureParams) WithContext(ctx context.Context) *EnableEntitlementOriginFeatureParams
WithContext adds the context to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) WithHTTPClient ¶
func (o *EnableEntitlementOriginFeatureParams) WithHTTPClient(client *http.Client) *EnableEntitlementOriginFeatureParams
WithHTTPClient adds the HTTPClient to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) WithNamespace ¶
func (o *EnableEntitlementOriginFeatureParams) WithNamespace(namespace string) *EnableEntitlementOriginFeatureParams
WithNamespace adds the namespace to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) WithTimeout ¶
func (o *EnableEntitlementOriginFeatureParams) WithTimeout(timeout time.Duration) *EnableEntitlementOriginFeatureParams
WithTimeout adds the timeout to the enable entitlement origin feature params
func (*EnableEntitlementOriginFeatureParams) WriteToRequest ¶
func (o *EnableEntitlementOriginFeatureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableEntitlementOriginFeatureReader ¶
type EnableEntitlementOriginFeatureReader struct {
// contains filtered or unexported fields
}
EnableEntitlementOriginFeatureReader is a Reader for the EnableEntitlementOriginFeature structure.
func (*EnableEntitlementOriginFeatureReader) ReadResponse ¶
func (o *EnableEntitlementOriginFeatureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableEntitlementOriginFeatureResponse ¶
type EnableEntitlementOriginFeatureResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementConfigInfo }
func (*EnableEntitlementOriginFeatureResponse) Unpack ¶
func (m *EnableEntitlementOriginFeatureResponse) Unpack() (*platformclientmodels.EntitlementConfigInfo, *platformclientmodels.ApiError)
type EnableUserEntitlementConflict ¶
type EnableUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
EnableUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31177</td><td>Permanent item already owned</td></tr><tr><td>31179</td><td>Duplicate entitlement exists</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewEnableUserEntitlementConflict ¶
func NewEnableUserEntitlementConflict() *EnableUserEntitlementConflict
NewEnableUserEntitlementConflict creates a EnableUserEntitlementConflict with default headers values
func (*EnableUserEntitlementConflict) Error ¶
func (o *EnableUserEntitlementConflict) Error() string
func (*EnableUserEntitlementConflict) GetPayload ¶
func (o *EnableUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*EnableUserEntitlementConflict) ToJSONString ¶
func (o *EnableUserEntitlementConflict) ToJSONString() string
type EnableUserEntitlementNotFound ¶
type EnableUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
EnableUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewEnableUserEntitlementNotFound ¶
func NewEnableUserEntitlementNotFound() *EnableUserEntitlementNotFound
NewEnableUserEntitlementNotFound creates a EnableUserEntitlementNotFound with default headers values
func (*EnableUserEntitlementNotFound) Error ¶
func (o *EnableUserEntitlementNotFound) Error() string
func (*EnableUserEntitlementNotFound) GetPayload ¶
func (o *EnableUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*EnableUserEntitlementNotFound) ToJSONString ¶
func (o *EnableUserEntitlementNotFound) ToJSONString() string
type EnableUserEntitlementOK ¶
type EnableUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
EnableUserEntitlementOK handles this case with default header values.
successful operation
func NewEnableUserEntitlementOK ¶
func NewEnableUserEntitlementOK() *EnableUserEntitlementOK
NewEnableUserEntitlementOK creates a EnableUserEntitlementOK with default headers values
func (*EnableUserEntitlementOK) Error ¶
func (o *EnableUserEntitlementOK) Error() string
func (*EnableUserEntitlementOK) GetPayload ¶
func (o *EnableUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*EnableUserEntitlementOK) ToJSONString ¶
func (o *EnableUserEntitlementOK) ToJSONString() string
type EnableUserEntitlementParams ¶
type EnableUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
EnableUserEntitlementParams contains all the parameters to send to the API endpoint for the enable user entitlement operation typically these are written to a http.Request
func NewEnableUserEntitlementParams ¶
func NewEnableUserEntitlementParams() *EnableUserEntitlementParams
NewEnableUserEntitlementParams creates a new EnableUserEntitlementParams object with the default values initialized.
func NewEnableUserEntitlementParamsWithContext ¶
func NewEnableUserEntitlementParamsWithContext(ctx context.Context) *EnableUserEntitlementParams
NewEnableUserEntitlementParamsWithContext creates a new EnableUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewEnableUserEntitlementParamsWithHTTPClient ¶
func NewEnableUserEntitlementParamsWithHTTPClient(client *http.Client) *EnableUserEntitlementParams
NewEnableUserEntitlementParamsWithHTTPClient creates a new EnableUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEnableUserEntitlementParamsWithTimeout ¶
func NewEnableUserEntitlementParamsWithTimeout(timeout time.Duration) *EnableUserEntitlementParams
NewEnableUserEntitlementParamsWithTimeout creates a new EnableUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*EnableUserEntitlementParams) SetAuthInfoWriter ¶
func (o *EnableUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the enable user entitlement params
func (*EnableUserEntitlementParams) SetContext ¶
func (o *EnableUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the enable user entitlement params
func (*EnableUserEntitlementParams) SetEntitlementID ¶
func (o *EnableUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the enable user entitlement params
func (*EnableUserEntitlementParams) SetFlightId ¶
func (o *EnableUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*EnableUserEntitlementParams) SetHTTPClient ¶
func (o *EnableUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable user entitlement params
func (*EnableUserEntitlementParams) SetHTTPClientTransport ¶
func (o *EnableUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the enable user entitlement params
func (*EnableUserEntitlementParams) SetNamespace ¶
func (o *EnableUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the enable user entitlement params
func (*EnableUserEntitlementParams) SetTimeout ¶
func (o *EnableUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable user entitlement params
func (*EnableUserEntitlementParams) SetUserID ¶
func (o *EnableUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the enable user entitlement params
func (*EnableUserEntitlementParams) WithContext ¶
func (o *EnableUserEntitlementParams) WithContext(ctx context.Context) *EnableUserEntitlementParams
WithContext adds the context to the enable user entitlement params
func (*EnableUserEntitlementParams) WithEntitlementID ¶
func (o *EnableUserEntitlementParams) WithEntitlementID(entitlementID string) *EnableUserEntitlementParams
WithEntitlementID adds the entitlementID to the enable user entitlement params
func (*EnableUserEntitlementParams) WithHTTPClient ¶
func (o *EnableUserEntitlementParams) WithHTTPClient(client *http.Client) *EnableUserEntitlementParams
WithHTTPClient adds the HTTPClient to the enable user entitlement params
func (*EnableUserEntitlementParams) WithNamespace ¶
func (o *EnableUserEntitlementParams) WithNamespace(namespace string) *EnableUserEntitlementParams
WithNamespace adds the namespace to the enable user entitlement params
func (*EnableUserEntitlementParams) WithTimeout ¶
func (o *EnableUserEntitlementParams) WithTimeout(timeout time.Duration) *EnableUserEntitlementParams
WithTimeout adds the timeout to the enable user entitlement params
func (*EnableUserEntitlementParams) WithUserID ¶
func (o *EnableUserEntitlementParams) WithUserID(userID string) *EnableUserEntitlementParams
WithUserID adds the userID to the enable user entitlement params
func (*EnableUserEntitlementParams) WriteToRequest ¶
func (o *EnableUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableUserEntitlementReader ¶
type EnableUserEntitlementReader struct {
// contains filtered or unexported fields
}
EnableUserEntitlementReader is a Reader for the EnableUserEntitlement structure.
func (*EnableUserEntitlementReader) ReadResponse ¶
func (o *EnableUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableUserEntitlementResponse ¶
type EnableUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*EnableUserEntitlementResponse) Unpack ¶
func (m *EnableUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type ExistsAnyUserActiveEntitlementByItemIdsOK ¶
type ExistsAnyUserActiveEntitlementByItemIdsOK struct {
Payload *platformclientmodels.Ownership
}
ExistsAnyUserActiveEntitlementByItemIdsOK handles this case with default header values.
successful operation
func NewExistsAnyUserActiveEntitlementByItemIdsOK ¶
func NewExistsAnyUserActiveEntitlementByItemIdsOK() *ExistsAnyUserActiveEntitlementByItemIdsOK
NewExistsAnyUserActiveEntitlementByItemIdsOK creates a ExistsAnyUserActiveEntitlementByItemIdsOK with default headers values
func (*ExistsAnyUserActiveEntitlementByItemIdsOK) Error ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsOK) Error() string
func (*ExistsAnyUserActiveEntitlementByItemIdsOK) GetPayload ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsOK) GetPayload() *platformclientmodels.Ownership
func (*ExistsAnyUserActiveEntitlementByItemIdsOK) ToJSONString ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsOK) ToJSONString() string
type ExistsAnyUserActiveEntitlementByItemIdsParams ¶
type ExistsAnyUserActiveEntitlementByItemIdsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*Platform*/ Platform *string /*ItemIds*/ ItemIds []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ExistsAnyUserActiveEntitlementByItemIdsParams contains all the parameters to send to the API endpoint for the exists any user active entitlement by item ids operation typically these are written to a http.Request
func NewExistsAnyUserActiveEntitlementByItemIdsParams ¶
func NewExistsAnyUserActiveEntitlementByItemIdsParams() *ExistsAnyUserActiveEntitlementByItemIdsParams
NewExistsAnyUserActiveEntitlementByItemIdsParams creates a new ExistsAnyUserActiveEntitlementByItemIdsParams object with the default values initialized.
func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithContext ¶
func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementByItemIdsParams
NewExistsAnyUserActiveEntitlementByItemIdsParamsWithContext creates a new ExistsAnyUserActiveEntitlementByItemIdsParams object with the default values initialized, and the ability to set a context for a request
func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithHTTPClient ¶
func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementByItemIdsParams
NewExistsAnyUserActiveEntitlementByItemIdsParamsWithHTTPClient creates a new ExistsAnyUserActiveEntitlementByItemIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithTimeout ¶
func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementByItemIdsParams
NewExistsAnyUserActiveEntitlementByItemIdsParamsWithTimeout creates a new ExistsAnyUserActiveEntitlementByItemIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetAuthInfoWriter ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetContext ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetFlightId ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClient ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClientTransport ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetItemIds ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetItemIds(itemIds []string)
SetItemIds adds the itemIds to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetPlatform ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetPlatform(platform *string)
SetPlatform adds the platform to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetTimeout ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetUserID ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetUserID(userID string)
SetUserID adds the userId to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithContext ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithContext adds the context to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithHTTPClient ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithHTTPClient adds the HTTPClient to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithItemIds ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithItemIds(itemIds []string) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithItemIds adds the itemIds to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithNamespace ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithNamespace(namespace string) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithNamespace adds the namespace to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithPlatform ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithPlatform(platform *string) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithPlatform adds the platform to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithTimeout ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithTimeout adds the timeout to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithUserID ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WithUserID(userID string) *ExistsAnyUserActiveEntitlementByItemIdsParams
WithUserID adds the userID to the exists any user active entitlement by item ids params
func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WriteToRequest ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExistsAnyUserActiveEntitlementByItemIdsReader ¶
type ExistsAnyUserActiveEntitlementByItemIdsReader struct {
// contains filtered or unexported fields
}
ExistsAnyUserActiveEntitlementByItemIdsReader is a Reader for the ExistsAnyUserActiveEntitlementByItemIds structure.
func (*ExistsAnyUserActiveEntitlementByItemIdsReader) ReadResponse ¶
func (o *ExistsAnyUserActiveEntitlementByItemIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExistsAnyUserActiveEntitlementByItemIdsResponse ¶
type ExistsAnyUserActiveEntitlementByItemIdsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*ExistsAnyUserActiveEntitlementByItemIdsResponse) Unpack ¶
func (m *ExistsAnyUserActiveEntitlementByItemIdsResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type ExistsAnyUserActiveEntitlementOK ¶
type ExistsAnyUserActiveEntitlementOK struct {
Payload *platformclientmodels.Ownership
}
ExistsAnyUserActiveEntitlementOK handles this case with default header values.
successful operation
func NewExistsAnyUserActiveEntitlementOK ¶
func NewExistsAnyUserActiveEntitlementOK() *ExistsAnyUserActiveEntitlementOK
NewExistsAnyUserActiveEntitlementOK creates a ExistsAnyUserActiveEntitlementOK with default headers values
func (*ExistsAnyUserActiveEntitlementOK) Error ¶
func (o *ExistsAnyUserActiveEntitlementOK) Error() string
func (*ExistsAnyUserActiveEntitlementOK) GetPayload ¶
func (o *ExistsAnyUserActiveEntitlementOK) GetPayload() *platformclientmodels.Ownership
func (*ExistsAnyUserActiveEntitlementOK) ToJSONString ¶
func (o *ExistsAnyUserActiveEntitlementOK) ToJSONString() string
type ExistsAnyUserActiveEntitlementParams ¶
type ExistsAnyUserActiveEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AppIds*/ AppIds []string /*ItemIds*/ ItemIds []string /*Platform*/ Platform *string /*Skus*/ Skus []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ExistsAnyUserActiveEntitlementParams contains all the parameters to send to the API endpoint for the exists any user active entitlement operation typically these are written to a http.Request
func NewExistsAnyUserActiveEntitlementParams ¶
func NewExistsAnyUserActiveEntitlementParams() *ExistsAnyUserActiveEntitlementParams
NewExistsAnyUserActiveEntitlementParams creates a new ExistsAnyUserActiveEntitlementParams object with the default values initialized.
func NewExistsAnyUserActiveEntitlementParamsWithContext ¶
func NewExistsAnyUserActiveEntitlementParamsWithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementParams
NewExistsAnyUserActiveEntitlementParamsWithContext creates a new ExistsAnyUserActiveEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewExistsAnyUserActiveEntitlementParamsWithHTTPClient ¶
func NewExistsAnyUserActiveEntitlementParamsWithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementParams
NewExistsAnyUserActiveEntitlementParamsWithHTTPClient creates a new ExistsAnyUserActiveEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExistsAnyUserActiveEntitlementParamsWithTimeout ¶
func NewExistsAnyUserActiveEntitlementParamsWithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementParams
NewExistsAnyUserActiveEntitlementParamsWithTimeout creates a new ExistsAnyUserActiveEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExistsAnyUserActiveEntitlementParams) SetAppIds ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetAppIds(appIds []string)
SetAppIds adds the appIds to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetContext ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetFlightId ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ExistsAnyUserActiveEntitlementParams) SetHTTPClient ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetItemIds ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetItemIds(itemIds []string)
SetItemIds adds the itemIds to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetNamespace ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetPlatform ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetPlatform(platform *string)
SetPlatform adds the platform to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetSkus ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetSkus(skus []string)
SetSkus adds the skus to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetTimeout ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) SetUserID ¶
func (o *ExistsAnyUserActiveEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithAppIds ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithAppIds(appIds []string) *ExistsAnyUserActiveEntitlementParams
WithAppIds adds the appIds to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithContext ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementParams
WithContext adds the context to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithHTTPClient ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementParams
WithHTTPClient adds the HTTPClient to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithItemIds ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithItemIds(itemIds []string) *ExistsAnyUserActiveEntitlementParams
WithItemIds adds the itemIds to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithNamespace ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithNamespace(namespace string) *ExistsAnyUserActiveEntitlementParams
WithNamespace adds the namespace to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithPlatform ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithPlatform(platform *string) *ExistsAnyUserActiveEntitlementParams
WithPlatform adds the platform to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithSkus ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithSkus(skus []string) *ExistsAnyUserActiveEntitlementParams
WithSkus adds the skus to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithTimeout ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementParams
WithTimeout adds the timeout to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WithUserID ¶
func (o *ExistsAnyUserActiveEntitlementParams) WithUserID(userID string) *ExistsAnyUserActiveEntitlementParams
WithUserID adds the userID to the exists any user active entitlement params
func (*ExistsAnyUserActiveEntitlementParams) WriteToRequest ¶
func (o *ExistsAnyUserActiveEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExistsAnyUserActiveEntitlementReader ¶
type ExistsAnyUserActiveEntitlementReader struct {
// contains filtered or unexported fields
}
ExistsAnyUserActiveEntitlementReader is a Reader for the ExistsAnyUserActiveEntitlement structure.
func (*ExistsAnyUserActiveEntitlementReader) ReadResponse ¶
func (o *ExistsAnyUserActiveEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExistsAnyUserActiveEntitlementResponse ¶
type ExistsAnyUserActiveEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*ExistsAnyUserActiveEntitlementResponse) Unpack ¶
func (m *ExistsAnyUserActiveEntitlementResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type GetEntitlementConfigInfoOK ¶
type GetEntitlementConfigInfoOK struct {
Payload *platformclientmodels.EntitlementConfigInfo
}
GetEntitlementConfigInfoOK handles this case with default header values.
successful operation
func NewGetEntitlementConfigInfoOK ¶
func NewGetEntitlementConfigInfoOK() *GetEntitlementConfigInfoOK
NewGetEntitlementConfigInfoOK creates a GetEntitlementConfigInfoOK with default headers values
func (*GetEntitlementConfigInfoOK) Error ¶
func (o *GetEntitlementConfigInfoOK) Error() string
func (*GetEntitlementConfigInfoOK) GetPayload ¶
func (o *GetEntitlementConfigInfoOK) GetPayload() *platformclientmodels.EntitlementConfigInfo
func (*GetEntitlementConfigInfoOK) ToJSONString ¶
func (o *GetEntitlementConfigInfoOK) ToJSONString() string
type GetEntitlementConfigInfoParams ¶
type GetEntitlementConfigInfoParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*WithoutCache*/ WithoutCache *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetEntitlementConfigInfoParams contains all the parameters to send to the API endpoint for the get entitlement config info operation typically these are written to a http.Request
func NewGetEntitlementConfigInfoParams ¶
func NewGetEntitlementConfigInfoParams() *GetEntitlementConfigInfoParams
NewGetEntitlementConfigInfoParams creates a new GetEntitlementConfigInfoParams object with the default values initialized.
func NewGetEntitlementConfigInfoParamsWithContext ¶
func NewGetEntitlementConfigInfoParamsWithContext(ctx context.Context) *GetEntitlementConfigInfoParams
NewGetEntitlementConfigInfoParamsWithContext creates a new GetEntitlementConfigInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetEntitlementConfigInfoParamsWithHTTPClient ¶
func NewGetEntitlementConfigInfoParamsWithHTTPClient(client *http.Client) *GetEntitlementConfigInfoParams
NewGetEntitlementConfigInfoParamsWithHTTPClient creates a new GetEntitlementConfigInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEntitlementConfigInfoParamsWithTimeout ¶
func NewGetEntitlementConfigInfoParamsWithTimeout(timeout time.Duration) *GetEntitlementConfigInfoParams
NewGetEntitlementConfigInfoParamsWithTimeout creates a new GetEntitlementConfigInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEntitlementConfigInfoParams) SetAuthInfoWriter ¶
func (o *GetEntitlementConfigInfoParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) SetContext ¶
func (o *GetEntitlementConfigInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) SetFlightId ¶
func (o *GetEntitlementConfigInfoParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetEntitlementConfigInfoParams) SetHTTPClient ¶
func (o *GetEntitlementConfigInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) SetHTTPClientTransport ¶
func (o *GetEntitlementConfigInfoParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) SetNamespace ¶
func (o *GetEntitlementConfigInfoParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) SetTimeout ¶
func (o *GetEntitlementConfigInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) SetWithoutCache ¶
func (o *GetEntitlementConfigInfoParams) SetWithoutCache(withoutCache *bool)
SetWithoutCache adds the withoutCache to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) WithContext ¶
func (o *GetEntitlementConfigInfoParams) WithContext(ctx context.Context) *GetEntitlementConfigInfoParams
WithContext adds the context to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) WithHTTPClient ¶
func (o *GetEntitlementConfigInfoParams) WithHTTPClient(client *http.Client) *GetEntitlementConfigInfoParams
WithHTTPClient adds the HTTPClient to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) WithNamespace ¶
func (o *GetEntitlementConfigInfoParams) WithNamespace(namespace string) *GetEntitlementConfigInfoParams
WithNamespace adds the namespace to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) WithTimeout ¶
func (o *GetEntitlementConfigInfoParams) WithTimeout(timeout time.Duration) *GetEntitlementConfigInfoParams
WithTimeout adds the timeout to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) WithWithoutCache_ ¶
func (o *GetEntitlementConfigInfoParams) WithWithoutCache_(withoutCache *bool) *GetEntitlementConfigInfoParams
WithWithoutCache_ adds the withoutCache to the get entitlement config info params
func (*GetEntitlementConfigInfoParams) WriteToRequest ¶
func (o *GetEntitlementConfigInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEntitlementConfigInfoReader ¶
type GetEntitlementConfigInfoReader struct {
// contains filtered or unexported fields
}
GetEntitlementConfigInfoReader is a Reader for the GetEntitlementConfigInfo structure.
func (*GetEntitlementConfigInfoReader) ReadResponse ¶
func (o *GetEntitlementConfigInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEntitlementConfigInfoResponse ¶
type GetEntitlementConfigInfoResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementConfigInfo }
func (*GetEntitlementConfigInfoResponse) Unpack ¶
func (m *GetEntitlementConfigInfoResponse) Unpack() (*platformclientmodels.EntitlementConfigInfo, *platformclientmodels.ApiError)
type GetEntitlementNotFound ¶
type GetEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetEntitlementNotFound ¶
func NewGetEntitlementNotFound() *GetEntitlementNotFound
NewGetEntitlementNotFound creates a GetEntitlementNotFound with default headers values
func (*GetEntitlementNotFound) Error ¶
func (o *GetEntitlementNotFound) Error() string
func (*GetEntitlementNotFound) GetPayload ¶
func (o *GetEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetEntitlementNotFound) ToJSONString ¶
func (o *GetEntitlementNotFound) ToJSONString() string
type GetEntitlementOK ¶
type GetEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
GetEntitlementOK handles this case with default header values.
successful operation
func NewGetEntitlementOK ¶
func NewGetEntitlementOK() *GetEntitlementOK
NewGetEntitlementOK creates a GetEntitlementOK with default headers values
func (*GetEntitlementOK) Error ¶
func (o *GetEntitlementOK) Error() string
func (*GetEntitlementOK) GetPayload ¶
func (o *GetEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*GetEntitlementOK) ToJSONString ¶
func (o *GetEntitlementOK) ToJSONString() string
type GetEntitlementParams ¶
type GetEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetEntitlementParams contains all the parameters to send to the API endpoint for the get entitlement operation typically these are written to a http.Request
func NewGetEntitlementParams ¶
func NewGetEntitlementParams() *GetEntitlementParams
NewGetEntitlementParams creates a new GetEntitlementParams object with the default values initialized.
func NewGetEntitlementParamsWithContext ¶
func NewGetEntitlementParamsWithContext(ctx context.Context) *GetEntitlementParams
NewGetEntitlementParamsWithContext creates a new GetEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewGetEntitlementParamsWithHTTPClient ¶
func NewGetEntitlementParamsWithHTTPClient(client *http.Client) *GetEntitlementParams
NewGetEntitlementParamsWithHTTPClient creates a new GetEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEntitlementParamsWithTimeout ¶
func NewGetEntitlementParamsWithTimeout(timeout time.Duration) *GetEntitlementParams
NewGetEntitlementParamsWithTimeout creates a new GetEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEntitlementParams) SetAuthInfoWriter ¶
func (o *GetEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get entitlement params
func (*GetEntitlementParams) SetContext ¶
func (o *GetEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the get entitlement params
func (*GetEntitlementParams) SetEntitlementID ¶
func (o *GetEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the get entitlement params
func (*GetEntitlementParams) SetFlightId ¶
func (o *GetEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetEntitlementParams) SetHTTPClient ¶
func (o *GetEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get entitlement params
func (*GetEntitlementParams) SetHTTPClientTransport ¶
func (o *GetEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get entitlement params
func (*GetEntitlementParams) SetNamespace ¶
func (o *GetEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get entitlement params
func (*GetEntitlementParams) SetTimeout ¶
func (o *GetEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get entitlement params
func (*GetEntitlementParams) WithContext ¶
func (o *GetEntitlementParams) WithContext(ctx context.Context) *GetEntitlementParams
WithContext adds the context to the get entitlement params
func (*GetEntitlementParams) WithEntitlementID ¶
func (o *GetEntitlementParams) WithEntitlementID(entitlementID string) *GetEntitlementParams
WithEntitlementID adds the entitlementID to the get entitlement params
func (*GetEntitlementParams) WithHTTPClient ¶
func (o *GetEntitlementParams) WithHTTPClient(client *http.Client) *GetEntitlementParams
WithHTTPClient adds the HTTPClient to the get entitlement params
func (*GetEntitlementParams) WithNamespace ¶
func (o *GetEntitlementParams) WithNamespace(namespace string) *GetEntitlementParams
WithNamespace adds the namespace to the get entitlement params
func (*GetEntitlementParams) WithTimeout ¶
func (o *GetEntitlementParams) WithTimeout(timeout time.Duration) *GetEntitlementParams
WithTimeout adds the timeout to the get entitlement params
func (*GetEntitlementParams) WriteToRequest ¶
func (o *GetEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEntitlementReader ¶
type GetEntitlementReader struct {
// contains filtered or unexported fields
}
GetEntitlementReader is a Reader for the GetEntitlement structure.
func (*GetEntitlementReader) ReadResponse ¶
func (o *GetEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEntitlementResponse ¶
type GetEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*GetEntitlementResponse) Unpack ¶
func (m *GetEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type GetPlatformEntitlementConfigOK ¶
type GetPlatformEntitlementConfigOK struct {
Payload *platformclientmodels.EntitlementPlatformConfigInfo
}
GetPlatformEntitlementConfigOK handles this case with default header values.
successful operation
func NewGetPlatformEntitlementConfigOK ¶
func NewGetPlatformEntitlementConfigOK() *GetPlatformEntitlementConfigOK
NewGetPlatformEntitlementConfigOK creates a GetPlatformEntitlementConfigOK with default headers values
func (*GetPlatformEntitlementConfigOK) Error ¶
func (o *GetPlatformEntitlementConfigOK) Error() string
func (*GetPlatformEntitlementConfigOK) GetPayload ¶
func (o *GetPlatformEntitlementConfigOK) GetPayload() *platformclientmodels.EntitlementPlatformConfigInfo
func (*GetPlatformEntitlementConfigOK) ToJSONString ¶
func (o *GetPlatformEntitlementConfigOK) ToJSONString() string
type GetPlatformEntitlementConfigParams ¶
type GetPlatformEntitlementConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Platform*/ Platform string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetPlatformEntitlementConfigParams contains all the parameters to send to the API endpoint for the get platform entitlement config operation typically these are written to a http.Request
func NewGetPlatformEntitlementConfigParams ¶
func NewGetPlatformEntitlementConfigParams() *GetPlatformEntitlementConfigParams
NewGetPlatformEntitlementConfigParams creates a new GetPlatformEntitlementConfigParams object with the default values initialized.
func NewGetPlatformEntitlementConfigParamsWithContext ¶
func NewGetPlatformEntitlementConfigParamsWithContext(ctx context.Context) *GetPlatformEntitlementConfigParams
NewGetPlatformEntitlementConfigParamsWithContext creates a new GetPlatformEntitlementConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetPlatformEntitlementConfigParamsWithHTTPClient ¶
func NewGetPlatformEntitlementConfigParamsWithHTTPClient(client *http.Client) *GetPlatformEntitlementConfigParams
NewGetPlatformEntitlementConfigParamsWithHTTPClient creates a new GetPlatformEntitlementConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlatformEntitlementConfigParamsWithTimeout ¶
func NewGetPlatformEntitlementConfigParamsWithTimeout(timeout time.Duration) *GetPlatformEntitlementConfigParams
NewGetPlatformEntitlementConfigParamsWithTimeout creates a new GetPlatformEntitlementConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlatformEntitlementConfigParams) SetAuthInfoWriter ¶
func (o *GetPlatformEntitlementConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) SetContext ¶
func (o *GetPlatformEntitlementConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) SetFlightId ¶
func (o *GetPlatformEntitlementConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPlatformEntitlementConfigParams) SetHTTPClient ¶
func (o *GetPlatformEntitlementConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) SetHTTPClientTransport ¶
func (o *GetPlatformEntitlementConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) SetNamespace ¶
func (o *GetPlatformEntitlementConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) SetPlatform ¶
func (o *GetPlatformEntitlementConfigParams) SetPlatform(platform string)
SetPlatform adds the platform to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) SetTimeout ¶
func (o *GetPlatformEntitlementConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) WithContext ¶
func (o *GetPlatformEntitlementConfigParams) WithContext(ctx context.Context) *GetPlatformEntitlementConfigParams
WithContext adds the context to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) WithHTTPClient ¶
func (o *GetPlatformEntitlementConfigParams) WithHTTPClient(client *http.Client) *GetPlatformEntitlementConfigParams
WithHTTPClient adds the HTTPClient to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) WithNamespace ¶
func (o *GetPlatformEntitlementConfigParams) WithNamespace(namespace string) *GetPlatformEntitlementConfigParams
WithNamespace adds the namespace to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) WithPlatform ¶
func (o *GetPlatformEntitlementConfigParams) WithPlatform(platform string) *GetPlatformEntitlementConfigParams
WithPlatform adds the platform to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) WithTimeout ¶
func (o *GetPlatformEntitlementConfigParams) WithTimeout(timeout time.Duration) *GetPlatformEntitlementConfigParams
WithTimeout adds the timeout to the get platform entitlement config params
func (*GetPlatformEntitlementConfigParams) WriteToRequest ¶
func (o *GetPlatformEntitlementConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlatformEntitlementConfigReader ¶
type GetPlatformEntitlementConfigReader struct {
// contains filtered or unexported fields
}
GetPlatformEntitlementConfigReader is a Reader for the GetPlatformEntitlementConfig structure.
func (*GetPlatformEntitlementConfigReader) ReadResponse ¶
func (o *GetPlatformEntitlementConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlatformEntitlementConfigResponse ¶
type GetPlatformEntitlementConfigResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPlatformConfigInfo }
type GetUserActiveEntitlementsByItemIdsOK ¶
type GetUserActiveEntitlementsByItemIdsOK struct {
Payload []*platformclientmodels.EntitlementInfo
}
GetUserActiveEntitlementsByItemIdsOK handles this case with default header values.
successful operation
func NewGetUserActiveEntitlementsByItemIdsOK ¶
func NewGetUserActiveEntitlementsByItemIdsOK() *GetUserActiveEntitlementsByItemIdsOK
NewGetUserActiveEntitlementsByItemIdsOK creates a GetUserActiveEntitlementsByItemIdsOK with default headers values
func (*GetUserActiveEntitlementsByItemIdsOK) Error ¶
func (o *GetUserActiveEntitlementsByItemIdsOK) Error() string
func (*GetUserActiveEntitlementsByItemIdsOK) GetPayload ¶
func (o *GetUserActiveEntitlementsByItemIdsOK) GetPayload() []*platformclientmodels.EntitlementInfo
func (*GetUserActiveEntitlementsByItemIdsOK) ToJSONString ¶
func (o *GetUserActiveEntitlementsByItemIdsOK) ToJSONString() string
type GetUserActiveEntitlementsByItemIdsParams ¶
type GetUserActiveEntitlementsByItemIdsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*Ids*/ Ids []string /*Platform*/ Platform *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserActiveEntitlementsByItemIdsParams contains all the parameters to send to the API endpoint for the get user active entitlements by item ids operation typically these are written to a http.Request
func NewGetUserActiveEntitlementsByItemIdsParams ¶
func NewGetUserActiveEntitlementsByItemIdsParams() *GetUserActiveEntitlementsByItemIdsParams
NewGetUserActiveEntitlementsByItemIdsParams creates a new GetUserActiveEntitlementsByItemIdsParams object with the default values initialized.
func NewGetUserActiveEntitlementsByItemIdsParamsWithContext ¶
func NewGetUserActiveEntitlementsByItemIdsParamsWithContext(ctx context.Context) *GetUserActiveEntitlementsByItemIdsParams
NewGetUserActiveEntitlementsByItemIdsParamsWithContext creates a new GetUserActiveEntitlementsByItemIdsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserActiveEntitlementsByItemIdsParamsWithHTTPClient ¶
func NewGetUserActiveEntitlementsByItemIdsParamsWithHTTPClient(client *http.Client) *GetUserActiveEntitlementsByItemIdsParams
NewGetUserActiveEntitlementsByItemIdsParamsWithHTTPClient creates a new GetUserActiveEntitlementsByItemIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserActiveEntitlementsByItemIdsParamsWithTimeout ¶
func NewGetUserActiveEntitlementsByItemIdsParamsWithTimeout(timeout time.Duration) *GetUserActiveEntitlementsByItemIdsParams
NewGetUserActiveEntitlementsByItemIdsParamsWithTimeout creates a new GetUserActiveEntitlementsByItemIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserActiveEntitlementsByItemIdsParams) SetAuthInfoWriter ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetContext ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetFlightId ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserActiveEntitlementsByItemIdsParams) SetHTTPClient ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetHTTPClientTransport ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetIds ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetIds(ids []string)
SetIds adds the ids to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetNamespace ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetPlatform ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetTimeout ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) SetUserID ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) SetUserID(userID string)
SetUserID adds the userId to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithContext ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithContext(ctx context.Context) *GetUserActiveEntitlementsByItemIdsParams
WithContext adds the context to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithHTTPClient ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithHTTPClient(client *http.Client) *GetUserActiveEntitlementsByItemIdsParams
WithHTTPClient adds the HTTPClient to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithIds ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithIds(ids []string) *GetUserActiveEntitlementsByItemIdsParams
WithIds adds the ids to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithNamespace ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithNamespace(namespace string) *GetUserActiveEntitlementsByItemIdsParams
WithNamespace adds the namespace to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithPlatform ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithPlatform(platform *string) *GetUserActiveEntitlementsByItemIdsParams
WithPlatform adds the platform to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithTimeout ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithTimeout(timeout time.Duration) *GetUserActiveEntitlementsByItemIdsParams
WithTimeout adds the timeout to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WithUserID ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WithUserID(userID string) *GetUserActiveEntitlementsByItemIdsParams
WithUserID adds the userID to the get user active entitlements by item ids params
func (*GetUserActiveEntitlementsByItemIdsParams) WriteToRequest ¶
func (o *GetUserActiveEntitlementsByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserActiveEntitlementsByItemIdsReader ¶
type GetUserActiveEntitlementsByItemIdsReader struct {
// contains filtered or unexported fields
}
GetUserActiveEntitlementsByItemIdsReader is a Reader for the GetUserActiveEntitlementsByItemIds structure.
func (*GetUserActiveEntitlementsByItemIdsReader) ReadResponse ¶
func (o *GetUserActiveEntitlementsByItemIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserActiveEntitlementsByItemIdsResponse ¶
type GetUserActiveEntitlementsByItemIdsResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.EntitlementInfo }
func (*GetUserActiveEntitlementsByItemIdsResponse) Unpack ¶
func (m *GetUserActiveEntitlementsByItemIdsResponse) Unpack() ([]*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type GetUserAppEntitlementByAppIDNotFound ¶
type GetUserAppEntitlementByAppIDNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserAppEntitlementByAppIDNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31142</td><td>Entitlement with appId [{appId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetUserAppEntitlementByAppIDNotFound ¶
func NewGetUserAppEntitlementByAppIDNotFound() *GetUserAppEntitlementByAppIDNotFound
NewGetUserAppEntitlementByAppIDNotFound creates a GetUserAppEntitlementByAppIDNotFound with default headers values
func (*GetUserAppEntitlementByAppIDNotFound) Error ¶
func (o *GetUserAppEntitlementByAppIDNotFound) Error() string
func (*GetUserAppEntitlementByAppIDNotFound) GetPayload ¶
func (o *GetUserAppEntitlementByAppIDNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetUserAppEntitlementByAppIDNotFound) ToJSONString ¶
func (o *GetUserAppEntitlementByAppIDNotFound) ToJSONString() string
type GetUserAppEntitlementByAppIDOK ¶
type GetUserAppEntitlementByAppIDOK struct {
Payload *platformclientmodels.AppEntitlementInfo
}
GetUserAppEntitlementByAppIDOK handles this case with default header values.
successful operation
func NewGetUserAppEntitlementByAppIDOK ¶
func NewGetUserAppEntitlementByAppIDOK() *GetUserAppEntitlementByAppIDOK
NewGetUserAppEntitlementByAppIDOK creates a GetUserAppEntitlementByAppIDOK with default headers values
func (*GetUserAppEntitlementByAppIDOK) Error ¶
func (o *GetUserAppEntitlementByAppIDOK) Error() string
func (*GetUserAppEntitlementByAppIDOK) GetPayload ¶
func (o *GetUserAppEntitlementByAppIDOK) GetPayload() *platformclientmodels.AppEntitlementInfo
func (*GetUserAppEntitlementByAppIDOK) ToJSONString ¶
func (o *GetUserAppEntitlementByAppIDOK) ToJSONString() string
type GetUserAppEntitlementByAppIDParams ¶
type GetUserAppEntitlementByAppIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ActiveOnly*/ ActiveOnly *bool /*AppID*/ AppID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserAppEntitlementByAppIDParams contains all the parameters to send to the API endpoint for the get user app entitlement by app id operation typically these are written to a http.Request
func NewGetUserAppEntitlementByAppIDParams ¶
func NewGetUserAppEntitlementByAppIDParams() *GetUserAppEntitlementByAppIDParams
NewGetUserAppEntitlementByAppIDParams creates a new GetUserAppEntitlementByAppIDParams object with the default values initialized.
func NewGetUserAppEntitlementByAppIDParamsWithContext ¶
func NewGetUserAppEntitlementByAppIDParamsWithContext(ctx context.Context) *GetUserAppEntitlementByAppIDParams
NewGetUserAppEntitlementByAppIDParamsWithContext creates a new GetUserAppEntitlementByAppIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserAppEntitlementByAppIDParamsWithHTTPClient ¶
func NewGetUserAppEntitlementByAppIDParamsWithHTTPClient(client *http.Client) *GetUserAppEntitlementByAppIDParams
NewGetUserAppEntitlementByAppIDParamsWithHTTPClient creates a new GetUserAppEntitlementByAppIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserAppEntitlementByAppIDParamsWithTimeout ¶
func NewGetUserAppEntitlementByAppIDParamsWithTimeout(timeout time.Duration) *GetUserAppEntitlementByAppIDParams
NewGetUserAppEntitlementByAppIDParamsWithTimeout creates a new GetUserAppEntitlementByAppIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserAppEntitlementByAppIDParams) SetActiveOnly ¶
func (o *GetUserAppEntitlementByAppIDParams) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetAppID ¶
func (o *GetUserAppEntitlementByAppIDParams) SetAppID(appID string)
SetAppID adds the appId to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetAuthInfoWriter ¶
func (o *GetUserAppEntitlementByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetContext ¶
func (o *GetUserAppEntitlementByAppIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetFlightId ¶
func (o *GetUserAppEntitlementByAppIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserAppEntitlementByAppIDParams) SetHTTPClient ¶
func (o *GetUserAppEntitlementByAppIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetHTTPClientTransport ¶
func (o *GetUserAppEntitlementByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetNamespace ¶
func (o *GetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetTimeout ¶
func (o *GetUserAppEntitlementByAppIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) SetUserID ¶
func (o *GetUserAppEntitlementByAppIDParams) SetUserID(userID string)
SetUserID adds the userId to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithActiveOnly ¶
func (o *GetUserAppEntitlementByAppIDParams) WithActiveOnly(activeOnly *bool) *GetUserAppEntitlementByAppIDParams
WithActiveOnly adds the activeOnly to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithAppID ¶
func (o *GetUserAppEntitlementByAppIDParams) WithAppID(appID string) *GetUserAppEntitlementByAppIDParams
WithAppID adds the appID to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithContext ¶
func (o *GetUserAppEntitlementByAppIDParams) WithContext(ctx context.Context) *GetUserAppEntitlementByAppIDParams
WithContext adds the context to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithHTTPClient ¶
func (o *GetUserAppEntitlementByAppIDParams) WithHTTPClient(client *http.Client) *GetUserAppEntitlementByAppIDParams
WithHTTPClient adds the HTTPClient to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithNamespace ¶
func (o *GetUserAppEntitlementByAppIDParams) WithNamespace(namespace string) *GetUserAppEntitlementByAppIDParams
WithNamespace adds the namespace to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithTimeout ¶
func (o *GetUserAppEntitlementByAppIDParams) WithTimeout(timeout time.Duration) *GetUserAppEntitlementByAppIDParams
WithTimeout adds the timeout to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WithUserID ¶
func (o *GetUserAppEntitlementByAppIDParams) WithUserID(userID string) *GetUserAppEntitlementByAppIDParams
WithUserID adds the userID to the get user app entitlement by app id params
func (*GetUserAppEntitlementByAppIDParams) WriteToRequest ¶
func (o *GetUserAppEntitlementByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserAppEntitlementByAppIDReader ¶
type GetUserAppEntitlementByAppIDReader struct {
// contains filtered or unexported fields
}
GetUserAppEntitlementByAppIDReader is a Reader for the GetUserAppEntitlementByAppID structure.
func (*GetUserAppEntitlementByAppIDReader) ReadResponse ¶
func (o *GetUserAppEntitlementByAppIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserAppEntitlementByAppIDResponse ¶
type GetUserAppEntitlementByAppIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.AppEntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*GetUserAppEntitlementByAppIDResponse) Unpack ¶
func (m *GetUserAppEntitlementByAppIDResponse) Unpack() (*platformclientmodels.AppEntitlementInfo, *platformclientmodels.ApiError)
type GetUserAppEntitlementOwnershipByAppIDOK ¶
type GetUserAppEntitlementOwnershipByAppIDOK struct {
Payload *platformclientmodels.Ownership
}
GetUserAppEntitlementOwnershipByAppIDOK handles this case with default header values.
successful operation
func NewGetUserAppEntitlementOwnershipByAppIDOK ¶
func NewGetUserAppEntitlementOwnershipByAppIDOK() *GetUserAppEntitlementOwnershipByAppIDOK
NewGetUserAppEntitlementOwnershipByAppIDOK creates a GetUserAppEntitlementOwnershipByAppIDOK with default headers values
func (*GetUserAppEntitlementOwnershipByAppIDOK) Error ¶
func (o *GetUserAppEntitlementOwnershipByAppIDOK) Error() string
func (*GetUserAppEntitlementOwnershipByAppIDOK) GetPayload ¶
func (o *GetUserAppEntitlementOwnershipByAppIDOK) GetPayload() *platformclientmodels.Ownership
func (*GetUserAppEntitlementOwnershipByAppIDOK) ToJSONString ¶
func (o *GetUserAppEntitlementOwnershipByAppIDOK) ToJSONString() string
type GetUserAppEntitlementOwnershipByAppIDParams ¶
type GetUserAppEntitlementOwnershipByAppIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AppID*/ AppID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserAppEntitlementOwnershipByAppIDParams contains all the parameters to send to the API endpoint for the get user app entitlement ownership by app id operation typically these are written to a http.Request
func NewGetUserAppEntitlementOwnershipByAppIDParams ¶
func NewGetUserAppEntitlementOwnershipByAppIDParams() *GetUserAppEntitlementOwnershipByAppIDParams
NewGetUserAppEntitlementOwnershipByAppIDParams creates a new GetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized.
func NewGetUserAppEntitlementOwnershipByAppIDParamsWithContext ¶
func NewGetUserAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *GetUserAppEntitlementOwnershipByAppIDParams
NewGetUserAppEntitlementOwnershipByAppIDParamsWithContext creates a new GetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient ¶
func NewGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *GetUserAppEntitlementOwnershipByAppIDParams
NewGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient creates a new GetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout ¶
func NewGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *GetUserAppEntitlementOwnershipByAppIDParams
NewGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout creates a new GetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetAppID ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetAppID(appID string)
SetAppID adds the appId to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetContext ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetFlightId ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetTimeout ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) SetUserID ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetUserID(userID string)
SetUserID adds the userId to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WithAppID ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithAppID(appID string) *GetUserAppEntitlementOwnershipByAppIDParams
WithAppID adds the appID to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WithContext ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithContext(ctx context.Context) *GetUserAppEntitlementOwnershipByAppIDParams
WithContext adds the context to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient(client *http.Client) *GetUserAppEntitlementOwnershipByAppIDParams
WithHTTPClient adds the HTTPClient to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WithNamespace ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithNamespace(namespace string) *GetUserAppEntitlementOwnershipByAppIDParams
WithNamespace adds the namespace to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WithTimeout ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithTimeout(timeout time.Duration) *GetUserAppEntitlementOwnershipByAppIDParams
WithTimeout adds the timeout to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WithUserID ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WithUserID(userID string) *GetUserAppEntitlementOwnershipByAppIDParams
WithUserID adds the userID to the get user app entitlement ownership by app id params
func (*GetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest ¶
func (o *GetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserAppEntitlementOwnershipByAppIDReader ¶
type GetUserAppEntitlementOwnershipByAppIDReader struct {
// contains filtered or unexported fields
}
GetUserAppEntitlementOwnershipByAppIDReader is a Reader for the GetUserAppEntitlementOwnershipByAppID structure.
func (*GetUserAppEntitlementOwnershipByAppIDReader) ReadResponse ¶
func (o *GetUserAppEntitlementOwnershipByAppIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserAppEntitlementOwnershipByAppIDResponse ¶
type GetUserAppEntitlementOwnershipByAppIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*GetUserAppEntitlementOwnershipByAppIDResponse) Unpack ¶
func (m *GetUserAppEntitlementOwnershipByAppIDResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type GetUserEntitlementByItemIDNotFound ¶
type GetUserEntitlementByItemIDNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserEntitlementByItemIDNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31144</td><td>Entitlement with itemId [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetUserEntitlementByItemIDNotFound ¶
func NewGetUserEntitlementByItemIDNotFound() *GetUserEntitlementByItemIDNotFound
NewGetUserEntitlementByItemIDNotFound creates a GetUserEntitlementByItemIDNotFound with default headers values
func (*GetUserEntitlementByItemIDNotFound) Error ¶
func (o *GetUserEntitlementByItemIDNotFound) Error() string
func (*GetUserEntitlementByItemIDNotFound) GetPayload ¶
func (o *GetUserEntitlementByItemIDNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetUserEntitlementByItemIDNotFound) ToJSONString ¶
func (o *GetUserEntitlementByItemIDNotFound) ToJSONString() string
type GetUserEntitlementByItemIDOK ¶
type GetUserEntitlementByItemIDOK struct {
Payload *platformclientmodels.EntitlementInfo
}
GetUserEntitlementByItemIDOK handles this case with default header values.
successful operation
func NewGetUserEntitlementByItemIDOK ¶
func NewGetUserEntitlementByItemIDOK() *GetUserEntitlementByItemIDOK
NewGetUserEntitlementByItemIDOK creates a GetUserEntitlementByItemIDOK with default headers values
func (*GetUserEntitlementByItemIDOK) Error ¶
func (o *GetUserEntitlementByItemIDOK) Error() string
func (*GetUserEntitlementByItemIDOK) GetPayload ¶
func (o *GetUserEntitlementByItemIDOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*GetUserEntitlementByItemIDOK) ToJSONString ¶
func (o *GetUserEntitlementByItemIDOK) ToJSONString() string
type GetUserEntitlementByItemIDParams ¶
type GetUserEntitlementByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ActiveOnly*/ ActiveOnly *bool /*EntitlementClazz*/ EntitlementClazz *string /*Platform*/ Platform *string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementByItemIDParams contains all the parameters to send to the API endpoint for the get user entitlement by item id operation typically these are written to a http.Request
func NewGetUserEntitlementByItemIDParams ¶
func NewGetUserEntitlementByItemIDParams() *GetUserEntitlementByItemIDParams
NewGetUserEntitlementByItemIDParams creates a new GetUserEntitlementByItemIDParams object with the default values initialized.
func NewGetUserEntitlementByItemIDParamsWithContext ¶
func NewGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementByItemIDParams
NewGetUserEntitlementByItemIDParamsWithContext creates a new GetUserEntitlementByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementByItemIDParamsWithHTTPClient ¶
func NewGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementByItemIDParams
NewGetUserEntitlementByItemIDParamsWithHTTPClient creates a new GetUserEntitlementByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementByItemIDParamsWithTimeout ¶
func NewGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementByItemIDParams
NewGetUserEntitlementByItemIDParamsWithTimeout creates a new GetUserEntitlementByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementByItemIDParams) SetActiveOnly ¶
func (o *GetUserEntitlementByItemIDParams) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetContext ¶
func (o *GetUserEntitlementByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetEntitlementClazz ¶
func (o *GetUserEntitlementByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetFlightId ¶
func (o *GetUserEntitlementByItemIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementByItemIDParams) SetHTTPClient ¶
func (o *GetUserEntitlementByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetItemID ¶
func (o *GetUserEntitlementByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetNamespace ¶
func (o *GetUserEntitlementByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetPlatform ¶
func (o *GetUserEntitlementByItemIDParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetTimeout ¶
func (o *GetUserEntitlementByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) SetUserID ¶
func (o *GetUserEntitlementByItemIDParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithActiveOnly ¶
func (o *GetUserEntitlementByItemIDParams) WithActiveOnly(activeOnly *bool) *GetUserEntitlementByItemIDParams
WithActiveOnly adds the activeOnly to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithContext ¶
func (o *GetUserEntitlementByItemIDParams) WithContext(ctx context.Context) *GetUserEntitlementByItemIDParams
WithContext adds the context to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithEntitlementClazz ¶
func (o *GetUserEntitlementByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementByItemIDParams
WithEntitlementClazz adds the entitlementClazz to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithHTTPClient ¶
func (o *GetUserEntitlementByItemIDParams) WithHTTPClient(client *http.Client) *GetUserEntitlementByItemIDParams
WithHTTPClient adds the HTTPClient to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithItemID ¶
func (o *GetUserEntitlementByItemIDParams) WithItemID(itemID string) *GetUserEntitlementByItemIDParams
WithItemID adds the itemID to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithNamespace ¶
func (o *GetUserEntitlementByItemIDParams) WithNamespace(namespace string) *GetUserEntitlementByItemIDParams
WithNamespace adds the namespace to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithPlatform ¶
func (o *GetUserEntitlementByItemIDParams) WithPlatform(platform *string) *GetUserEntitlementByItemIDParams
WithPlatform adds the platform to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithTimeout ¶
func (o *GetUserEntitlementByItemIDParams) WithTimeout(timeout time.Duration) *GetUserEntitlementByItemIDParams
WithTimeout adds the timeout to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WithUserID ¶
func (o *GetUserEntitlementByItemIDParams) WithUserID(userID string) *GetUserEntitlementByItemIDParams
WithUserID adds the userID to the get user entitlement by item id params
func (*GetUserEntitlementByItemIDParams) WriteToRequest ¶
func (o *GetUserEntitlementByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementByItemIDReader ¶
type GetUserEntitlementByItemIDReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementByItemIDReader is a Reader for the GetUserEntitlementByItemID structure.
func (*GetUserEntitlementByItemIDReader) ReadResponse ¶
func (o *GetUserEntitlementByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementByItemIDResponse ¶
type GetUserEntitlementByItemIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*GetUserEntitlementByItemIDResponse) Unpack ¶
func (m *GetUserEntitlementByItemIDResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type GetUserEntitlementBySkuNotFound ¶
type GetUserEntitlementBySkuNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserEntitlementBySkuNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31143</td><td>Entitlement with sku [{sku}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetUserEntitlementBySkuNotFound ¶
func NewGetUserEntitlementBySkuNotFound() *GetUserEntitlementBySkuNotFound
NewGetUserEntitlementBySkuNotFound creates a GetUserEntitlementBySkuNotFound with default headers values
func (*GetUserEntitlementBySkuNotFound) Error ¶
func (o *GetUserEntitlementBySkuNotFound) Error() string
func (*GetUserEntitlementBySkuNotFound) GetPayload ¶
func (o *GetUserEntitlementBySkuNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetUserEntitlementBySkuNotFound) ToJSONString ¶
func (o *GetUserEntitlementBySkuNotFound) ToJSONString() string
type GetUserEntitlementBySkuOK ¶
type GetUserEntitlementBySkuOK struct {
Payload *platformclientmodels.EntitlementInfo
}
GetUserEntitlementBySkuOK handles this case with default header values.
successful operation
func NewGetUserEntitlementBySkuOK ¶
func NewGetUserEntitlementBySkuOK() *GetUserEntitlementBySkuOK
NewGetUserEntitlementBySkuOK creates a GetUserEntitlementBySkuOK with default headers values
func (*GetUserEntitlementBySkuOK) Error ¶
func (o *GetUserEntitlementBySkuOK) Error() string
func (*GetUserEntitlementBySkuOK) GetPayload ¶
func (o *GetUserEntitlementBySkuOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*GetUserEntitlementBySkuOK) ToJSONString ¶
func (o *GetUserEntitlementBySkuOK) ToJSONString() string
type GetUserEntitlementBySkuParams ¶
type GetUserEntitlementBySkuParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ActiveOnly*/ ActiveOnly *bool /*EntitlementClazz*/ EntitlementClazz *string /*Platform*/ Platform *string /*Sku*/ Sku string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementBySkuParams contains all the parameters to send to the API endpoint for the get user entitlement by sku operation typically these are written to a http.Request
func NewGetUserEntitlementBySkuParams ¶
func NewGetUserEntitlementBySkuParams() *GetUserEntitlementBySkuParams
NewGetUserEntitlementBySkuParams creates a new GetUserEntitlementBySkuParams object with the default values initialized.
func NewGetUserEntitlementBySkuParamsWithContext ¶
func NewGetUserEntitlementBySkuParamsWithContext(ctx context.Context) *GetUserEntitlementBySkuParams
NewGetUserEntitlementBySkuParamsWithContext creates a new GetUserEntitlementBySkuParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementBySkuParamsWithHTTPClient ¶
func NewGetUserEntitlementBySkuParamsWithHTTPClient(client *http.Client) *GetUserEntitlementBySkuParams
NewGetUserEntitlementBySkuParamsWithHTTPClient creates a new GetUserEntitlementBySkuParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementBySkuParamsWithTimeout ¶
func NewGetUserEntitlementBySkuParamsWithTimeout(timeout time.Duration) *GetUserEntitlementBySkuParams
NewGetUserEntitlementBySkuParamsWithTimeout creates a new GetUserEntitlementBySkuParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementBySkuParams) SetActiveOnly ¶
func (o *GetUserEntitlementBySkuParams) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetContext ¶
func (o *GetUserEntitlementBySkuParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetEntitlementClazz ¶
func (o *GetUserEntitlementBySkuParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetFlightId ¶
func (o *GetUserEntitlementBySkuParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementBySkuParams) SetHTTPClient ¶
func (o *GetUserEntitlementBySkuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetNamespace ¶
func (o *GetUserEntitlementBySkuParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetPlatform ¶
func (o *GetUserEntitlementBySkuParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetSku ¶
func (o *GetUserEntitlementBySkuParams) SetSku(sku string)
SetSku adds the sku to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetTimeout ¶
func (o *GetUserEntitlementBySkuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) SetUserID ¶
func (o *GetUserEntitlementBySkuParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithActiveOnly ¶
func (o *GetUserEntitlementBySkuParams) WithActiveOnly(activeOnly *bool) *GetUserEntitlementBySkuParams
WithActiveOnly adds the activeOnly to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithContext ¶
func (o *GetUserEntitlementBySkuParams) WithContext(ctx context.Context) *GetUserEntitlementBySkuParams
WithContext adds the context to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithEntitlementClazz ¶
func (o *GetUserEntitlementBySkuParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementBySkuParams
WithEntitlementClazz adds the entitlementClazz to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithHTTPClient ¶
func (o *GetUserEntitlementBySkuParams) WithHTTPClient(client *http.Client) *GetUserEntitlementBySkuParams
WithHTTPClient adds the HTTPClient to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithNamespace ¶
func (o *GetUserEntitlementBySkuParams) WithNamespace(namespace string) *GetUserEntitlementBySkuParams
WithNamespace adds the namespace to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithPlatform ¶
func (o *GetUserEntitlementBySkuParams) WithPlatform(platform *string) *GetUserEntitlementBySkuParams
WithPlatform adds the platform to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithSku ¶
func (o *GetUserEntitlementBySkuParams) WithSku(sku string) *GetUserEntitlementBySkuParams
WithSku adds the sku to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithTimeout ¶
func (o *GetUserEntitlementBySkuParams) WithTimeout(timeout time.Duration) *GetUserEntitlementBySkuParams
WithTimeout adds the timeout to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WithUserID ¶
func (o *GetUserEntitlementBySkuParams) WithUserID(userID string) *GetUserEntitlementBySkuParams
WithUserID adds the userID to the get user entitlement by sku params
func (*GetUserEntitlementBySkuParams) WriteToRequest ¶
func (o *GetUserEntitlementBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementBySkuReader ¶
type GetUserEntitlementBySkuReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementBySkuReader is a Reader for the GetUserEntitlementBySku structure.
func (*GetUserEntitlementBySkuReader) ReadResponse ¶
func (o *GetUserEntitlementBySkuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementBySkuResponse ¶
type GetUserEntitlementBySkuResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*GetUserEntitlementBySkuResponse) Unpack ¶
func (m *GetUserEntitlementBySkuResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type GetUserEntitlementHistoriesOK ¶
type GetUserEntitlementHistoriesOK struct {
Payload []*platformclientmodels.EntitlementHistoryInfo
}
GetUserEntitlementHistoriesOK handles this case with default header values.
successful operation
func NewGetUserEntitlementHistoriesOK ¶
func NewGetUserEntitlementHistoriesOK() *GetUserEntitlementHistoriesOK
NewGetUserEntitlementHistoriesOK creates a GetUserEntitlementHistoriesOK with default headers values
func (*GetUserEntitlementHistoriesOK) Error ¶
func (o *GetUserEntitlementHistoriesOK) Error() string
func (*GetUserEntitlementHistoriesOK) GetPayload ¶
func (o *GetUserEntitlementHistoriesOK) GetPayload() []*platformclientmodels.EntitlementHistoryInfo
func (*GetUserEntitlementHistoriesOK) ToJSONString ¶
func (o *GetUserEntitlementHistoriesOK) ToJSONString() string
type GetUserEntitlementHistoriesParams ¶
type GetUserEntitlementHistoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementHistoriesParams contains all the parameters to send to the API endpoint for the get user entitlement histories operation typically these are written to a http.Request
func NewGetUserEntitlementHistoriesParams ¶
func NewGetUserEntitlementHistoriesParams() *GetUserEntitlementHistoriesParams
NewGetUserEntitlementHistoriesParams creates a new GetUserEntitlementHistoriesParams object with the default values initialized.
func NewGetUserEntitlementHistoriesParamsWithContext ¶
func NewGetUserEntitlementHistoriesParamsWithContext(ctx context.Context) *GetUserEntitlementHistoriesParams
NewGetUserEntitlementHistoriesParamsWithContext creates a new GetUserEntitlementHistoriesParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementHistoriesParamsWithHTTPClient ¶
func NewGetUserEntitlementHistoriesParamsWithHTTPClient(client *http.Client) *GetUserEntitlementHistoriesParams
NewGetUserEntitlementHistoriesParamsWithHTTPClient creates a new GetUserEntitlementHistoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementHistoriesParamsWithTimeout ¶
func NewGetUserEntitlementHistoriesParamsWithTimeout(timeout time.Duration) *GetUserEntitlementHistoriesParams
NewGetUserEntitlementHistoriesParamsWithTimeout creates a new GetUserEntitlementHistoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementHistoriesParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetContext ¶
func (o *GetUserEntitlementHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetEntitlementID ¶
func (o *GetUserEntitlementHistoriesParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetFlightId ¶
func (o *GetUserEntitlementHistoriesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementHistoriesParams) SetHTTPClient ¶
func (o *GetUserEntitlementHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetNamespace ¶
func (o *GetUserEntitlementHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetTimeout ¶
func (o *GetUserEntitlementHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) SetUserID ¶
func (o *GetUserEntitlementHistoriesParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WithContext ¶
func (o *GetUserEntitlementHistoriesParams) WithContext(ctx context.Context) *GetUserEntitlementHistoriesParams
WithContext adds the context to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WithEntitlementID ¶
func (o *GetUserEntitlementHistoriesParams) WithEntitlementID(entitlementID string) *GetUserEntitlementHistoriesParams
WithEntitlementID adds the entitlementID to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WithHTTPClient ¶
func (o *GetUserEntitlementHistoriesParams) WithHTTPClient(client *http.Client) *GetUserEntitlementHistoriesParams
WithHTTPClient adds the HTTPClient to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WithNamespace ¶
func (o *GetUserEntitlementHistoriesParams) WithNamespace(namespace string) *GetUserEntitlementHistoriesParams
WithNamespace adds the namespace to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WithTimeout ¶
func (o *GetUserEntitlementHistoriesParams) WithTimeout(timeout time.Duration) *GetUserEntitlementHistoriesParams
WithTimeout adds the timeout to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WithUserID ¶
func (o *GetUserEntitlementHistoriesParams) WithUserID(userID string) *GetUserEntitlementHistoriesParams
WithUserID adds the userID to the get user entitlement histories params
func (*GetUserEntitlementHistoriesParams) WriteToRequest ¶
func (o *GetUserEntitlementHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementHistoriesReader ¶
type GetUserEntitlementHistoriesReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementHistoriesReader is a Reader for the GetUserEntitlementHistories structure.
func (*GetUserEntitlementHistoriesReader) ReadResponse ¶
func (o *GetUserEntitlementHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementHistoriesResponse ¶
type GetUserEntitlementHistoriesResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.EntitlementHistoryInfo }
func (*GetUserEntitlementHistoriesResponse) Unpack ¶
func (m *GetUserEntitlementHistoriesResponse) Unpack() ([]*platformclientmodels.EntitlementHistoryInfo, *platformclientmodels.ApiError)
type GetUserEntitlementNotFound ¶
type GetUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetUserEntitlementNotFound ¶
func NewGetUserEntitlementNotFound() *GetUserEntitlementNotFound
NewGetUserEntitlementNotFound creates a GetUserEntitlementNotFound with default headers values
func (*GetUserEntitlementNotFound) Error ¶
func (o *GetUserEntitlementNotFound) Error() string
func (*GetUserEntitlementNotFound) GetPayload ¶
func (o *GetUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetUserEntitlementNotFound) ToJSONString ¶
func (o *GetUserEntitlementNotFound) ToJSONString() string
type GetUserEntitlementOK ¶
type GetUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
GetUserEntitlementOK handles this case with default header values.
successful operation
func NewGetUserEntitlementOK ¶
func NewGetUserEntitlementOK() *GetUserEntitlementOK
NewGetUserEntitlementOK creates a GetUserEntitlementOK with default headers values
func (*GetUserEntitlementOK) Error ¶
func (o *GetUserEntitlementOK) Error() string
func (*GetUserEntitlementOK) GetPayload ¶
func (o *GetUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*GetUserEntitlementOK) ToJSONString ¶
func (o *GetUserEntitlementOK) ToJSONString() string
type GetUserEntitlementOwnershipByItemIDOK ¶
type GetUserEntitlementOwnershipByItemIDOK struct {
Payload *platformclientmodels.TimedOwnership
}
GetUserEntitlementOwnershipByItemIDOK handles this case with default header values.
successful operation
func NewGetUserEntitlementOwnershipByItemIDOK ¶
func NewGetUserEntitlementOwnershipByItemIDOK() *GetUserEntitlementOwnershipByItemIDOK
NewGetUserEntitlementOwnershipByItemIDOK creates a GetUserEntitlementOwnershipByItemIDOK with default headers values
func (*GetUserEntitlementOwnershipByItemIDOK) Error ¶
func (o *GetUserEntitlementOwnershipByItemIDOK) Error() string
func (*GetUserEntitlementOwnershipByItemIDOK) GetPayload ¶
func (o *GetUserEntitlementOwnershipByItemIDOK) GetPayload() *platformclientmodels.TimedOwnership
func (*GetUserEntitlementOwnershipByItemIDOK) ToJSONString ¶
func (o *GetUserEntitlementOwnershipByItemIDOK) ToJSONString() string
type GetUserEntitlementOwnershipByItemIDParams ¶
type GetUserEntitlementOwnershipByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementClazz*/ EntitlementClazz *string /*Platform*/ Platform *string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementOwnershipByItemIDParams contains all the parameters to send to the API endpoint for the get user entitlement ownership by item id operation typically these are written to a http.Request
func NewGetUserEntitlementOwnershipByItemIDParams ¶
func NewGetUserEntitlementOwnershipByItemIDParams() *GetUserEntitlementOwnershipByItemIDParams
NewGetUserEntitlementOwnershipByItemIDParams creates a new GetUserEntitlementOwnershipByItemIDParams object with the default values initialized.
func NewGetUserEntitlementOwnershipByItemIDParamsWithContext ¶
func NewGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIDParams
NewGetUserEntitlementOwnershipByItemIDParamsWithContext creates a new GetUserEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient ¶
func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIDParams
NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient creates a new GetUserEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout ¶
func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIDParams
NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout creates a new GetUserEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetContext ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetFlightId ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetItemID ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetNamespace ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetPlatform ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetTimeout ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) SetUserID ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithContext ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIDParams
WithContext adds the context to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementOwnershipByItemIDParams
WithEntitlementClazz adds the entitlementClazz to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithHTTPClient ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIDParams
WithHTTPClient adds the HTTPClient to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithItemID ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithItemID(itemID string) *GetUserEntitlementOwnershipByItemIDParams
WithItemID adds the itemID to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithNamespace ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithNamespace(namespace string) *GetUserEntitlementOwnershipByItemIDParams
WithNamespace adds the namespace to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithPlatform ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithPlatform(platform *string) *GetUserEntitlementOwnershipByItemIDParams
WithPlatform adds the platform to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithTimeout ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIDParams
WithTimeout adds the timeout to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WithUserID ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WithUserID(userID string) *GetUserEntitlementOwnershipByItemIDParams
WithUserID adds the userID to the get user entitlement ownership by item id params
func (*GetUserEntitlementOwnershipByItemIDParams) WriteToRequest ¶
func (o *GetUserEntitlementOwnershipByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementOwnershipByItemIDReader ¶
type GetUserEntitlementOwnershipByItemIDReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementOwnershipByItemIDReader is a Reader for the GetUserEntitlementOwnershipByItemID structure.
func (*GetUserEntitlementOwnershipByItemIDReader) ReadResponse ¶
func (o *GetUserEntitlementOwnershipByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementOwnershipByItemIDResponse ¶
type GetUserEntitlementOwnershipByItemIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.TimedOwnership }
func (*GetUserEntitlementOwnershipByItemIDResponse) Unpack ¶
func (m *GetUserEntitlementOwnershipByItemIDResponse) Unpack() (*platformclientmodels.TimedOwnership, *platformclientmodels.ApiError)
type GetUserEntitlementOwnershipByItemIdsOK ¶
type GetUserEntitlementOwnershipByItemIdsOK struct {
Payload []*platformclientmodels.EntitlementOwnership
}
GetUserEntitlementOwnershipByItemIdsOK handles this case with default header values.
successful operation
func NewGetUserEntitlementOwnershipByItemIdsOK ¶
func NewGetUserEntitlementOwnershipByItemIdsOK() *GetUserEntitlementOwnershipByItemIdsOK
NewGetUserEntitlementOwnershipByItemIdsOK creates a GetUserEntitlementOwnershipByItemIdsOK with default headers values
func (*GetUserEntitlementOwnershipByItemIdsOK) Error ¶
func (o *GetUserEntitlementOwnershipByItemIdsOK) Error() string
func (*GetUserEntitlementOwnershipByItemIdsOK) GetPayload ¶
func (o *GetUserEntitlementOwnershipByItemIdsOK) GetPayload() []*platformclientmodels.EntitlementOwnership
func (*GetUserEntitlementOwnershipByItemIdsOK) ToJSONString ¶
func (o *GetUserEntitlementOwnershipByItemIdsOK) ToJSONString() string
type GetUserEntitlementOwnershipByItemIdsParams ¶
type GetUserEntitlementOwnershipByItemIdsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*Ids*/ Ids []string /*Platform*/ Platform *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementOwnershipByItemIdsParams contains all the parameters to send to the API endpoint for the get user entitlement ownership by item ids operation typically these are written to a http.Request
func NewGetUserEntitlementOwnershipByItemIdsParams ¶
func NewGetUserEntitlementOwnershipByItemIdsParams() *GetUserEntitlementOwnershipByItemIdsParams
NewGetUserEntitlementOwnershipByItemIdsParams creates a new GetUserEntitlementOwnershipByItemIdsParams object with the default values initialized.
func NewGetUserEntitlementOwnershipByItemIdsParamsWithContext ¶
func NewGetUserEntitlementOwnershipByItemIdsParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIdsParams
NewGetUserEntitlementOwnershipByItemIdsParamsWithContext creates a new GetUserEntitlementOwnershipByItemIdsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient ¶
func NewGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIdsParams
NewGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient creates a new GetUserEntitlementOwnershipByItemIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementOwnershipByItemIdsParamsWithTimeout ¶
func NewGetUserEntitlementOwnershipByItemIdsParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIdsParams
NewGetUserEntitlementOwnershipByItemIdsParamsWithTimeout creates a new GetUserEntitlementOwnershipByItemIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetContext ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetFlightId ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetIds ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetIds(ids []string)
SetIds adds the ids to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetNamespace ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetPlatform ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetTimeout ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) SetUserID ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithContext ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIdsParams
WithContext adds the context to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIdsParams
WithHTTPClient adds the HTTPClient to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithIds ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithIds(ids []string) *GetUserEntitlementOwnershipByItemIdsParams
WithIds adds the ids to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithNamespace ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithNamespace(namespace string) *GetUserEntitlementOwnershipByItemIdsParams
WithNamespace adds the namespace to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithPlatform ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithPlatform(platform *string) *GetUserEntitlementOwnershipByItemIdsParams
WithPlatform adds the platform to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithTimeout ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIdsParams
WithTimeout adds the timeout to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WithUserID ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WithUserID(userID string) *GetUserEntitlementOwnershipByItemIdsParams
WithUserID adds the userID to the get user entitlement ownership by item ids params
func (*GetUserEntitlementOwnershipByItemIdsParams) WriteToRequest ¶
func (o *GetUserEntitlementOwnershipByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementOwnershipByItemIdsReader ¶
type GetUserEntitlementOwnershipByItemIdsReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementOwnershipByItemIdsReader is a Reader for the GetUserEntitlementOwnershipByItemIds structure.
func (*GetUserEntitlementOwnershipByItemIdsReader) ReadResponse ¶
func (o *GetUserEntitlementOwnershipByItemIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementOwnershipByItemIdsResponse ¶
type GetUserEntitlementOwnershipByItemIdsResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.EntitlementOwnership }
func (*GetUserEntitlementOwnershipByItemIdsResponse) Unpack ¶
func (m *GetUserEntitlementOwnershipByItemIdsResponse) Unpack() ([]*platformclientmodels.EntitlementOwnership, *platformclientmodels.ApiError)
type GetUserEntitlementOwnershipBySkuOK ¶
type GetUserEntitlementOwnershipBySkuOK struct {
Payload *platformclientmodels.TimedOwnership
}
GetUserEntitlementOwnershipBySkuOK handles this case with default header values.
successful operation
func NewGetUserEntitlementOwnershipBySkuOK ¶
func NewGetUserEntitlementOwnershipBySkuOK() *GetUserEntitlementOwnershipBySkuOK
NewGetUserEntitlementOwnershipBySkuOK creates a GetUserEntitlementOwnershipBySkuOK with default headers values
func (*GetUserEntitlementOwnershipBySkuOK) Error ¶
func (o *GetUserEntitlementOwnershipBySkuOK) Error() string
func (*GetUserEntitlementOwnershipBySkuOK) GetPayload ¶
func (o *GetUserEntitlementOwnershipBySkuOK) GetPayload() *platformclientmodels.TimedOwnership
func (*GetUserEntitlementOwnershipBySkuOK) ToJSONString ¶
func (o *GetUserEntitlementOwnershipBySkuOK) ToJSONString() string
type GetUserEntitlementOwnershipBySkuParams ¶
type GetUserEntitlementOwnershipBySkuParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementClazz*/ EntitlementClazz *string /*Platform*/ Platform *string /*Sku*/ Sku string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementOwnershipBySkuParams contains all the parameters to send to the API endpoint for the get user entitlement ownership by sku operation typically these are written to a http.Request
func NewGetUserEntitlementOwnershipBySkuParams ¶
func NewGetUserEntitlementOwnershipBySkuParams() *GetUserEntitlementOwnershipBySkuParams
NewGetUserEntitlementOwnershipBySkuParams creates a new GetUserEntitlementOwnershipBySkuParams object with the default values initialized.
func NewGetUserEntitlementOwnershipBySkuParamsWithContext ¶
func NewGetUserEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipBySkuParams
NewGetUserEntitlementOwnershipBySkuParamsWithContext creates a new GetUserEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementOwnershipBySkuParamsWithHTTPClient ¶
func NewGetUserEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipBySkuParams
NewGetUserEntitlementOwnershipBySkuParamsWithHTTPClient creates a new GetUserEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementOwnershipBySkuParamsWithTimeout ¶
func NewGetUserEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipBySkuParams
NewGetUserEntitlementOwnershipBySkuParamsWithTimeout creates a new GetUserEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetContext ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetFlightId ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementOwnershipBySkuParams) SetHTTPClient ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetNamespace ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetPlatform ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetSku ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetSku(sku string)
SetSku adds the sku to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetTimeout ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) SetUserID ¶
func (o *GetUserEntitlementOwnershipBySkuParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithContext ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithContext(ctx context.Context) *GetUserEntitlementOwnershipBySkuParams
WithContext adds the context to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementOwnershipBySkuParams
WithEntitlementClazz adds the entitlementClazz to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithHTTPClient ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipBySkuParams
WithHTTPClient adds the HTTPClient to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithNamespace ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithNamespace(namespace string) *GetUserEntitlementOwnershipBySkuParams
WithNamespace adds the namespace to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithPlatform ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithPlatform(platform *string) *GetUserEntitlementOwnershipBySkuParams
WithPlatform adds the platform to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithSku ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithSku(sku string) *GetUserEntitlementOwnershipBySkuParams
WithSku adds the sku to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithTimeout ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipBySkuParams
WithTimeout adds the timeout to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WithUserID ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WithUserID(userID string) *GetUserEntitlementOwnershipBySkuParams
WithUserID adds the userID to the get user entitlement ownership by sku params
func (*GetUserEntitlementOwnershipBySkuParams) WriteToRequest ¶
func (o *GetUserEntitlementOwnershipBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementOwnershipBySkuReader ¶
type GetUserEntitlementOwnershipBySkuReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementOwnershipBySkuReader is a Reader for the GetUserEntitlementOwnershipBySku structure.
func (*GetUserEntitlementOwnershipBySkuReader) ReadResponse ¶
func (o *GetUserEntitlementOwnershipBySkuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementOwnershipBySkuResponse ¶
type GetUserEntitlementOwnershipBySkuResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.TimedOwnership }
func (*GetUserEntitlementOwnershipBySkuResponse) Unpack ¶
func (m *GetUserEntitlementOwnershipBySkuResponse) Unpack() (*platformclientmodels.TimedOwnership, *platformclientmodels.ApiError)
type GetUserEntitlementParams ¶
type GetUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementParams contains all the parameters to send to the API endpoint for the get user entitlement operation typically these are written to a http.Request
func NewGetUserEntitlementParams ¶
func NewGetUserEntitlementParams() *GetUserEntitlementParams
NewGetUserEntitlementParams creates a new GetUserEntitlementParams object with the default values initialized.
func NewGetUserEntitlementParamsWithContext ¶
func NewGetUserEntitlementParamsWithContext(ctx context.Context) *GetUserEntitlementParams
NewGetUserEntitlementParamsWithContext creates a new GetUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementParamsWithHTTPClient ¶
func NewGetUserEntitlementParamsWithHTTPClient(client *http.Client) *GetUserEntitlementParams
NewGetUserEntitlementParamsWithHTTPClient creates a new GetUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementParamsWithTimeout ¶
func NewGetUserEntitlementParamsWithTimeout(timeout time.Duration) *GetUserEntitlementParams
NewGetUserEntitlementParamsWithTimeout creates a new GetUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlement params
func (*GetUserEntitlementParams) SetContext ¶
func (o *GetUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlement params
func (*GetUserEntitlementParams) SetEntitlementID ¶
func (o *GetUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the get user entitlement params
func (*GetUserEntitlementParams) SetFlightId ¶
func (o *GetUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementParams) SetHTTPClient ¶
func (o *GetUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlement params
func (*GetUserEntitlementParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlement params
func (*GetUserEntitlementParams) SetNamespace ¶
func (o *GetUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlement params
func (*GetUserEntitlementParams) SetTimeout ¶
func (o *GetUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlement params
func (*GetUserEntitlementParams) SetUserID ¶
func (o *GetUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlement params
func (*GetUserEntitlementParams) WithContext ¶
func (o *GetUserEntitlementParams) WithContext(ctx context.Context) *GetUserEntitlementParams
WithContext adds the context to the get user entitlement params
func (*GetUserEntitlementParams) WithEntitlementID ¶
func (o *GetUserEntitlementParams) WithEntitlementID(entitlementID string) *GetUserEntitlementParams
WithEntitlementID adds the entitlementID to the get user entitlement params
func (*GetUserEntitlementParams) WithHTTPClient ¶
func (o *GetUserEntitlementParams) WithHTTPClient(client *http.Client) *GetUserEntitlementParams
WithHTTPClient adds the HTTPClient to the get user entitlement params
func (*GetUserEntitlementParams) WithNamespace ¶
func (o *GetUserEntitlementParams) WithNamespace(namespace string) *GetUserEntitlementParams
WithNamespace adds the namespace to the get user entitlement params
func (*GetUserEntitlementParams) WithTimeout ¶
func (o *GetUserEntitlementParams) WithTimeout(timeout time.Duration) *GetUserEntitlementParams
WithTimeout adds the timeout to the get user entitlement params
func (*GetUserEntitlementParams) WithUserID ¶
func (o *GetUserEntitlementParams) WithUserID(userID string) *GetUserEntitlementParams
WithUserID adds the userID to the get user entitlement params
func (*GetUserEntitlementParams) WriteToRequest ¶
func (o *GetUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementReader ¶
type GetUserEntitlementReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementReader is a Reader for the GetUserEntitlement structure.
func (*GetUserEntitlementReader) ReadResponse ¶
func (o *GetUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementResponse ¶
type GetUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*GetUserEntitlementResponse) Unpack ¶
func (m *GetUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type GetUserEntitlementsByIdsOK ¶
type GetUserEntitlementsByIdsOK struct {
Payload []*platformclientmodels.EntitlementInfo
}
GetUserEntitlementsByIdsOK handles this case with default header values.
successful operation
func NewGetUserEntitlementsByIdsOK ¶
func NewGetUserEntitlementsByIdsOK() *GetUserEntitlementsByIdsOK
NewGetUserEntitlementsByIdsOK creates a GetUserEntitlementsByIdsOK with default headers values
func (*GetUserEntitlementsByIdsOK) Error ¶
func (o *GetUserEntitlementsByIdsOK) Error() string
func (*GetUserEntitlementsByIdsOK) GetPayload ¶
func (o *GetUserEntitlementsByIdsOK) GetPayload() []*platformclientmodels.EntitlementInfo
func (*GetUserEntitlementsByIdsOK) ToJSONString ¶
func (o *GetUserEntitlementsByIdsOK) ToJSONString() string
type GetUserEntitlementsByIdsParams ¶
type GetUserEntitlementsByIdsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*Ids*/ Ids []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetUserEntitlementsByIdsParams contains all the parameters to send to the API endpoint for the get user entitlements by ids operation typically these are written to a http.Request
func NewGetUserEntitlementsByIdsParams ¶
func NewGetUserEntitlementsByIdsParams() *GetUserEntitlementsByIdsParams
NewGetUserEntitlementsByIdsParams creates a new GetUserEntitlementsByIdsParams object with the default values initialized.
func NewGetUserEntitlementsByIdsParamsWithContext ¶
func NewGetUserEntitlementsByIdsParamsWithContext(ctx context.Context) *GetUserEntitlementsByIdsParams
NewGetUserEntitlementsByIdsParamsWithContext creates a new GetUserEntitlementsByIdsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserEntitlementsByIdsParamsWithHTTPClient ¶
func NewGetUserEntitlementsByIdsParamsWithHTTPClient(client *http.Client) *GetUserEntitlementsByIdsParams
NewGetUserEntitlementsByIdsParamsWithHTTPClient creates a new GetUserEntitlementsByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserEntitlementsByIdsParamsWithTimeout ¶
func NewGetUserEntitlementsByIdsParamsWithTimeout(timeout time.Duration) *GetUserEntitlementsByIdsParams
NewGetUserEntitlementsByIdsParamsWithTimeout creates a new GetUserEntitlementsByIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserEntitlementsByIdsParams) SetAuthInfoWriter ¶
func (o *GetUserEntitlementsByIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetContext ¶
func (o *GetUserEntitlementsByIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetFlightId ¶
func (o *GetUserEntitlementsByIdsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserEntitlementsByIdsParams) SetHTTPClient ¶
func (o *GetUserEntitlementsByIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetHTTPClientTransport ¶
func (o *GetUserEntitlementsByIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetIds ¶
func (o *GetUserEntitlementsByIdsParams) SetIds(ids []string)
SetIds adds the ids to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetNamespace ¶
func (o *GetUserEntitlementsByIdsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetTimeout ¶
func (o *GetUserEntitlementsByIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) SetUserID ¶
func (o *GetUserEntitlementsByIdsParams) SetUserID(userID string)
SetUserID adds the userId to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WithContext ¶
func (o *GetUserEntitlementsByIdsParams) WithContext(ctx context.Context) *GetUserEntitlementsByIdsParams
WithContext adds the context to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WithHTTPClient ¶
func (o *GetUserEntitlementsByIdsParams) WithHTTPClient(client *http.Client) *GetUserEntitlementsByIdsParams
WithHTTPClient adds the HTTPClient to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WithIds ¶
func (o *GetUserEntitlementsByIdsParams) WithIds(ids []string) *GetUserEntitlementsByIdsParams
WithIds adds the ids to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WithNamespace ¶
func (o *GetUserEntitlementsByIdsParams) WithNamespace(namespace string) *GetUserEntitlementsByIdsParams
WithNamespace adds the namespace to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WithTimeout ¶
func (o *GetUserEntitlementsByIdsParams) WithTimeout(timeout time.Duration) *GetUserEntitlementsByIdsParams
WithTimeout adds the timeout to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WithUserID ¶
func (o *GetUserEntitlementsByIdsParams) WithUserID(userID string) *GetUserEntitlementsByIdsParams
WithUserID adds the userID to the get user entitlements by ids params
func (*GetUserEntitlementsByIdsParams) WriteToRequest ¶
func (o *GetUserEntitlementsByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserEntitlementsByIdsReader ¶
type GetUserEntitlementsByIdsReader struct {
// contains filtered or unexported fields
}
GetUserEntitlementsByIdsReader is a Reader for the GetUserEntitlementsByIds structure.
func (*GetUserEntitlementsByIdsReader) ReadResponse ¶
func (o *GetUserEntitlementsByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserEntitlementsByIdsResponse ¶
type GetUserEntitlementsByIdsResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.EntitlementInfo }
func (*GetUserEntitlementsByIdsResponse) Unpack ¶
func (m *GetUserEntitlementsByIdsResponse) Unpack() ([]*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type GrantEntitlementsOK ¶
type GrantEntitlementsOK struct {
Payload *platformclientmodels.BulkEntitlementGrantResult
}
GrantEntitlementsOK handles this case with default header values.
successful operation
func NewGrantEntitlementsOK ¶
func NewGrantEntitlementsOK() *GrantEntitlementsOK
NewGrantEntitlementsOK creates a GrantEntitlementsOK with default headers values
func (*GrantEntitlementsOK) Error ¶
func (o *GrantEntitlementsOK) Error() string
func (*GrantEntitlementsOK) GetPayload ¶
func (o *GrantEntitlementsOK) GetPayload() *platformclientmodels.BulkEntitlementGrantResult
func (*GrantEntitlementsOK) ToJSONString ¶
func (o *GrantEntitlementsOK) ToJSONString() string
type GrantEntitlementsParams ¶
type GrantEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.BulkEntitlementGrantRequest /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GrantEntitlementsParams contains all the parameters to send to the API endpoint for the grant entitlements operation typically these are written to a http.Request
func NewGrantEntitlementsParams ¶
func NewGrantEntitlementsParams() *GrantEntitlementsParams
NewGrantEntitlementsParams creates a new GrantEntitlementsParams object with the default values initialized.
func NewGrantEntitlementsParamsWithContext ¶
func NewGrantEntitlementsParamsWithContext(ctx context.Context) *GrantEntitlementsParams
NewGrantEntitlementsParamsWithContext creates a new GrantEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewGrantEntitlementsParamsWithHTTPClient ¶
func NewGrantEntitlementsParamsWithHTTPClient(client *http.Client) *GrantEntitlementsParams
NewGrantEntitlementsParamsWithHTTPClient creates a new GrantEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGrantEntitlementsParamsWithTimeout ¶
func NewGrantEntitlementsParamsWithTimeout(timeout time.Duration) *GrantEntitlementsParams
NewGrantEntitlementsParamsWithTimeout creates a new GrantEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GrantEntitlementsParams) SetAuthInfoWriter ¶
func (o *GrantEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the grant entitlements params
func (*GrantEntitlementsParams) SetBody ¶
func (o *GrantEntitlementsParams) SetBody(body *platformclientmodels.BulkEntitlementGrantRequest)
SetBody adds the body to the grant entitlements params
func (*GrantEntitlementsParams) SetContext ¶
func (o *GrantEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the grant entitlements params
func (*GrantEntitlementsParams) SetFlightId ¶
func (o *GrantEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GrantEntitlementsParams) SetHTTPClient ¶
func (o *GrantEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the grant entitlements params
func (*GrantEntitlementsParams) SetHTTPClientTransport ¶
func (o *GrantEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the grant entitlements params
func (*GrantEntitlementsParams) SetNamespace ¶
func (o *GrantEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the grant entitlements params
func (*GrantEntitlementsParams) SetTimeout ¶
func (o *GrantEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the grant entitlements params
func (*GrantEntitlementsParams) WithBody ¶
func (o *GrantEntitlementsParams) WithBody(body *platformclientmodels.BulkEntitlementGrantRequest) *GrantEntitlementsParams
WithBody adds the body to the grant entitlements params
func (*GrantEntitlementsParams) WithContext ¶
func (o *GrantEntitlementsParams) WithContext(ctx context.Context) *GrantEntitlementsParams
WithContext adds the context to the grant entitlements params
func (*GrantEntitlementsParams) WithHTTPClient ¶
func (o *GrantEntitlementsParams) WithHTTPClient(client *http.Client) *GrantEntitlementsParams
WithHTTPClient adds the HTTPClient to the grant entitlements params
func (*GrantEntitlementsParams) WithNamespace ¶
func (o *GrantEntitlementsParams) WithNamespace(namespace string) *GrantEntitlementsParams
WithNamespace adds the namespace to the grant entitlements params
func (*GrantEntitlementsParams) WithTimeout ¶
func (o *GrantEntitlementsParams) WithTimeout(timeout time.Duration) *GrantEntitlementsParams
WithTimeout adds the timeout to the grant entitlements params
func (*GrantEntitlementsParams) WriteToRequest ¶
func (o *GrantEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GrantEntitlementsReader ¶
type GrantEntitlementsReader struct {
// contains filtered or unexported fields
}
GrantEntitlementsReader is a Reader for the GrantEntitlements structure.
func (*GrantEntitlementsReader) ReadResponse ¶
func (o *GrantEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GrantEntitlementsResponse ¶
type GrantEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.BulkEntitlementGrantResult Error422 *platformclientmodels.ValidationErrorEntity }
func (*GrantEntitlementsResponse) Unpack ¶
func (m *GrantEntitlementsResponse) Unpack() (*platformclientmodels.BulkEntitlementGrantResult, *platformclientmodels.ApiError)
type GrantEntitlementsUnprocessableEntity ¶
type GrantEntitlementsUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
GrantEntitlementsUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGrantEntitlementsUnprocessableEntity ¶
func NewGrantEntitlementsUnprocessableEntity() *GrantEntitlementsUnprocessableEntity
NewGrantEntitlementsUnprocessableEntity creates a GrantEntitlementsUnprocessableEntity with default headers values
func (*GrantEntitlementsUnprocessableEntity) Error ¶
func (o *GrantEntitlementsUnprocessableEntity) Error() string
func (*GrantEntitlementsUnprocessableEntity) GetPayload ¶
func (o *GrantEntitlementsUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*GrantEntitlementsUnprocessableEntity) ToJSONString ¶
func (o *GrantEntitlementsUnprocessableEntity) ToJSONString() string
type GrantUserEntitlementCreated ¶
type GrantUserEntitlementCreated struct {
Payload []*platformclientmodels.StackableEntitlementInfo
}
GrantUserEntitlementCreated handles this case with default header values.
successful operation
func NewGrantUserEntitlementCreated ¶
func NewGrantUserEntitlementCreated() *GrantUserEntitlementCreated
NewGrantUserEntitlementCreated creates a GrantUserEntitlementCreated with default headers values
func (*GrantUserEntitlementCreated) Error ¶
func (o *GrantUserEntitlementCreated) Error() string
func (*GrantUserEntitlementCreated) GetPayload ¶
func (o *GrantUserEntitlementCreated) GetPayload() []*platformclientmodels.StackableEntitlementInfo
func (*GrantUserEntitlementCreated) ToJSONString ¶
func (o *GrantUserEntitlementCreated) ToJSONString() string
type GrantUserEntitlementNotFound ¶
type GrantUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GrantUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGrantUserEntitlementNotFound ¶
func NewGrantUserEntitlementNotFound() *GrantUserEntitlementNotFound
NewGrantUserEntitlementNotFound creates a GrantUserEntitlementNotFound with default headers values
func (*GrantUserEntitlementNotFound) Error ¶
func (o *GrantUserEntitlementNotFound) Error() string
func (*GrantUserEntitlementNotFound) GetPayload ¶
func (o *GrantUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GrantUserEntitlementNotFound) ToJSONString ¶
func (o *GrantUserEntitlementNotFound) ToJSONString() string
type GrantUserEntitlementParams ¶
type GrantUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*platformclientmodels.EntitlementGrant /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GrantUserEntitlementParams contains all the parameters to send to the API endpoint for the grant user entitlement operation typically these are written to a http.Request
func NewGrantUserEntitlementParams ¶
func NewGrantUserEntitlementParams() *GrantUserEntitlementParams
NewGrantUserEntitlementParams creates a new GrantUserEntitlementParams object with the default values initialized.
func NewGrantUserEntitlementParamsWithContext ¶
func NewGrantUserEntitlementParamsWithContext(ctx context.Context) *GrantUserEntitlementParams
NewGrantUserEntitlementParamsWithContext creates a new GrantUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewGrantUserEntitlementParamsWithHTTPClient ¶
func NewGrantUserEntitlementParamsWithHTTPClient(client *http.Client) *GrantUserEntitlementParams
NewGrantUserEntitlementParamsWithHTTPClient creates a new GrantUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGrantUserEntitlementParamsWithTimeout ¶
func NewGrantUserEntitlementParamsWithTimeout(timeout time.Duration) *GrantUserEntitlementParams
NewGrantUserEntitlementParamsWithTimeout creates a new GrantUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*GrantUserEntitlementParams) SetAuthInfoWriter ¶
func (o *GrantUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the grant user entitlement params
func (*GrantUserEntitlementParams) SetBody ¶
func (o *GrantUserEntitlementParams) SetBody(body []*platformclientmodels.EntitlementGrant)
SetBody adds the body to the grant user entitlement params
func (*GrantUserEntitlementParams) SetContext ¶
func (o *GrantUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the grant user entitlement params
func (*GrantUserEntitlementParams) SetFlightId ¶
func (o *GrantUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GrantUserEntitlementParams) SetHTTPClient ¶
func (o *GrantUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the grant user entitlement params
func (*GrantUserEntitlementParams) SetHTTPClientTransport ¶
func (o *GrantUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the grant user entitlement params
func (*GrantUserEntitlementParams) SetNamespace ¶
func (o *GrantUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the grant user entitlement params
func (*GrantUserEntitlementParams) SetTimeout ¶
func (o *GrantUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the grant user entitlement params
func (*GrantUserEntitlementParams) SetUserID ¶
func (o *GrantUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the grant user entitlement params
func (*GrantUserEntitlementParams) WithBody ¶
func (o *GrantUserEntitlementParams) WithBody(body []*platformclientmodels.EntitlementGrant) *GrantUserEntitlementParams
WithBody adds the body to the grant user entitlement params
func (*GrantUserEntitlementParams) WithContext ¶
func (o *GrantUserEntitlementParams) WithContext(ctx context.Context) *GrantUserEntitlementParams
WithContext adds the context to the grant user entitlement params
func (*GrantUserEntitlementParams) WithHTTPClient ¶
func (o *GrantUserEntitlementParams) WithHTTPClient(client *http.Client) *GrantUserEntitlementParams
WithHTTPClient adds the HTTPClient to the grant user entitlement params
func (*GrantUserEntitlementParams) WithNamespace ¶
func (o *GrantUserEntitlementParams) WithNamespace(namespace string) *GrantUserEntitlementParams
WithNamespace adds the namespace to the grant user entitlement params
func (*GrantUserEntitlementParams) WithTimeout ¶
func (o *GrantUserEntitlementParams) WithTimeout(timeout time.Duration) *GrantUserEntitlementParams
WithTimeout adds the timeout to the grant user entitlement params
func (*GrantUserEntitlementParams) WithUserID ¶
func (o *GrantUserEntitlementParams) WithUserID(userID string) *GrantUserEntitlementParams
WithUserID adds the userID to the grant user entitlement params
func (*GrantUserEntitlementParams) WriteToRequest ¶
func (o *GrantUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GrantUserEntitlementReader ¶
type GrantUserEntitlementReader struct {
// contains filtered or unexported fields
}
GrantUserEntitlementReader is a Reader for the GrantUserEntitlement structure.
func (*GrantUserEntitlementReader) ReadResponse ¶
func (o *GrantUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GrantUserEntitlementResponse ¶
type GrantUserEntitlementResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.StackableEntitlementInfo Error404 *platformclientmodels.ErrorEntity Error422 *platformclientmodels.ValidationErrorEntity }
func (*GrantUserEntitlementResponse) Unpack ¶
func (m *GrantUserEntitlementResponse) Unpack() ([]*platformclientmodels.StackableEntitlementInfo, *platformclientmodels.ApiError)
type GrantUserEntitlementUnprocessableEntity ¶
type GrantUserEntitlementUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
GrantUserEntitlementUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGrantUserEntitlementUnprocessableEntity ¶
func NewGrantUserEntitlementUnprocessableEntity() *GrantUserEntitlementUnprocessableEntity
NewGrantUserEntitlementUnprocessableEntity creates a GrantUserEntitlementUnprocessableEntity with default headers values
func (*GrantUserEntitlementUnprocessableEntity) Error ¶
func (o *GrantUserEntitlementUnprocessableEntity) Error() string
func (*GrantUserEntitlementUnprocessableEntity) GetPayload ¶
func (o *GrantUserEntitlementUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*GrantUserEntitlementUnprocessableEntity) ToJSONString ¶
func (o *GrantUserEntitlementUnprocessableEntity) ToJSONString() string
type PreCheckRevokeUserEntitlementByUseCountNotFound ¶
type PreCheckRevokeUserEntitlementByUseCountNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PreCheckRevokeUserEntitlementByUseCountNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPreCheckRevokeUserEntitlementByUseCountNotFound ¶
func NewPreCheckRevokeUserEntitlementByUseCountNotFound() *PreCheckRevokeUserEntitlementByUseCountNotFound
NewPreCheckRevokeUserEntitlementByUseCountNotFound creates a PreCheckRevokeUserEntitlementByUseCountNotFound with default headers values
func (*PreCheckRevokeUserEntitlementByUseCountNotFound) Error ¶
func (o *PreCheckRevokeUserEntitlementByUseCountNotFound) Error() string
func (*PreCheckRevokeUserEntitlementByUseCountNotFound) GetPayload ¶
func (o *PreCheckRevokeUserEntitlementByUseCountNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PreCheckRevokeUserEntitlementByUseCountNotFound) ToJSONString ¶
func (o *PreCheckRevokeUserEntitlementByUseCountNotFound) ToJSONString() string
type PreCheckRevokeUserEntitlementByUseCountOK ¶
type PreCheckRevokeUserEntitlementByUseCountOK struct {
Payload *platformclientmodels.EntitlementPrechekResult
}
PreCheckRevokeUserEntitlementByUseCountOK handles this case with default header values.
successful operation
func NewPreCheckRevokeUserEntitlementByUseCountOK ¶
func NewPreCheckRevokeUserEntitlementByUseCountOK() *PreCheckRevokeUserEntitlementByUseCountOK
NewPreCheckRevokeUserEntitlementByUseCountOK creates a PreCheckRevokeUserEntitlementByUseCountOK with default headers values
func (*PreCheckRevokeUserEntitlementByUseCountOK) Error ¶
func (o *PreCheckRevokeUserEntitlementByUseCountOK) Error() string
func (*PreCheckRevokeUserEntitlementByUseCountOK) GetPayload ¶
func (o *PreCheckRevokeUserEntitlementByUseCountOK) GetPayload() *platformclientmodels.EntitlementPrechekResult
func (*PreCheckRevokeUserEntitlementByUseCountOK) ToJSONString ¶
func (o *PreCheckRevokeUserEntitlementByUseCountOK) ToJSONString() string
type PreCheckRevokeUserEntitlementByUseCountParams ¶
type PreCheckRevokeUserEntitlementByUseCountParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string /*Quantity*/ Quantity int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PreCheckRevokeUserEntitlementByUseCountParams contains all the parameters to send to the API endpoint for the pre check revoke user entitlement by use count operation typically these are written to a http.Request
func NewPreCheckRevokeUserEntitlementByUseCountParams ¶
func NewPreCheckRevokeUserEntitlementByUseCountParams() *PreCheckRevokeUserEntitlementByUseCountParams
NewPreCheckRevokeUserEntitlementByUseCountParams creates a new PreCheckRevokeUserEntitlementByUseCountParams object with the default values initialized.
func NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext ¶
func NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext(ctx context.Context) *PreCheckRevokeUserEntitlementByUseCountParams
NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext creates a new PreCheckRevokeUserEntitlementByUseCountParams object with the default values initialized, and the ability to set a context for a request
func NewPreCheckRevokeUserEntitlementByUseCountParamsWithHTTPClient ¶
func NewPreCheckRevokeUserEntitlementByUseCountParamsWithHTTPClient(client *http.Client) *PreCheckRevokeUserEntitlementByUseCountParams
NewPreCheckRevokeUserEntitlementByUseCountParamsWithHTTPClient creates a new PreCheckRevokeUserEntitlementByUseCountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPreCheckRevokeUserEntitlementByUseCountParamsWithTimeout ¶
func NewPreCheckRevokeUserEntitlementByUseCountParamsWithTimeout(timeout time.Duration) *PreCheckRevokeUserEntitlementByUseCountParams
NewPreCheckRevokeUserEntitlementByUseCountParamsWithTimeout creates a new PreCheckRevokeUserEntitlementByUseCountParams object with the default values initialized, and the ability to set a timeout on a request
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetAuthInfoWriter ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetContext ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetContext(ctx context.Context)
SetContext adds the context to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClient ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClientTransport ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetNamespace ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity(quantity int32)
SetQuantity adds the quantity to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetTimeout ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) SetUserID ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetUserID(userID string)
SetUserID adds the userId to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithContext ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithContext(ctx context.Context) *PreCheckRevokeUserEntitlementByUseCountParams
WithContext adds the context to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithEntitlementID ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithEntitlementID(entitlementID string) *PreCheckRevokeUserEntitlementByUseCountParams
WithEntitlementID adds the entitlementID to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithHTTPClient ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithHTTPClient(client *http.Client) *PreCheckRevokeUserEntitlementByUseCountParams
WithHTTPClient adds the HTTPClient to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithNamespace ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithNamespace(namespace string) *PreCheckRevokeUserEntitlementByUseCountParams
WithNamespace adds the namespace to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithQuantity ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithQuantity(quantity int32) *PreCheckRevokeUserEntitlementByUseCountParams
WithQuantity adds the quantity to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithTimeout ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithTimeout(timeout time.Duration) *PreCheckRevokeUserEntitlementByUseCountParams
WithTimeout adds the timeout to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WithUserID ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WithUserID(userID string) *PreCheckRevokeUserEntitlementByUseCountParams
WithUserID adds the userID to the pre check revoke user entitlement by use count params
func (*PreCheckRevokeUserEntitlementByUseCountParams) WriteToRequest ¶
func (o *PreCheckRevokeUserEntitlementByUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PreCheckRevokeUserEntitlementByUseCountReader ¶
type PreCheckRevokeUserEntitlementByUseCountReader struct {
// contains filtered or unexported fields
}
PreCheckRevokeUserEntitlementByUseCountReader is a Reader for the PreCheckRevokeUserEntitlementByUseCount structure.
func (*PreCheckRevokeUserEntitlementByUseCountReader) ReadResponse ¶
func (o *PreCheckRevokeUserEntitlementByUseCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PreCheckRevokeUserEntitlementByUseCountResponse ¶
type PreCheckRevokeUserEntitlementByUseCountResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPrechekResult Error404 *platformclientmodels.ErrorEntity }
type PublicConsumeUserEntitlementBadRequest ¶
type PublicConsumeUserEntitlementBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublicConsumeUserEntitlementBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31121</td><td>OptionBox entitlement [{entitlementId}] use count is not 1</td></tr><tr><td>31122</td><td>OptionBox entitlement [{entitlementId}] options size is not 1</td></tr><tr><td>31123</td><td>Unable to acquire box item, box item [{itemId}] expired</td></tr></table>
func NewPublicConsumeUserEntitlementBadRequest ¶
func NewPublicConsumeUserEntitlementBadRequest() *PublicConsumeUserEntitlementBadRequest
NewPublicConsumeUserEntitlementBadRequest creates a PublicConsumeUserEntitlementBadRequest with default headers values
func (*PublicConsumeUserEntitlementBadRequest) Error ¶
func (o *PublicConsumeUserEntitlementBadRequest) Error() string
func (*PublicConsumeUserEntitlementBadRequest) GetPayload ¶
func (o *PublicConsumeUserEntitlementBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicConsumeUserEntitlementBadRequest) ToJSONString ¶
func (o *PublicConsumeUserEntitlementBadRequest) ToJSONString() string
type PublicConsumeUserEntitlementConflict ¶
type PublicConsumeUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicConsumeUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31173</td><td>Entitlement [{entitlementId}] is not consumable</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr></table>
func NewPublicConsumeUserEntitlementConflict ¶
func NewPublicConsumeUserEntitlementConflict() *PublicConsumeUserEntitlementConflict
NewPublicConsumeUserEntitlementConflict creates a PublicConsumeUserEntitlementConflict with default headers values
func (*PublicConsumeUserEntitlementConflict) Error ¶
func (o *PublicConsumeUserEntitlementConflict) Error() string
func (*PublicConsumeUserEntitlementConflict) GetPayload ¶
func (o *PublicConsumeUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicConsumeUserEntitlementConflict) ToJSONString ¶
func (o *PublicConsumeUserEntitlementConflict) ToJSONString() string
type PublicConsumeUserEntitlementNotFound ¶
type PublicConsumeUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicConsumeUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr><tr><td>31145</td><td>Option [{option}] doesn't exist in OptionBox entitlement [{entitlementId}]</td></tr></table>
func NewPublicConsumeUserEntitlementNotFound ¶
func NewPublicConsumeUserEntitlementNotFound() *PublicConsumeUserEntitlementNotFound
NewPublicConsumeUserEntitlementNotFound creates a PublicConsumeUserEntitlementNotFound with default headers values
func (*PublicConsumeUserEntitlementNotFound) Error ¶
func (o *PublicConsumeUserEntitlementNotFound) Error() string
func (*PublicConsumeUserEntitlementNotFound) GetPayload ¶
func (o *PublicConsumeUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicConsumeUserEntitlementNotFound) ToJSONString ¶
func (o *PublicConsumeUserEntitlementNotFound) ToJSONString() string
type PublicConsumeUserEntitlementOK ¶
type PublicConsumeUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementDecrementResult
}
PublicConsumeUserEntitlementOK handles this case with default header values.
successful operation
func NewPublicConsumeUserEntitlementOK ¶
func NewPublicConsumeUserEntitlementOK() *PublicConsumeUserEntitlementOK
NewPublicConsumeUserEntitlementOK creates a PublicConsumeUserEntitlementOK with default headers values
func (*PublicConsumeUserEntitlementOK) Error ¶
func (o *PublicConsumeUserEntitlementOK) Error() string
func (*PublicConsumeUserEntitlementOK) GetPayload ¶
func (o *PublicConsumeUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementDecrementResult
func (*PublicConsumeUserEntitlementOK) ToJSONString ¶
func (o *PublicConsumeUserEntitlementOK) ToJSONString() string
type PublicConsumeUserEntitlementParams ¶
type PublicConsumeUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PublicEntitlementDecrement /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicConsumeUserEntitlementParams contains all the parameters to send to the API endpoint for the public consume user entitlement operation typically these are written to a http.Request
func NewPublicConsumeUserEntitlementParams ¶
func NewPublicConsumeUserEntitlementParams() *PublicConsumeUserEntitlementParams
NewPublicConsumeUserEntitlementParams creates a new PublicConsumeUserEntitlementParams object with the default values initialized.
func NewPublicConsumeUserEntitlementParamsWithContext ¶
func NewPublicConsumeUserEntitlementParamsWithContext(ctx context.Context) *PublicConsumeUserEntitlementParams
NewPublicConsumeUserEntitlementParamsWithContext creates a new PublicConsumeUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicConsumeUserEntitlementParamsWithHTTPClient ¶
func NewPublicConsumeUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicConsumeUserEntitlementParams
NewPublicConsumeUserEntitlementParamsWithHTTPClient creates a new PublicConsumeUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicConsumeUserEntitlementParamsWithTimeout ¶
func NewPublicConsumeUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicConsumeUserEntitlementParams
NewPublicConsumeUserEntitlementParamsWithTimeout creates a new PublicConsumeUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicConsumeUserEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicConsumeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetBody ¶
func (o *PublicConsumeUserEntitlementParams) SetBody(body *platformclientmodels.PublicEntitlementDecrement)
SetBody adds the body to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetContext ¶
func (o *PublicConsumeUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetEntitlementID ¶
func (o *PublicConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetFlightId ¶
func (o *PublicConsumeUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicConsumeUserEntitlementParams) SetHTTPClient ¶
func (o *PublicConsumeUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicConsumeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetNamespace ¶
func (o *PublicConsumeUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetTimeout ¶
func (o *PublicConsumeUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) SetUserID ¶
func (o *PublicConsumeUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithBody ¶
func (o *PublicConsumeUserEntitlementParams) WithBody(body *platformclientmodels.PublicEntitlementDecrement) *PublicConsumeUserEntitlementParams
WithBody adds the body to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithContext ¶
func (o *PublicConsumeUserEntitlementParams) WithContext(ctx context.Context) *PublicConsumeUserEntitlementParams
WithContext adds the context to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithEntitlementID ¶
func (o *PublicConsumeUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicConsumeUserEntitlementParams
WithEntitlementID adds the entitlementID to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithHTTPClient ¶
func (o *PublicConsumeUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicConsumeUserEntitlementParams
WithHTTPClient adds the HTTPClient to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithNamespace ¶
func (o *PublicConsumeUserEntitlementParams) WithNamespace(namespace string) *PublicConsumeUserEntitlementParams
WithNamespace adds the namespace to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithTimeout ¶
func (o *PublicConsumeUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicConsumeUserEntitlementParams
WithTimeout adds the timeout to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WithUserID ¶
func (o *PublicConsumeUserEntitlementParams) WithUserID(userID string) *PublicConsumeUserEntitlementParams
WithUserID adds the userID to the public consume user entitlement params
func (*PublicConsumeUserEntitlementParams) WriteToRequest ¶
func (o *PublicConsumeUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicConsumeUserEntitlementReader ¶
type PublicConsumeUserEntitlementReader struct {
// contains filtered or unexported fields
}
PublicConsumeUserEntitlementReader is a Reader for the PublicConsumeUserEntitlement structure.
func (*PublicConsumeUserEntitlementReader) ReadResponse ¶
func (o *PublicConsumeUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicConsumeUserEntitlementResponse ¶
type PublicConsumeUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementDecrementResult Error400 *platformclientmodels.ErrorEntity Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*PublicConsumeUserEntitlementResponse) Unpack ¶
func (m *PublicConsumeUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementDecrementResult, *platformclientmodels.ApiError)
type PublicExistsAnyMyActiveEntitlementOK ¶
type PublicExistsAnyMyActiveEntitlementOK struct {
Payload *platformclientmodels.Ownership
}
PublicExistsAnyMyActiveEntitlementOK handles this case with default header values.
successful operation
func NewPublicExistsAnyMyActiveEntitlementOK ¶
func NewPublicExistsAnyMyActiveEntitlementOK() *PublicExistsAnyMyActiveEntitlementOK
NewPublicExistsAnyMyActiveEntitlementOK creates a PublicExistsAnyMyActiveEntitlementOK with default headers values
func (*PublicExistsAnyMyActiveEntitlementOK) Error ¶
func (o *PublicExistsAnyMyActiveEntitlementOK) Error() string
func (*PublicExistsAnyMyActiveEntitlementOK) GetPayload ¶
func (o *PublicExistsAnyMyActiveEntitlementOK) GetPayload() *platformclientmodels.Ownership
func (*PublicExistsAnyMyActiveEntitlementOK) ToJSONString ¶
func (o *PublicExistsAnyMyActiveEntitlementOK) ToJSONString() string
type PublicExistsAnyMyActiveEntitlementParams ¶
type PublicExistsAnyMyActiveEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*AppIds*/ AppIds []string /*ItemIds*/ ItemIds []string /*Skus*/ Skus []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicExistsAnyMyActiveEntitlementParams contains all the parameters to send to the API endpoint for the public exists any my active entitlement operation typically these are written to a http.Request
func NewPublicExistsAnyMyActiveEntitlementParams ¶
func NewPublicExistsAnyMyActiveEntitlementParams() *PublicExistsAnyMyActiveEntitlementParams
NewPublicExistsAnyMyActiveEntitlementParams creates a new PublicExistsAnyMyActiveEntitlementParams object with the default values initialized.
func NewPublicExistsAnyMyActiveEntitlementParamsWithContext ¶
func NewPublicExistsAnyMyActiveEntitlementParamsWithContext(ctx context.Context) *PublicExistsAnyMyActiveEntitlementParams
NewPublicExistsAnyMyActiveEntitlementParamsWithContext creates a new PublicExistsAnyMyActiveEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicExistsAnyMyActiveEntitlementParamsWithHTTPClient ¶
func NewPublicExistsAnyMyActiveEntitlementParamsWithHTTPClient(client *http.Client) *PublicExistsAnyMyActiveEntitlementParams
NewPublicExistsAnyMyActiveEntitlementParamsWithHTTPClient creates a new PublicExistsAnyMyActiveEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicExistsAnyMyActiveEntitlementParamsWithTimeout ¶
func NewPublicExistsAnyMyActiveEntitlementParamsWithTimeout(timeout time.Duration) *PublicExistsAnyMyActiveEntitlementParams
NewPublicExistsAnyMyActiveEntitlementParamsWithTimeout creates a new PublicExistsAnyMyActiveEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicExistsAnyMyActiveEntitlementParams) SetAppIds ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetAppIds(appIds []string)
SetAppIds adds the appIds to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetContext ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetFlightId ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicExistsAnyMyActiveEntitlementParams) SetHTTPClient ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetItemIds ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetItemIds(itemIds []string)
SetItemIds adds the itemIds to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetNamespace ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetSkus ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetSkus(skus []string)
SetSkus adds the skus to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) SetTimeout ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithAppIds ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithAppIds(appIds []string) *PublicExistsAnyMyActiveEntitlementParams
WithAppIds adds the appIds to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithContext ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithContext(ctx context.Context) *PublicExistsAnyMyActiveEntitlementParams
WithContext adds the context to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithHTTPClient ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithHTTPClient(client *http.Client) *PublicExistsAnyMyActiveEntitlementParams
WithHTTPClient adds the HTTPClient to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithItemIds ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithItemIds(itemIds []string) *PublicExistsAnyMyActiveEntitlementParams
WithItemIds adds the itemIds to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithNamespace ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithNamespace(namespace string) *PublicExistsAnyMyActiveEntitlementParams
WithNamespace adds the namespace to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithSkus ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithSkus(skus []string) *PublicExistsAnyMyActiveEntitlementParams
WithSkus adds the skus to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WithTimeout ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WithTimeout(timeout time.Duration) *PublicExistsAnyMyActiveEntitlementParams
WithTimeout adds the timeout to the public exists any my active entitlement params
func (*PublicExistsAnyMyActiveEntitlementParams) WriteToRequest ¶
func (o *PublicExistsAnyMyActiveEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicExistsAnyMyActiveEntitlementReader ¶
type PublicExistsAnyMyActiveEntitlementReader struct {
// contains filtered or unexported fields
}
PublicExistsAnyMyActiveEntitlementReader is a Reader for the PublicExistsAnyMyActiveEntitlement structure.
func (*PublicExistsAnyMyActiveEntitlementReader) ReadResponse ¶
func (o *PublicExistsAnyMyActiveEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicExistsAnyMyActiveEntitlementResponse ¶
type PublicExistsAnyMyActiveEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*PublicExistsAnyMyActiveEntitlementResponse) Unpack ¶
func (m *PublicExistsAnyMyActiveEntitlementResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type PublicExistsAnyUserActiveEntitlementOK ¶
type PublicExistsAnyUserActiveEntitlementOK struct {
Payload *platformclientmodels.Ownership
}
PublicExistsAnyUserActiveEntitlementOK handles this case with default header values.
successful operation
func NewPublicExistsAnyUserActiveEntitlementOK ¶
func NewPublicExistsAnyUserActiveEntitlementOK() *PublicExistsAnyUserActiveEntitlementOK
NewPublicExistsAnyUserActiveEntitlementOK creates a PublicExistsAnyUserActiveEntitlementOK with default headers values
func (*PublicExistsAnyUserActiveEntitlementOK) Error ¶
func (o *PublicExistsAnyUserActiveEntitlementOK) Error() string
func (*PublicExistsAnyUserActiveEntitlementOK) GetPayload ¶
func (o *PublicExistsAnyUserActiveEntitlementOK) GetPayload() *platformclientmodels.Ownership
func (*PublicExistsAnyUserActiveEntitlementOK) ToJSONString ¶
func (o *PublicExistsAnyUserActiveEntitlementOK) ToJSONString() string
type PublicExistsAnyUserActiveEntitlementParams ¶
type PublicExistsAnyUserActiveEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AppIds*/ AppIds []string /*ItemIds*/ ItemIds []string /*Skus*/ Skus []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicExistsAnyUserActiveEntitlementParams contains all the parameters to send to the API endpoint for the public exists any user active entitlement operation typically these are written to a http.Request
func NewPublicExistsAnyUserActiveEntitlementParams ¶
func NewPublicExistsAnyUserActiveEntitlementParams() *PublicExistsAnyUserActiveEntitlementParams
NewPublicExistsAnyUserActiveEntitlementParams creates a new PublicExistsAnyUserActiveEntitlementParams object with the default values initialized.
func NewPublicExistsAnyUserActiveEntitlementParamsWithContext ¶
func NewPublicExistsAnyUserActiveEntitlementParamsWithContext(ctx context.Context) *PublicExistsAnyUserActiveEntitlementParams
NewPublicExistsAnyUserActiveEntitlementParamsWithContext creates a new PublicExistsAnyUserActiveEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicExistsAnyUserActiveEntitlementParamsWithHTTPClient ¶
func NewPublicExistsAnyUserActiveEntitlementParamsWithHTTPClient(client *http.Client) *PublicExistsAnyUserActiveEntitlementParams
NewPublicExistsAnyUserActiveEntitlementParamsWithHTTPClient creates a new PublicExistsAnyUserActiveEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicExistsAnyUserActiveEntitlementParamsWithTimeout ¶
func NewPublicExistsAnyUserActiveEntitlementParamsWithTimeout(timeout time.Duration) *PublicExistsAnyUserActiveEntitlementParams
NewPublicExistsAnyUserActiveEntitlementParamsWithTimeout creates a new PublicExistsAnyUserActiveEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicExistsAnyUserActiveEntitlementParams) SetAppIds ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetAppIds(appIds []string)
SetAppIds adds the appIds to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetContext ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetFlightId ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicExistsAnyUserActiveEntitlementParams) SetHTTPClient ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetItemIds ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetItemIds(itemIds []string)
SetItemIds adds the itemIds to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetNamespace ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetSkus ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetSkus(skus []string)
SetSkus adds the skus to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetTimeout ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) SetUserID ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithAppIds ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithAppIds(appIds []string) *PublicExistsAnyUserActiveEntitlementParams
WithAppIds adds the appIds to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithContext ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithContext(ctx context.Context) *PublicExistsAnyUserActiveEntitlementParams
WithContext adds the context to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithHTTPClient ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithHTTPClient(client *http.Client) *PublicExistsAnyUserActiveEntitlementParams
WithHTTPClient adds the HTTPClient to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithItemIds ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithItemIds(itemIds []string) *PublicExistsAnyUserActiveEntitlementParams
WithItemIds adds the itemIds to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithNamespace ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithNamespace(namespace string) *PublicExistsAnyUserActiveEntitlementParams
WithNamespace adds the namespace to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithSkus ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithSkus(skus []string) *PublicExistsAnyUserActiveEntitlementParams
WithSkus adds the skus to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithTimeout ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithTimeout(timeout time.Duration) *PublicExistsAnyUserActiveEntitlementParams
WithTimeout adds the timeout to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WithUserID ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WithUserID(userID string) *PublicExistsAnyUserActiveEntitlementParams
WithUserID adds the userID to the public exists any user active entitlement params
func (*PublicExistsAnyUserActiveEntitlementParams) WriteToRequest ¶
func (o *PublicExistsAnyUserActiveEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicExistsAnyUserActiveEntitlementReader ¶
type PublicExistsAnyUserActiveEntitlementReader struct {
// contains filtered or unexported fields
}
PublicExistsAnyUserActiveEntitlementReader is a Reader for the PublicExistsAnyUserActiveEntitlement structure.
func (*PublicExistsAnyUserActiveEntitlementReader) ReadResponse ¶
func (o *PublicExistsAnyUserActiveEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicExistsAnyUserActiveEntitlementResponse ¶
type PublicExistsAnyUserActiveEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*PublicExistsAnyUserActiveEntitlementResponse) Unpack ¶
func (m *PublicExistsAnyUserActiveEntitlementResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type PublicGetEntitlementOwnershipTokenOK ¶
type PublicGetEntitlementOwnershipTokenOK struct {
Payload *platformclientmodels.OwnershipToken
}
PublicGetEntitlementOwnershipTokenOK handles this case with default header values.
successful operation
func NewPublicGetEntitlementOwnershipTokenOK ¶
func NewPublicGetEntitlementOwnershipTokenOK() *PublicGetEntitlementOwnershipTokenOK
NewPublicGetEntitlementOwnershipTokenOK creates a PublicGetEntitlementOwnershipTokenOK with default headers values
func (*PublicGetEntitlementOwnershipTokenOK) Error ¶
func (o *PublicGetEntitlementOwnershipTokenOK) Error() string
func (*PublicGetEntitlementOwnershipTokenOK) GetPayload ¶
func (o *PublicGetEntitlementOwnershipTokenOK) GetPayload() *platformclientmodels.OwnershipToken
func (*PublicGetEntitlementOwnershipTokenOK) ToJSONString ¶
func (o *PublicGetEntitlementOwnershipTokenOK) ToJSONString() string
type PublicGetEntitlementOwnershipTokenParams ¶
type PublicGetEntitlementOwnershipTokenParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*AppIds*/ AppIds []string /*ItemIds*/ ItemIds []string /*Skus*/ Skus []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetEntitlementOwnershipTokenParams contains all the parameters to send to the API endpoint for the public get entitlement ownership token operation typically these are written to a http.Request
func NewPublicGetEntitlementOwnershipTokenParams ¶
func NewPublicGetEntitlementOwnershipTokenParams() *PublicGetEntitlementOwnershipTokenParams
NewPublicGetEntitlementOwnershipTokenParams creates a new PublicGetEntitlementOwnershipTokenParams object with the default values initialized.
func NewPublicGetEntitlementOwnershipTokenParamsWithContext ¶
func NewPublicGetEntitlementOwnershipTokenParamsWithContext(ctx context.Context) *PublicGetEntitlementOwnershipTokenParams
NewPublicGetEntitlementOwnershipTokenParamsWithContext creates a new PublicGetEntitlementOwnershipTokenParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient ¶
func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient(client *http.Client) *PublicGetEntitlementOwnershipTokenParams
NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient creates a new PublicGetEntitlementOwnershipTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout ¶
func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout(timeout time.Duration) *PublicGetEntitlementOwnershipTokenParams
NewPublicGetEntitlementOwnershipTokenParamsWithTimeout creates a new PublicGetEntitlementOwnershipTokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetEntitlementOwnershipTokenParams) SetAppIds ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetAppIds(appIds []string)
SetAppIds adds the appIds to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetAuthInfoWriter ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetContext ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetFlightId ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClient ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClientTransport ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetItemIds ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetItemIds(itemIds []string)
SetItemIds adds the itemIds to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetNamespace ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetSkus ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetSkus(skus []string)
SetSkus adds the skus to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) SetTimeout ¶
func (o *PublicGetEntitlementOwnershipTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithAppIds ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithAppIds(appIds []string) *PublicGetEntitlementOwnershipTokenParams
WithAppIds adds the appIds to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithContext ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithContext(ctx context.Context) *PublicGetEntitlementOwnershipTokenParams
WithContext adds the context to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithHTTPClient ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithHTTPClient(client *http.Client) *PublicGetEntitlementOwnershipTokenParams
WithHTTPClient adds the HTTPClient to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithItemIds ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithItemIds(itemIds []string) *PublicGetEntitlementOwnershipTokenParams
WithItemIds adds the itemIds to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithNamespace ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithNamespace(namespace string) *PublicGetEntitlementOwnershipTokenParams
WithNamespace adds the namespace to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithSkus ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithSkus(skus []string) *PublicGetEntitlementOwnershipTokenParams
WithSkus adds the skus to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WithTimeout ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WithTimeout(timeout time.Duration) *PublicGetEntitlementOwnershipTokenParams
WithTimeout adds the timeout to the public get entitlement ownership token params
func (*PublicGetEntitlementOwnershipTokenParams) WriteToRequest ¶
func (o *PublicGetEntitlementOwnershipTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetEntitlementOwnershipTokenReader ¶
type PublicGetEntitlementOwnershipTokenReader struct {
// contains filtered or unexported fields
}
PublicGetEntitlementOwnershipTokenReader is a Reader for the PublicGetEntitlementOwnershipToken structure.
func (*PublicGetEntitlementOwnershipTokenReader) ReadResponse ¶
func (o *PublicGetEntitlementOwnershipTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetEntitlementOwnershipTokenResponse ¶
type PublicGetEntitlementOwnershipTokenResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.OwnershipToken }
func (*PublicGetEntitlementOwnershipTokenResponse) Unpack ¶
func (m *PublicGetEntitlementOwnershipTokenResponse) Unpack() (*platformclientmodels.OwnershipToken, *platformclientmodels.ApiError)
type PublicGetMyAppEntitlementOwnershipByAppIDOK ¶
type PublicGetMyAppEntitlementOwnershipByAppIDOK struct {
Payload *platformclientmodels.Ownership
}
PublicGetMyAppEntitlementOwnershipByAppIDOK handles this case with default header values.
successful operation
func NewPublicGetMyAppEntitlementOwnershipByAppIDOK ¶
func NewPublicGetMyAppEntitlementOwnershipByAppIDOK() *PublicGetMyAppEntitlementOwnershipByAppIDOK
NewPublicGetMyAppEntitlementOwnershipByAppIDOK creates a PublicGetMyAppEntitlementOwnershipByAppIDOK with default headers values
func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) Error ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDOK) Error() string
func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) GetPayload ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDOK) GetPayload() *platformclientmodels.Ownership
func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) ToJSONString ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDOK) ToJSONString() string
type PublicGetMyAppEntitlementOwnershipByAppIDParams ¶
type PublicGetMyAppEntitlementOwnershipByAppIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*AppID*/ AppID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetMyAppEntitlementOwnershipByAppIDParams contains all the parameters to send to the API endpoint for the public get my app entitlement ownership by app id operation typically these are written to a http.Request
func NewPublicGetMyAppEntitlementOwnershipByAppIDParams ¶
func NewPublicGetMyAppEntitlementOwnershipByAppIDParams() *PublicGetMyAppEntitlementOwnershipByAppIDParams
NewPublicGetMyAppEntitlementOwnershipByAppIDParams creates a new PublicGetMyAppEntitlementOwnershipByAppIDParams object with the default values initialized.
func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithContext ¶
func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *PublicGetMyAppEntitlementOwnershipByAppIDParams
NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithContext creates a new PublicGetMyAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithHTTPClient ¶
func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetMyAppEntitlementOwnershipByAppIDParams
NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithHTTPClient creates a new PublicGetMyAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithTimeout ¶
func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetMyAppEntitlementOwnershipByAppIDParams
NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithTimeout creates a new PublicGetMyAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAppID ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAppID(appID string)
SetAppID adds the appId to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetContext ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetFlightId ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClient ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetTimeout ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithAppID ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithAppID(appID string) *PublicGetMyAppEntitlementOwnershipByAppIDParams
WithAppID adds the appID to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithContext ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithContext(ctx context.Context) *PublicGetMyAppEntitlementOwnershipByAppIDParams
WithContext adds the context to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithHTTPClient ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithHTTPClient(client *http.Client) *PublicGetMyAppEntitlementOwnershipByAppIDParams
WithHTTPClient adds the HTTPClient to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithNamespace ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithNamespace(namespace string) *PublicGetMyAppEntitlementOwnershipByAppIDParams
WithNamespace adds the namespace to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithTimeout ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WithTimeout(timeout time.Duration) *PublicGetMyAppEntitlementOwnershipByAppIDParams
WithTimeout adds the timeout to the public get my app entitlement ownership by app id params
func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WriteToRequest ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetMyAppEntitlementOwnershipByAppIDReader ¶
type PublicGetMyAppEntitlementOwnershipByAppIDReader struct {
// contains filtered or unexported fields
}
PublicGetMyAppEntitlementOwnershipByAppIDReader is a Reader for the PublicGetMyAppEntitlementOwnershipByAppID structure.
func (*PublicGetMyAppEntitlementOwnershipByAppIDReader) ReadResponse ¶
func (o *PublicGetMyAppEntitlementOwnershipByAppIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetMyAppEntitlementOwnershipByAppIDResponse ¶
type PublicGetMyAppEntitlementOwnershipByAppIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*PublicGetMyAppEntitlementOwnershipByAppIDResponse) Unpack ¶
func (m *PublicGetMyAppEntitlementOwnershipByAppIDResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type PublicGetMyEntitlementOwnershipByItemIDOK ¶
type PublicGetMyEntitlementOwnershipByItemIDOK struct {
Payload *platformclientmodels.TimedOwnership
}
PublicGetMyEntitlementOwnershipByItemIDOK handles this case with default header values.
successful operation
func NewPublicGetMyEntitlementOwnershipByItemIDOK ¶
func NewPublicGetMyEntitlementOwnershipByItemIDOK() *PublicGetMyEntitlementOwnershipByItemIDOK
NewPublicGetMyEntitlementOwnershipByItemIDOK creates a PublicGetMyEntitlementOwnershipByItemIDOK with default headers values
func (*PublicGetMyEntitlementOwnershipByItemIDOK) Error ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDOK) Error() string
func (*PublicGetMyEntitlementOwnershipByItemIDOK) GetPayload ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDOK) GetPayload() *platformclientmodels.TimedOwnership
func (*PublicGetMyEntitlementOwnershipByItemIDOK) ToJSONString ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDOK) ToJSONString() string
type PublicGetMyEntitlementOwnershipByItemIDParams ¶
type PublicGetMyEntitlementOwnershipByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*EntitlementClazz*/ EntitlementClazz *string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetMyEntitlementOwnershipByItemIDParams contains all the parameters to send to the API endpoint for the public get my entitlement ownership by item id operation typically these are written to a http.Request
func NewPublicGetMyEntitlementOwnershipByItemIDParams ¶
func NewPublicGetMyEntitlementOwnershipByItemIDParams() *PublicGetMyEntitlementOwnershipByItemIDParams
NewPublicGetMyEntitlementOwnershipByItemIDParams creates a new PublicGetMyEntitlementOwnershipByItemIDParams object with the default values initialized.
func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext ¶
func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipByItemIDParams
NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext creates a new PublicGetMyEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient ¶
func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipByItemIDParams
NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient creates a new PublicGetMyEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout ¶
func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipByItemIDParams
NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout creates a new PublicGetMyEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetAuthInfoWriter ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetContext ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClientTransport ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetTimeout ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithContext ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipByItemIDParams
WithContext adds the context to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithEntitlementClazz ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetMyEntitlementOwnershipByItemIDParams
WithEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithHTTPClient ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipByItemIDParams
WithHTTPClient adds the HTTPClient to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithItemID ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithItemID(itemID string) *PublicGetMyEntitlementOwnershipByItemIDParams
WithItemID adds the itemID to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithNamespace ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithNamespace(namespace string) *PublicGetMyEntitlementOwnershipByItemIDParams
WithNamespace adds the namespace to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithTimeout ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipByItemIDParams
WithTimeout adds the timeout to the public get my entitlement ownership by item id params
func (*PublicGetMyEntitlementOwnershipByItemIDParams) WriteToRequest ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetMyEntitlementOwnershipByItemIDReader ¶
type PublicGetMyEntitlementOwnershipByItemIDReader struct {
// contains filtered or unexported fields
}
PublicGetMyEntitlementOwnershipByItemIDReader is a Reader for the PublicGetMyEntitlementOwnershipByItemID structure.
func (*PublicGetMyEntitlementOwnershipByItemIDReader) ReadResponse ¶
func (o *PublicGetMyEntitlementOwnershipByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetMyEntitlementOwnershipByItemIDResponse ¶
type PublicGetMyEntitlementOwnershipByItemIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.TimedOwnership }
func (*PublicGetMyEntitlementOwnershipByItemIDResponse) Unpack ¶
func (m *PublicGetMyEntitlementOwnershipByItemIDResponse) Unpack() (*platformclientmodels.TimedOwnership, *platformclientmodels.ApiError)
type PublicGetMyEntitlementOwnershipBySkuOK ¶
type PublicGetMyEntitlementOwnershipBySkuOK struct {
Payload *platformclientmodels.TimedOwnership
}
PublicGetMyEntitlementOwnershipBySkuOK handles this case with default header values.
successful operation
func NewPublicGetMyEntitlementOwnershipBySkuOK ¶
func NewPublicGetMyEntitlementOwnershipBySkuOK() *PublicGetMyEntitlementOwnershipBySkuOK
NewPublicGetMyEntitlementOwnershipBySkuOK creates a PublicGetMyEntitlementOwnershipBySkuOK with default headers values
func (*PublicGetMyEntitlementOwnershipBySkuOK) Error ¶
func (o *PublicGetMyEntitlementOwnershipBySkuOK) Error() string
func (*PublicGetMyEntitlementOwnershipBySkuOK) GetPayload ¶
func (o *PublicGetMyEntitlementOwnershipBySkuOK) GetPayload() *platformclientmodels.TimedOwnership
func (*PublicGetMyEntitlementOwnershipBySkuOK) ToJSONString ¶
func (o *PublicGetMyEntitlementOwnershipBySkuOK) ToJSONString() string
type PublicGetMyEntitlementOwnershipBySkuParams ¶
type PublicGetMyEntitlementOwnershipBySkuParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*EntitlementClazz*/ EntitlementClazz *string /*Sku*/ Sku string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetMyEntitlementOwnershipBySkuParams contains all the parameters to send to the API endpoint for the public get my entitlement ownership by sku operation typically these are written to a http.Request
func NewPublicGetMyEntitlementOwnershipBySkuParams ¶
func NewPublicGetMyEntitlementOwnershipBySkuParams() *PublicGetMyEntitlementOwnershipBySkuParams
NewPublicGetMyEntitlementOwnershipBySkuParams creates a new PublicGetMyEntitlementOwnershipBySkuParams object with the default values initialized.
func NewPublicGetMyEntitlementOwnershipBySkuParamsWithContext ¶
func NewPublicGetMyEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipBySkuParams
NewPublicGetMyEntitlementOwnershipBySkuParamsWithContext creates a new PublicGetMyEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetMyEntitlementOwnershipBySkuParamsWithHTTPClient ¶
func NewPublicGetMyEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipBySkuParams
NewPublicGetMyEntitlementOwnershipBySkuParamsWithHTTPClient creates a new PublicGetMyEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetMyEntitlementOwnershipBySkuParamsWithTimeout ¶
func NewPublicGetMyEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipBySkuParams
NewPublicGetMyEntitlementOwnershipBySkuParamsWithTimeout creates a new PublicGetMyEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetAuthInfoWriter ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetContext ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetContext(ctx context.Context)
SetContext adds the context to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetEntitlementClazz ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetFlightId ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClient ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClientTransport ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetSku ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetSku(sku string)
SetSku adds the sku to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) SetTimeout ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WithContext ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipBySkuParams
WithContext adds the context to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WithEntitlementClazz ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetMyEntitlementOwnershipBySkuParams
WithEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WithHTTPClient ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipBySkuParams
WithHTTPClient adds the HTTPClient to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WithNamespace ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithNamespace(namespace string) *PublicGetMyEntitlementOwnershipBySkuParams
WithNamespace adds the namespace to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WithSku ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithSku(sku string) *PublicGetMyEntitlementOwnershipBySkuParams
WithSku adds the sku to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WithTimeout ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipBySkuParams
WithTimeout adds the timeout to the public get my entitlement ownership by sku params
func (*PublicGetMyEntitlementOwnershipBySkuParams) WriteToRequest ¶
func (o *PublicGetMyEntitlementOwnershipBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetMyEntitlementOwnershipBySkuReader ¶
type PublicGetMyEntitlementOwnershipBySkuReader struct {
// contains filtered or unexported fields
}
PublicGetMyEntitlementOwnershipBySkuReader is a Reader for the PublicGetMyEntitlementOwnershipBySku structure.
func (*PublicGetMyEntitlementOwnershipBySkuReader) ReadResponse ¶
func (o *PublicGetMyEntitlementOwnershipBySkuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetMyEntitlementOwnershipBySkuResponse ¶
type PublicGetMyEntitlementOwnershipBySkuResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.TimedOwnership }
func (*PublicGetMyEntitlementOwnershipBySkuResponse) Unpack ¶
func (m *PublicGetMyEntitlementOwnershipBySkuResponse) Unpack() (*platformclientmodels.TimedOwnership, *platformclientmodels.ApiError)
type PublicGetUserAppEntitlementByAppIDNotFound ¶
type PublicGetUserAppEntitlementByAppIDNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUserAppEntitlementByAppIDNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31142</td><td>Entitlement with appId [{appId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicGetUserAppEntitlementByAppIDNotFound ¶
func NewPublicGetUserAppEntitlementByAppIDNotFound() *PublicGetUserAppEntitlementByAppIDNotFound
NewPublicGetUserAppEntitlementByAppIDNotFound creates a PublicGetUserAppEntitlementByAppIDNotFound with default headers values
func (*PublicGetUserAppEntitlementByAppIDNotFound) Error ¶
func (o *PublicGetUserAppEntitlementByAppIDNotFound) Error() string
func (*PublicGetUserAppEntitlementByAppIDNotFound) GetPayload ¶
func (o *PublicGetUserAppEntitlementByAppIDNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicGetUserAppEntitlementByAppIDNotFound) ToJSONString ¶
func (o *PublicGetUserAppEntitlementByAppIDNotFound) ToJSONString() string
type PublicGetUserAppEntitlementByAppIDOK ¶
type PublicGetUserAppEntitlementByAppIDOK struct {
Payload *platformclientmodels.AppEntitlementInfo
}
PublicGetUserAppEntitlementByAppIDOK handles this case with default header values.
successful operation
func NewPublicGetUserAppEntitlementByAppIDOK ¶
func NewPublicGetUserAppEntitlementByAppIDOK() *PublicGetUserAppEntitlementByAppIDOK
NewPublicGetUserAppEntitlementByAppIDOK creates a PublicGetUserAppEntitlementByAppIDOK with default headers values
func (*PublicGetUserAppEntitlementByAppIDOK) Error ¶
func (o *PublicGetUserAppEntitlementByAppIDOK) Error() string
func (*PublicGetUserAppEntitlementByAppIDOK) GetPayload ¶
func (o *PublicGetUserAppEntitlementByAppIDOK) GetPayload() *platformclientmodels.AppEntitlementInfo
func (*PublicGetUserAppEntitlementByAppIDOK) ToJSONString ¶
func (o *PublicGetUserAppEntitlementByAppIDOK) ToJSONString() string
type PublicGetUserAppEntitlementByAppIDParams ¶
type PublicGetUserAppEntitlementByAppIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AppID*/ AppID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserAppEntitlementByAppIDParams contains all the parameters to send to the API endpoint for the public get user app entitlement by app id operation typically these are written to a http.Request
func NewPublicGetUserAppEntitlementByAppIDParams ¶
func NewPublicGetUserAppEntitlementByAppIDParams() *PublicGetUserAppEntitlementByAppIDParams
NewPublicGetUserAppEntitlementByAppIDParams creates a new PublicGetUserAppEntitlementByAppIDParams object with the default values initialized.
func NewPublicGetUserAppEntitlementByAppIDParamsWithContext ¶
func NewPublicGetUserAppEntitlementByAppIDParamsWithContext(ctx context.Context) *PublicGetUserAppEntitlementByAppIDParams
NewPublicGetUserAppEntitlementByAppIDParamsWithContext creates a new PublicGetUserAppEntitlementByAppIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserAppEntitlementByAppIDParamsWithHTTPClient ¶
func NewPublicGetUserAppEntitlementByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementByAppIDParams
NewPublicGetUserAppEntitlementByAppIDParamsWithHTTPClient creates a new PublicGetUserAppEntitlementByAppIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserAppEntitlementByAppIDParamsWithTimeout ¶
func NewPublicGetUserAppEntitlementByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementByAppIDParams
NewPublicGetUserAppEntitlementByAppIDParamsWithTimeout creates a new PublicGetUserAppEntitlementByAppIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserAppEntitlementByAppIDParams) SetAppID ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetAppID(appID string)
SetAppID adds the appId to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetAuthInfoWriter ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetContext ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetFlightId ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserAppEntitlementByAppIDParams) SetHTTPClient ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetHTTPClientTransport ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetNamespace ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetTimeout ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) SetUserID ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) SetUserID(userID string)
SetUserID adds the userId to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WithAppID ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WithAppID(appID string) *PublicGetUserAppEntitlementByAppIDParams
WithAppID adds the appID to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WithContext ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WithContext(ctx context.Context) *PublicGetUserAppEntitlementByAppIDParams
WithContext adds the context to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WithHTTPClient ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementByAppIDParams
WithHTTPClient adds the HTTPClient to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WithNamespace ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WithNamespace(namespace string) *PublicGetUserAppEntitlementByAppIDParams
WithNamespace adds the namespace to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WithTimeout ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementByAppIDParams
WithTimeout adds the timeout to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WithUserID ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WithUserID(userID string) *PublicGetUserAppEntitlementByAppIDParams
WithUserID adds the userID to the public get user app entitlement by app id params
func (*PublicGetUserAppEntitlementByAppIDParams) WriteToRequest ¶
func (o *PublicGetUserAppEntitlementByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserAppEntitlementByAppIDReader ¶
type PublicGetUserAppEntitlementByAppIDReader struct {
// contains filtered or unexported fields
}
PublicGetUserAppEntitlementByAppIDReader is a Reader for the PublicGetUserAppEntitlementByAppID structure.
func (*PublicGetUserAppEntitlementByAppIDReader) ReadResponse ¶
func (o *PublicGetUserAppEntitlementByAppIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserAppEntitlementByAppIDResponse ¶
type PublicGetUserAppEntitlementByAppIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.AppEntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*PublicGetUserAppEntitlementByAppIDResponse) Unpack ¶
func (m *PublicGetUserAppEntitlementByAppIDResponse) Unpack() (*platformclientmodels.AppEntitlementInfo, *platformclientmodels.ApiError)
type PublicGetUserAppEntitlementOwnershipByAppIDOK ¶
type PublicGetUserAppEntitlementOwnershipByAppIDOK struct {
Payload *platformclientmodels.Ownership
}
PublicGetUserAppEntitlementOwnershipByAppIDOK handles this case with default header values.
successful operation
func NewPublicGetUserAppEntitlementOwnershipByAppIDOK ¶
func NewPublicGetUserAppEntitlementOwnershipByAppIDOK() *PublicGetUserAppEntitlementOwnershipByAppIDOK
NewPublicGetUserAppEntitlementOwnershipByAppIDOK creates a PublicGetUserAppEntitlementOwnershipByAppIDOK with default headers values
func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) Error ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDOK) Error() string
func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) GetPayload ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDOK) GetPayload() *platformclientmodels.Ownership
func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) ToJSONString ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDOK) ToJSONString() string
type PublicGetUserAppEntitlementOwnershipByAppIDParams ¶
type PublicGetUserAppEntitlementOwnershipByAppIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AppID*/ AppID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserAppEntitlementOwnershipByAppIDParams contains all the parameters to send to the API endpoint for the public get user app entitlement ownership by app id operation typically these are written to a http.Request
func NewPublicGetUserAppEntitlementOwnershipByAppIDParams ¶
func NewPublicGetUserAppEntitlementOwnershipByAppIDParams() *PublicGetUserAppEntitlementOwnershipByAppIDParams
NewPublicGetUserAppEntitlementOwnershipByAppIDParams creates a new PublicGetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized.
func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithContext ¶
func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *PublicGetUserAppEntitlementOwnershipByAppIDParams
NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithContext creates a new PublicGetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient ¶
func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementOwnershipByAppIDParams
NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient creates a new PublicGetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout ¶
func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementOwnershipByAppIDParams
NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout creates a new PublicGetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAppID ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAppID(appID string)
SetAppID adds the appId to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetContext ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetFlightId ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetTimeout ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetUserID ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetUserID(userID string)
SetUserID adds the userId to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithAppID ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithAppID(appID string) *PublicGetUserAppEntitlementOwnershipByAppIDParams
WithAppID adds the appID to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithContext ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithContext(ctx context.Context) *PublicGetUserAppEntitlementOwnershipByAppIDParams
WithContext adds the context to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementOwnershipByAppIDParams
WithHTTPClient adds the HTTPClient to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithNamespace ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithNamespace(namespace string) *PublicGetUserAppEntitlementOwnershipByAppIDParams
WithNamespace adds the namespace to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithTimeout ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementOwnershipByAppIDParams
WithTimeout adds the timeout to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithUserID ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WithUserID(userID string) *PublicGetUserAppEntitlementOwnershipByAppIDParams
WithUserID adds the userID to the public get user app entitlement ownership by app id params
func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserAppEntitlementOwnershipByAppIDReader ¶
type PublicGetUserAppEntitlementOwnershipByAppIDReader struct {
// contains filtered or unexported fields
}
PublicGetUserAppEntitlementOwnershipByAppIDReader is a Reader for the PublicGetUserAppEntitlementOwnershipByAppID structure.
func (*PublicGetUserAppEntitlementOwnershipByAppIDReader) ReadResponse ¶
func (o *PublicGetUserAppEntitlementOwnershipByAppIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserAppEntitlementOwnershipByAppIDResponse ¶
type PublicGetUserAppEntitlementOwnershipByAppIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.Ownership }
func (*PublicGetUserAppEntitlementOwnershipByAppIDResponse) Unpack ¶
func (m *PublicGetUserAppEntitlementOwnershipByAppIDResponse) Unpack() (*platformclientmodels.Ownership, *platformclientmodels.ApiError)
type PublicGetUserEntitlementByItemIDNotFound ¶
type PublicGetUserEntitlementByItemIDNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUserEntitlementByItemIDNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31144</td><td>Entitlement with itemId [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicGetUserEntitlementByItemIDNotFound ¶
func NewPublicGetUserEntitlementByItemIDNotFound() *PublicGetUserEntitlementByItemIDNotFound
NewPublicGetUserEntitlementByItemIDNotFound creates a PublicGetUserEntitlementByItemIDNotFound with default headers values
func (*PublicGetUserEntitlementByItemIDNotFound) Error ¶
func (o *PublicGetUserEntitlementByItemIDNotFound) Error() string
func (*PublicGetUserEntitlementByItemIDNotFound) GetPayload ¶
func (o *PublicGetUserEntitlementByItemIDNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicGetUserEntitlementByItemIDNotFound) ToJSONString ¶
func (o *PublicGetUserEntitlementByItemIDNotFound) ToJSONString() string
type PublicGetUserEntitlementByItemIDOK ¶
type PublicGetUserEntitlementByItemIDOK struct {
Payload *platformclientmodels.EntitlementInfo
}
PublicGetUserEntitlementByItemIDOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementByItemIDOK ¶
func NewPublicGetUserEntitlementByItemIDOK() *PublicGetUserEntitlementByItemIDOK
NewPublicGetUserEntitlementByItemIDOK creates a PublicGetUserEntitlementByItemIDOK with default headers values
func (*PublicGetUserEntitlementByItemIDOK) Error ¶
func (o *PublicGetUserEntitlementByItemIDOK) Error() string
func (*PublicGetUserEntitlementByItemIDOK) GetPayload ¶
func (o *PublicGetUserEntitlementByItemIDOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*PublicGetUserEntitlementByItemIDOK) ToJSONString ¶
func (o *PublicGetUserEntitlementByItemIDOK) ToJSONString() string
type PublicGetUserEntitlementByItemIDParams ¶
type PublicGetUserEntitlementByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementClazz*/ EntitlementClazz *string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementByItemIDParams contains all the parameters to send to the API endpoint for the public get user entitlement by item id operation typically these are written to a http.Request
func NewPublicGetUserEntitlementByItemIDParams ¶
func NewPublicGetUserEntitlementByItemIDParams() *PublicGetUserEntitlementByItemIDParams
NewPublicGetUserEntitlementByItemIDParams creates a new PublicGetUserEntitlementByItemIDParams object with the default values initialized.
func NewPublicGetUserEntitlementByItemIDParamsWithContext ¶
func NewPublicGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementByItemIDParams
NewPublicGetUserEntitlementByItemIDParamsWithContext creates a new PublicGetUserEntitlementByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementByItemIDParams
NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient creates a new PublicGetUserEntitlementByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementByItemIDParamsWithTimeout ¶
func NewPublicGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementByItemIDParams
NewPublicGetUserEntitlementByItemIDParamsWithTimeout creates a new PublicGetUserEntitlementByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementByItemIDParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetContext ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetFlightId ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetItemID ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetNamespace ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetTimeout ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) SetUserID ¶
func (o *PublicGetUserEntitlementByItemIDParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithContext ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithContext(ctx context.Context) *PublicGetUserEntitlementByItemIDParams
WithContext adds the context to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementByItemIDParams
WithEntitlementClazz adds the entitlementClazz to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementByItemIDParams
WithHTTPClient adds the HTTPClient to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithItemID ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithItemID(itemID string) *PublicGetUserEntitlementByItemIDParams
WithItemID adds the itemID to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithNamespace ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithNamespace(namespace string) *PublicGetUserEntitlementByItemIDParams
WithNamespace adds the namespace to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithTimeout ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementByItemIDParams
WithTimeout adds the timeout to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WithUserID ¶
func (o *PublicGetUserEntitlementByItemIDParams) WithUserID(userID string) *PublicGetUserEntitlementByItemIDParams
WithUserID adds the userID to the public get user entitlement by item id params
func (*PublicGetUserEntitlementByItemIDParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementByItemIDReader ¶
type PublicGetUserEntitlementByItemIDReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementByItemIDReader is a Reader for the PublicGetUserEntitlementByItemID structure.
func (*PublicGetUserEntitlementByItemIDReader) ReadResponse ¶
func (o *PublicGetUserEntitlementByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementByItemIDResponse ¶
type PublicGetUserEntitlementByItemIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*PublicGetUserEntitlementByItemIDResponse) Unpack ¶
func (m *PublicGetUserEntitlementByItemIDResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type PublicGetUserEntitlementBySkuNotFound ¶
type PublicGetUserEntitlementBySkuNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUserEntitlementBySkuNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31143</td><td>Entitlement with sku [{sku}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicGetUserEntitlementBySkuNotFound ¶
func NewPublicGetUserEntitlementBySkuNotFound() *PublicGetUserEntitlementBySkuNotFound
NewPublicGetUserEntitlementBySkuNotFound creates a PublicGetUserEntitlementBySkuNotFound with default headers values
func (*PublicGetUserEntitlementBySkuNotFound) Error ¶
func (o *PublicGetUserEntitlementBySkuNotFound) Error() string
func (*PublicGetUserEntitlementBySkuNotFound) GetPayload ¶
func (o *PublicGetUserEntitlementBySkuNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicGetUserEntitlementBySkuNotFound) ToJSONString ¶
func (o *PublicGetUserEntitlementBySkuNotFound) ToJSONString() string
type PublicGetUserEntitlementBySkuOK ¶
type PublicGetUserEntitlementBySkuOK struct {
Payload *platformclientmodels.EntitlementInfo
}
PublicGetUserEntitlementBySkuOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementBySkuOK ¶
func NewPublicGetUserEntitlementBySkuOK() *PublicGetUserEntitlementBySkuOK
NewPublicGetUserEntitlementBySkuOK creates a PublicGetUserEntitlementBySkuOK with default headers values
func (*PublicGetUserEntitlementBySkuOK) Error ¶
func (o *PublicGetUserEntitlementBySkuOK) Error() string
func (*PublicGetUserEntitlementBySkuOK) GetPayload ¶
func (o *PublicGetUserEntitlementBySkuOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*PublicGetUserEntitlementBySkuOK) ToJSONString ¶
func (o *PublicGetUserEntitlementBySkuOK) ToJSONString() string
type PublicGetUserEntitlementBySkuParams ¶
type PublicGetUserEntitlementBySkuParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementClazz*/ EntitlementClazz *string /*Sku*/ Sku string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementBySkuParams contains all the parameters to send to the API endpoint for the public get user entitlement by sku operation typically these are written to a http.Request
func NewPublicGetUserEntitlementBySkuParams ¶
func NewPublicGetUserEntitlementBySkuParams() *PublicGetUserEntitlementBySkuParams
NewPublicGetUserEntitlementBySkuParams creates a new PublicGetUserEntitlementBySkuParams object with the default values initialized.
func NewPublicGetUserEntitlementBySkuParamsWithContext ¶
func NewPublicGetUserEntitlementBySkuParamsWithContext(ctx context.Context) *PublicGetUserEntitlementBySkuParams
NewPublicGetUserEntitlementBySkuParamsWithContext creates a new PublicGetUserEntitlementBySkuParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementBySkuParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementBySkuParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementBySkuParams
NewPublicGetUserEntitlementBySkuParamsWithHTTPClient creates a new PublicGetUserEntitlementBySkuParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementBySkuParamsWithTimeout ¶
func NewPublicGetUserEntitlementBySkuParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementBySkuParams
NewPublicGetUserEntitlementBySkuParamsWithTimeout creates a new PublicGetUserEntitlementBySkuParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementBySkuParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetContext ¶
func (o *PublicGetUserEntitlementBySkuParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetEntitlementClazz ¶
func (o *PublicGetUserEntitlementBySkuParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetFlightId ¶
func (o *PublicGetUserEntitlementBySkuParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementBySkuParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementBySkuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetNamespace ¶
func (o *PublicGetUserEntitlementBySkuParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetSku ¶
func (o *PublicGetUserEntitlementBySkuParams) SetSku(sku string)
SetSku adds the sku to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetTimeout ¶
func (o *PublicGetUserEntitlementBySkuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) SetUserID ¶
func (o *PublicGetUserEntitlementBySkuParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithContext ¶
func (o *PublicGetUserEntitlementBySkuParams) WithContext(ctx context.Context) *PublicGetUserEntitlementBySkuParams
WithContext adds the context to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithEntitlementClazz ¶
func (o *PublicGetUserEntitlementBySkuParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementBySkuParams
WithEntitlementClazz adds the entitlementClazz to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementBySkuParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementBySkuParams
WithHTTPClient adds the HTTPClient to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithNamespace ¶
func (o *PublicGetUserEntitlementBySkuParams) WithNamespace(namespace string) *PublicGetUserEntitlementBySkuParams
WithNamespace adds the namespace to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithSku ¶
func (o *PublicGetUserEntitlementBySkuParams) WithSku(sku string) *PublicGetUserEntitlementBySkuParams
WithSku adds the sku to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithTimeout ¶
func (o *PublicGetUserEntitlementBySkuParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementBySkuParams
WithTimeout adds the timeout to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WithUserID ¶
func (o *PublicGetUserEntitlementBySkuParams) WithUserID(userID string) *PublicGetUserEntitlementBySkuParams
WithUserID adds the userID to the public get user entitlement by sku params
func (*PublicGetUserEntitlementBySkuParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementBySkuReader ¶
type PublicGetUserEntitlementBySkuReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementBySkuReader is a Reader for the PublicGetUserEntitlementBySku structure.
func (*PublicGetUserEntitlementBySkuReader) ReadResponse ¶
func (o *PublicGetUserEntitlementBySkuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementBySkuResponse ¶
type PublicGetUserEntitlementBySkuResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*PublicGetUserEntitlementBySkuResponse) Unpack ¶
func (m *PublicGetUserEntitlementBySkuResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type PublicGetUserEntitlementNotFound ¶
type PublicGetUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicGetUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicGetUserEntitlementNotFound ¶
func NewPublicGetUserEntitlementNotFound() *PublicGetUserEntitlementNotFound
NewPublicGetUserEntitlementNotFound creates a PublicGetUserEntitlementNotFound with default headers values
func (*PublicGetUserEntitlementNotFound) Error ¶
func (o *PublicGetUserEntitlementNotFound) Error() string
func (*PublicGetUserEntitlementNotFound) GetPayload ¶
func (o *PublicGetUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicGetUserEntitlementNotFound) ToJSONString ¶
func (o *PublicGetUserEntitlementNotFound) ToJSONString() string
type PublicGetUserEntitlementOK ¶
type PublicGetUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
PublicGetUserEntitlementOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementOK ¶
func NewPublicGetUserEntitlementOK() *PublicGetUserEntitlementOK
NewPublicGetUserEntitlementOK creates a PublicGetUserEntitlementOK with default headers values
func (*PublicGetUserEntitlementOK) Error ¶
func (o *PublicGetUserEntitlementOK) Error() string
func (*PublicGetUserEntitlementOK) GetPayload ¶
func (o *PublicGetUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*PublicGetUserEntitlementOK) ToJSONString ¶
func (o *PublicGetUserEntitlementOK) ToJSONString() string
type PublicGetUserEntitlementOwnershipByItemIDOK ¶
type PublicGetUserEntitlementOwnershipByItemIDOK struct {
Payload *platformclientmodels.TimedOwnership
}
PublicGetUserEntitlementOwnershipByItemIDOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementOwnershipByItemIDOK ¶
func NewPublicGetUserEntitlementOwnershipByItemIDOK() *PublicGetUserEntitlementOwnershipByItemIDOK
NewPublicGetUserEntitlementOwnershipByItemIDOK creates a PublicGetUserEntitlementOwnershipByItemIDOK with default headers values
func (*PublicGetUserEntitlementOwnershipByItemIDOK) Error ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDOK) Error() string
func (*PublicGetUserEntitlementOwnershipByItemIDOK) GetPayload ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDOK) GetPayload() *platformclientmodels.TimedOwnership
func (*PublicGetUserEntitlementOwnershipByItemIDOK) ToJSONString ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDOK) ToJSONString() string
type PublicGetUserEntitlementOwnershipByItemIDParams ¶
type PublicGetUserEntitlementOwnershipByItemIDParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementClazz*/ EntitlementClazz *string /*ItemID*/ ItemID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementOwnershipByItemIDParams contains all the parameters to send to the API endpoint for the public get user entitlement ownership by item id operation typically these are written to a http.Request
func NewPublicGetUserEntitlementOwnershipByItemIDParams ¶
func NewPublicGetUserEntitlementOwnershipByItemIDParams() *PublicGetUserEntitlementOwnershipByItemIDParams
NewPublicGetUserEntitlementOwnershipByItemIDParams creates a new PublicGetUserEntitlementOwnershipByItemIDParams object with the default values initialized.
func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext ¶
func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIDParams
NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext creates a new PublicGetUserEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIDParams
NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient creates a new PublicGetUserEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout ¶
func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIDParams
NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout creates a new PublicGetUserEntitlementOwnershipByItemIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetContext ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetFlightId ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID(itemID string)
SetItemID adds the itemId to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetTimeout ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetUserID ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithContext ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIDParams
WithContext adds the context to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementOwnershipByItemIDParams
WithEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIDParams
WithHTTPClient adds the HTTPClient to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithItemID ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithItemID(itemID string) *PublicGetUserEntitlementOwnershipByItemIDParams
WithItemID adds the itemID to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithNamespace ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithNamespace(namespace string) *PublicGetUserEntitlementOwnershipByItemIDParams
WithNamespace adds the namespace to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithTimeout ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIDParams
WithTimeout adds the timeout to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithUserID ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WithUserID(userID string) *PublicGetUserEntitlementOwnershipByItemIDParams
WithUserID adds the userID to the public get user entitlement ownership by item id params
func (*PublicGetUserEntitlementOwnershipByItemIDParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementOwnershipByItemIDReader ¶
type PublicGetUserEntitlementOwnershipByItemIDReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementOwnershipByItemIDReader is a Reader for the PublicGetUserEntitlementOwnershipByItemID structure.
func (*PublicGetUserEntitlementOwnershipByItemIDReader) ReadResponse ¶
func (o *PublicGetUserEntitlementOwnershipByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementOwnershipByItemIDResponse ¶
type PublicGetUserEntitlementOwnershipByItemIDResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.TimedOwnership }
func (*PublicGetUserEntitlementOwnershipByItemIDResponse) Unpack ¶
func (m *PublicGetUserEntitlementOwnershipByItemIDResponse) Unpack() (*platformclientmodels.TimedOwnership, *platformclientmodels.ApiError)
type PublicGetUserEntitlementOwnershipByItemIdsOK ¶
type PublicGetUserEntitlementOwnershipByItemIdsOK struct {
Payload []*platformclientmodels.EntitlementOwnership
}
PublicGetUserEntitlementOwnershipByItemIdsOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementOwnershipByItemIdsOK ¶
func NewPublicGetUserEntitlementOwnershipByItemIdsOK() *PublicGetUserEntitlementOwnershipByItemIdsOK
NewPublicGetUserEntitlementOwnershipByItemIdsOK creates a PublicGetUserEntitlementOwnershipByItemIdsOK with default headers values
func (*PublicGetUserEntitlementOwnershipByItemIdsOK) Error ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsOK) Error() string
func (*PublicGetUserEntitlementOwnershipByItemIdsOK) GetPayload ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsOK) GetPayload() []*platformclientmodels.EntitlementOwnership
func (*PublicGetUserEntitlementOwnershipByItemIdsOK) ToJSONString ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsOK) ToJSONString() string
type PublicGetUserEntitlementOwnershipByItemIdsParams ¶
type PublicGetUserEntitlementOwnershipByItemIdsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*Ids*/ Ids []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementOwnershipByItemIdsParams contains all the parameters to send to the API endpoint for the public get user entitlement ownership by item ids operation typically these are written to a http.Request
func NewPublicGetUserEntitlementOwnershipByItemIdsParams ¶
func NewPublicGetUserEntitlementOwnershipByItemIdsParams() *PublicGetUserEntitlementOwnershipByItemIdsParams
NewPublicGetUserEntitlementOwnershipByItemIdsParams creates a new PublicGetUserEntitlementOwnershipByItemIdsParams object with the default values initialized.
func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext ¶
func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIdsParams
NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext creates a new PublicGetUserEntitlementOwnershipByItemIdsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIdsParams
NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient creates a new PublicGetUserEntitlementOwnershipByItemIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithTimeout ¶
func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIdsParams
NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithTimeout creates a new PublicGetUserEntitlementOwnershipByItemIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetContext ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetFlightId ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetIds ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetIds(ids []string)
SetIds adds the ids to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetTimeout ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetUserID ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithContext ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIdsParams
WithContext adds the context to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIdsParams
WithHTTPClient adds the HTTPClient to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithIds ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithIds(ids []string) *PublicGetUserEntitlementOwnershipByItemIdsParams
WithIds adds the ids to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithNamespace ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithNamespace(namespace string) *PublicGetUserEntitlementOwnershipByItemIdsParams
WithNamespace adds the namespace to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithTimeout ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIdsParams
WithTimeout adds the timeout to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithUserID ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WithUserID(userID string) *PublicGetUserEntitlementOwnershipByItemIdsParams
WithUserID adds the userID to the public get user entitlement ownership by item ids params
func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementOwnershipByItemIdsReader ¶
type PublicGetUserEntitlementOwnershipByItemIdsReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementOwnershipByItemIdsReader is a Reader for the PublicGetUserEntitlementOwnershipByItemIds structure.
func (*PublicGetUserEntitlementOwnershipByItemIdsReader) ReadResponse ¶
func (o *PublicGetUserEntitlementOwnershipByItemIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementOwnershipByItemIdsResponse ¶
type PublicGetUserEntitlementOwnershipByItemIdsResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.EntitlementOwnership }
func (*PublicGetUserEntitlementOwnershipByItemIdsResponse) Unpack ¶
func (m *PublicGetUserEntitlementOwnershipByItemIdsResponse) Unpack() ([]*platformclientmodels.EntitlementOwnership, *platformclientmodels.ApiError)
type PublicGetUserEntitlementOwnershipBySkuOK ¶
type PublicGetUserEntitlementOwnershipBySkuOK struct {
Payload *platformclientmodels.TimedOwnership
}
PublicGetUserEntitlementOwnershipBySkuOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementOwnershipBySkuOK ¶
func NewPublicGetUserEntitlementOwnershipBySkuOK() *PublicGetUserEntitlementOwnershipBySkuOK
NewPublicGetUserEntitlementOwnershipBySkuOK creates a PublicGetUserEntitlementOwnershipBySkuOK with default headers values
func (*PublicGetUserEntitlementOwnershipBySkuOK) Error ¶
func (o *PublicGetUserEntitlementOwnershipBySkuOK) Error() string
func (*PublicGetUserEntitlementOwnershipBySkuOK) GetPayload ¶
func (o *PublicGetUserEntitlementOwnershipBySkuOK) GetPayload() *platformclientmodels.TimedOwnership
func (*PublicGetUserEntitlementOwnershipBySkuOK) ToJSONString ¶
func (o *PublicGetUserEntitlementOwnershipBySkuOK) ToJSONString() string
type PublicGetUserEntitlementOwnershipBySkuParams ¶
type PublicGetUserEntitlementOwnershipBySkuParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementClazz*/ EntitlementClazz *string /*Sku*/ Sku string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementOwnershipBySkuParams contains all the parameters to send to the API endpoint for the public get user entitlement ownership by sku operation typically these are written to a http.Request
func NewPublicGetUserEntitlementOwnershipBySkuParams ¶
func NewPublicGetUserEntitlementOwnershipBySkuParams() *PublicGetUserEntitlementOwnershipBySkuParams
NewPublicGetUserEntitlementOwnershipBySkuParams creates a new PublicGetUserEntitlementOwnershipBySkuParams object with the default values initialized.
func NewPublicGetUserEntitlementOwnershipBySkuParamsWithContext ¶
func NewPublicGetUserEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipBySkuParams
NewPublicGetUserEntitlementOwnershipBySkuParamsWithContext creates a new PublicGetUserEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementOwnershipBySkuParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipBySkuParams
NewPublicGetUserEntitlementOwnershipBySkuParamsWithHTTPClient creates a new PublicGetUserEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementOwnershipBySkuParamsWithTimeout ¶
func NewPublicGetUserEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipBySkuParams
NewPublicGetUserEntitlementOwnershipBySkuParamsWithTimeout creates a new PublicGetUserEntitlementOwnershipBySkuParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetContext ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetFlightId ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetSku ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetSku(sku string)
SetSku adds the sku to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetTimeout ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) SetUserID ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithContext ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipBySkuParams
WithContext adds the context to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementOwnershipBySkuParams
WithEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipBySkuParams
WithHTTPClient adds the HTTPClient to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithNamespace ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithNamespace(namespace string) *PublicGetUserEntitlementOwnershipBySkuParams
WithNamespace adds the namespace to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithSku ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithSku(sku string) *PublicGetUserEntitlementOwnershipBySkuParams
WithSku adds the sku to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithTimeout ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipBySkuParams
WithTimeout adds the timeout to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WithUserID ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WithUserID(userID string) *PublicGetUserEntitlementOwnershipBySkuParams
WithUserID adds the userID to the public get user entitlement ownership by sku params
func (*PublicGetUserEntitlementOwnershipBySkuParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementOwnershipBySkuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementOwnershipBySkuReader ¶
type PublicGetUserEntitlementOwnershipBySkuReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementOwnershipBySkuReader is a Reader for the PublicGetUserEntitlementOwnershipBySku structure.
func (*PublicGetUserEntitlementOwnershipBySkuReader) ReadResponse ¶
func (o *PublicGetUserEntitlementOwnershipBySkuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementOwnershipBySkuResponse ¶
type PublicGetUserEntitlementOwnershipBySkuResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.TimedOwnership }
func (*PublicGetUserEntitlementOwnershipBySkuResponse) Unpack ¶
func (m *PublicGetUserEntitlementOwnershipBySkuResponse) Unpack() (*platformclientmodels.TimedOwnership, *platformclientmodels.ApiError)
type PublicGetUserEntitlementParams ¶
type PublicGetUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementParams contains all the parameters to send to the API endpoint for the public get user entitlement operation typically these are written to a http.Request
func NewPublicGetUserEntitlementParams ¶
func NewPublicGetUserEntitlementParams() *PublicGetUserEntitlementParams
NewPublicGetUserEntitlementParams creates a new PublicGetUserEntitlementParams object with the default values initialized.
func NewPublicGetUserEntitlementParamsWithContext ¶
func NewPublicGetUserEntitlementParamsWithContext(ctx context.Context) *PublicGetUserEntitlementParams
NewPublicGetUserEntitlementParamsWithContext creates a new PublicGetUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementParams
NewPublicGetUserEntitlementParamsWithHTTPClient creates a new PublicGetUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementParamsWithTimeout ¶
func NewPublicGetUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementParams
NewPublicGetUserEntitlementParamsWithTimeout creates a new PublicGetUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetContext ¶
func (o *PublicGetUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetEntitlementID ¶
func (o *PublicGetUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetFlightId ¶
func (o *PublicGetUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetNamespace ¶
func (o *PublicGetUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetTimeout ¶
func (o *PublicGetUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlement params
func (*PublicGetUserEntitlementParams) SetUserID ¶
func (o *PublicGetUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WithContext ¶
func (o *PublicGetUserEntitlementParams) WithContext(ctx context.Context) *PublicGetUserEntitlementParams
WithContext adds the context to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WithEntitlementID ¶
func (o *PublicGetUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicGetUserEntitlementParams
WithEntitlementID adds the entitlementID to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementParams
WithHTTPClient adds the HTTPClient to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WithNamespace ¶
func (o *PublicGetUserEntitlementParams) WithNamespace(namespace string) *PublicGetUserEntitlementParams
WithNamespace adds the namespace to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WithTimeout ¶
func (o *PublicGetUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementParams
WithTimeout adds the timeout to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WithUserID ¶
func (o *PublicGetUserEntitlementParams) WithUserID(userID string) *PublicGetUserEntitlementParams
WithUserID adds the userID to the public get user entitlement params
func (*PublicGetUserEntitlementParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementReader ¶
type PublicGetUserEntitlementReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementReader is a Reader for the PublicGetUserEntitlement structure.
func (*PublicGetUserEntitlementReader) ReadResponse ¶
func (o *PublicGetUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementResponse ¶
type PublicGetUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*PublicGetUserEntitlementResponse) Unpack ¶
func (m *PublicGetUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type PublicGetUserEntitlementsByIdsOK ¶
type PublicGetUserEntitlementsByIdsOK struct {
Payload []*platformclientmodels.EntitlementInfo
}
PublicGetUserEntitlementsByIdsOK handles this case with default header values.
successful operation
func NewPublicGetUserEntitlementsByIdsOK ¶
func NewPublicGetUserEntitlementsByIdsOK() *PublicGetUserEntitlementsByIdsOK
NewPublicGetUserEntitlementsByIdsOK creates a PublicGetUserEntitlementsByIdsOK with default headers values
func (*PublicGetUserEntitlementsByIdsOK) Error ¶
func (o *PublicGetUserEntitlementsByIdsOK) Error() string
func (*PublicGetUserEntitlementsByIdsOK) GetPayload ¶
func (o *PublicGetUserEntitlementsByIdsOK) GetPayload() []*platformclientmodels.EntitlementInfo
func (*PublicGetUserEntitlementsByIdsOK) ToJSONString ¶
func (o *PublicGetUserEntitlementsByIdsOK) ToJSONString() string
type PublicGetUserEntitlementsByIdsParams ¶
type PublicGetUserEntitlementsByIdsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AvailablePlatformOnly*/ AvailablePlatformOnly *bool /*Ids*/ Ids []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserEntitlementsByIdsParams contains all the parameters to send to the API endpoint for the public get user entitlements by ids operation typically these are written to a http.Request
func NewPublicGetUserEntitlementsByIdsParams ¶
func NewPublicGetUserEntitlementsByIdsParams() *PublicGetUserEntitlementsByIdsParams
NewPublicGetUserEntitlementsByIdsParams creates a new PublicGetUserEntitlementsByIdsParams object with the default values initialized.
func NewPublicGetUserEntitlementsByIdsParamsWithContext ¶
func NewPublicGetUserEntitlementsByIdsParamsWithContext(ctx context.Context) *PublicGetUserEntitlementsByIdsParams
NewPublicGetUserEntitlementsByIdsParamsWithContext creates a new PublicGetUserEntitlementsByIdsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserEntitlementsByIdsParamsWithHTTPClient ¶
func NewPublicGetUserEntitlementsByIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementsByIdsParams
NewPublicGetUserEntitlementsByIdsParamsWithHTTPClient creates a new PublicGetUserEntitlementsByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserEntitlementsByIdsParamsWithTimeout ¶
func NewPublicGetUserEntitlementsByIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementsByIdsParams
NewPublicGetUserEntitlementsByIdsParamsWithTimeout creates a new PublicGetUserEntitlementsByIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserEntitlementsByIdsParams) SetAuthInfoWriter ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly(availablePlatformOnly *bool)
SetAvailablePlatformOnly adds the availablePlatformOnly to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetContext ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetFlightId ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserEntitlementsByIdsParams) SetHTTPClient ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetHTTPClientTransport ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetIds ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetIds(ids []string)
SetIds adds the ids to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetNamespace ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetTimeout ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) SetUserID ¶
func (o *PublicGetUserEntitlementsByIdsParams) SetUserID(userID string)
SetUserID adds the userId to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly(availablePlatformOnly *bool) *PublicGetUserEntitlementsByIdsParams
WithAvailablePlatformOnly adds the availablePlatformOnly to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithContext ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithContext(ctx context.Context) *PublicGetUserEntitlementsByIdsParams
WithContext adds the context to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithHTTPClient ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithHTTPClient(client *http.Client) *PublicGetUserEntitlementsByIdsParams
WithHTTPClient adds the HTTPClient to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithIds ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithIds(ids []string) *PublicGetUserEntitlementsByIdsParams
WithIds adds the ids to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithNamespace ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithNamespace(namespace string) *PublicGetUserEntitlementsByIdsParams
WithNamespace adds the namespace to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithTimeout ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithTimeout(timeout time.Duration) *PublicGetUserEntitlementsByIdsParams
WithTimeout adds the timeout to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WithUserID ¶
func (o *PublicGetUserEntitlementsByIdsParams) WithUserID(userID string) *PublicGetUserEntitlementsByIdsParams
WithUserID adds the userID to the public get user entitlements by ids params
func (*PublicGetUserEntitlementsByIdsParams) WriteToRequest ¶
func (o *PublicGetUserEntitlementsByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserEntitlementsByIdsReader ¶
type PublicGetUserEntitlementsByIdsReader struct {
// contains filtered or unexported fields
}
PublicGetUserEntitlementsByIdsReader is a Reader for the PublicGetUserEntitlementsByIds structure.
func (*PublicGetUserEntitlementsByIdsReader) ReadResponse ¶
func (o *PublicGetUserEntitlementsByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserEntitlementsByIdsResponse ¶
type PublicGetUserEntitlementsByIdsResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.EntitlementInfo }
func (*PublicGetUserEntitlementsByIdsResponse) Unpack ¶
func (m *PublicGetUserEntitlementsByIdsResponse) Unpack() ([]*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type PublicQueryUserEntitlementsByAppTypeOK ¶
type PublicQueryUserEntitlementsByAppTypeOK struct {
Payload *platformclientmodels.AppEntitlementPagingSlicedResult
}
PublicQueryUserEntitlementsByAppTypeOK handles this case with default header values.
successful operation
func NewPublicQueryUserEntitlementsByAppTypeOK ¶
func NewPublicQueryUserEntitlementsByAppTypeOK() *PublicQueryUserEntitlementsByAppTypeOK
NewPublicQueryUserEntitlementsByAppTypeOK creates a PublicQueryUserEntitlementsByAppTypeOK with default headers values
func (*PublicQueryUserEntitlementsByAppTypeOK) Error ¶
func (o *PublicQueryUserEntitlementsByAppTypeOK) Error() string
func (*PublicQueryUserEntitlementsByAppTypeOK) GetPayload ¶
func (o *PublicQueryUserEntitlementsByAppTypeOK) GetPayload() *platformclientmodels.AppEntitlementPagingSlicedResult
func (*PublicQueryUserEntitlementsByAppTypeOK) ToJSONString ¶
func (o *PublicQueryUserEntitlementsByAppTypeOK) ToJSONString() string
type PublicQueryUserEntitlementsByAppTypeParams ¶
type PublicQueryUserEntitlementsByAppTypeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*AppType*/ AppType string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicQueryUserEntitlementsByAppTypeParams contains all the parameters to send to the API endpoint for the public query user entitlements by app type operation typically these are written to a http.Request
func NewPublicQueryUserEntitlementsByAppTypeParams ¶
func NewPublicQueryUserEntitlementsByAppTypeParams() *PublicQueryUserEntitlementsByAppTypeParams
NewPublicQueryUserEntitlementsByAppTypeParams creates a new PublicQueryUserEntitlementsByAppTypeParams object with the default values initialized.
func NewPublicQueryUserEntitlementsByAppTypeParamsWithContext ¶
func NewPublicQueryUserEntitlementsByAppTypeParamsWithContext(ctx context.Context) *PublicQueryUserEntitlementsByAppTypeParams
NewPublicQueryUserEntitlementsByAppTypeParamsWithContext creates a new PublicQueryUserEntitlementsByAppTypeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicQueryUserEntitlementsByAppTypeParamsWithHTTPClient ¶
func NewPublicQueryUserEntitlementsByAppTypeParamsWithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsByAppTypeParams
NewPublicQueryUserEntitlementsByAppTypeParamsWithHTTPClient creates a new PublicQueryUserEntitlementsByAppTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicQueryUserEntitlementsByAppTypeParamsWithTimeout ¶
func NewPublicQueryUserEntitlementsByAppTypeParamsWithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsByAppTypeParams
NewPublicQueryUserEntitlementsByAppTypeParamsWithTimeout creates a new PublicQueryUserEntitlementsByAppTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicQueryUserEntitlementsByAppTypeParams) SetAppType ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetAppType(appType string)
SetAppType adds the appType to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetContext ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetFlightId ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClient ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetLimit ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetLimit(limit *int32)
SetLimit adds the limit to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetNamespace ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetOffset ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetOffset(offset *int32)
SetOffset adds the offset to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetTimeout ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) SetUserID ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) SetUserID(userID string)
SetUserID adds the userId to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithAppType ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithAppType(appType string) *PublicQueryUserEntitlementsByAppTypeParams
WithAppType adds the appType to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithContext ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithContext(ctx context.Context) *PublicQueryUserEntitlementsByAppTypeParams
WithContext adds the context to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithHTTPClient ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsByAppTypeParams
WithHTTPClient adds the HTTPClient to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithLimit ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithLimit(limit *int32) *PublicQueryUserEntitlementsByAppTypeParams
WithLimit adds the limit to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithNamespace ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithNamespace(namespace string) *PublicQueryUserEntitlementsByAppTypeParams
WithNamespace adds the namespace to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithOffset ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithOffset(offset *int32) *PublicQueryUserEntitlementsByAppTypeParams
WithOffset adds the offset to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithTimeout ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsByAppTypeParams
WithTimeout adds the timeout to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WithUserID ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WithUserID(userID string) *PublicQueryUserEntitlementsByAppTypeParams
WithUserID adds the userID to the public query user entitlements by app type params
func (*PublicQueryUserEntitlementsByAppTypeParams) WriteToRequest ¶
func (o *PublicQueryUserEntitlementsByAppTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicQueryUserEntitlementsByAppTypeReader ¶
type PublicQueryUserEntitlementsByAppTypeReader struct {
// contains filtered or unexported fields
}
PublicQueryUserEntitlementsByAppTypeReader is a Reader for the PublicQueryUserEntitlementsByAppType structure.
func (*PublicQueryUserEntitlementsByAppTypeReader) ReadResponse ¶
func (o *PublicQueryUserEntitlementsByAppTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicQueryUserEntitlementsByAppTypeResponse ¶
type PublicQueryUserEntitlementsByAppTypeResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.AppEntitlementPagingSlicedResult }
type PublicQueryUserEntitlementsOK ¶
type PublicQueryUserEntitlementsOK struct {
Payload *platformclientmodels.EntitlementPagingSlicedResult
}
PublicQueryUserEntitlementsOK handles this case with default header values.
successful operation
func NewPublicQueryUserEntitlementsOK ¶
func NewPublicQueryUserEntitlementsOK() *PublicQueryUserEntitlementsOK
NewPublicQueryUserEntitlementsOK creates a PublicQueryUserEntitlementsOK with default headers values
func (*PublicQueryUserEntitlementsOK) Error ¶
func (o *PublicQueryUserEntitlementsOK) Error() string
func (*PublicQueryUserEntitlementsOK) GetPayload ¶
func (o *PublicQueryUserEntitlementsOK) GetPayload() *platformclientmodels.EntitlementPagingSlicedResult
func (*PublicQueryUserEntitlementsOK) ToJSONString ¶
func (o *PublicQueryUserEntitlementsOK) ToJSONString() string
type PublicQueryUserEntitlementsParams ¶
type PublicQueryUserEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AppType*/ AppType *string /*EntitlementClazz*/ EntitlementClazz *string /*EntitlementName*/ EntitlementName *string /*Features*/ Features []string /*ItemID*/ ItemID []string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicQueryUserEntitlementsParams contains all the parameters to send to the API endpoint for the public query user entitlements operation typically these are written to a http.Request
func NewPublicQueryUserEntitlementsParams ¶
func NewPublicQueryUserEntitlementsParams() *PublicQueryUserEntitlementsParams
NewPublicQueryUserEntitlementsParams creates a new PublicQueryUserEntitlementsParams object with the default values initialized.
func NewPublicQueryUserEntitlementsParamsWithContext ¶
func NewPublicQueryUserEntitlementsParamsWithContext(ctx context.Context) *PublicQueryUserEntitlementsParams
NewPublicQueryUserEntitlementsParamsWithContext creates a new PublicQueryUserEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicQueryUserEntitlementsParamsWithHTTPClient ¶
func NewPublicQueryUserEntitlementsParamsWithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsParams
NewPublicQueryUserEntitlementsParamsWithHTTPClient creates a new PublicQueryUserEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicQueryUserEntitlementsParamsWithTimeout ¶
func NewPublicQueryUserEntitlementsParamsWithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsParams
NewPublicQueryUserEntitlementsParamsWithTimeout creates a new PublicQueryUserEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicQueryUserEntitlementsParams) SetAppType ¶
func (o *PublicQueryUserEntitlementsParams) SetAppType(appType *string)
SetAppType adds the appType to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetAuthInfoWriter ¶
func (o *PublicQueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetContext ¶
func (o *PublicQueryUserEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetEntitlementClazz ¶
func (o *PublicQueryUserEntitlementsParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetEntitlementName ¶
func (o *PublicQueryUserEntitlementsParams) SetEntitlementName(entitlementName *string)
SetEntitlementName adds the entitlementName to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetFeatures ¶
func (o *PublicQueryUserEntitlementsParams) SetFeatures(features []string)
SetFeatures adds the features to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetFlightId ¶
func (o *PublicQueryUserEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicQueryUserEntitlementsParams) SetHTTPClient ¶
func (o *PublicQueryUserEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetHTTPClientTransport ¶
func (o *PublicQueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetItemID ¶
func (o *PublicQueryUserEntitlementsParams) SetItemID(itemID []string)
SetItemID adds the itemId to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetLimit ¶
func (o *PublicQueryUserEntitlementsParams) SetLimit(limit *int32)
SetLimit adds the limit to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetNamespace ¶
func (o *PublicQueryUserEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetOffset ¶
func (o *PublicQueryUserEntitlementsParams) SetOffset(offset *int32)
SetOffset adds the offset to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetTimeout ¶
func (o *PublicQueryUserEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) SetUserID ¶
func (o *PublicQueryUserEntitlementsParams) SetUserID(userID string)
SetUserID adds the userId to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithAppType ¶
func (o *PublicQueryUserEntitlementsParams) WithAppType(appType *string) *PublicQueryUserEntitlementsParams
WithAppType adds the appType to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithContext ¶
func (o *PublicQueryUserEntitlementsParams) WithContext(ctx context.Context) *PublicQueryUserEntitlementsParams
WithContext adds the context to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithEntitlementClazz ¶
func (o *PublicQueryUserEntitlementsParams) WithEntitlementClazz(entitlementClazz *string) *PublicQueryUserEntitlementsParams
WithEntitlementClazz adds the entitlementClazz to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithEntitlementName ¶
func (o *PublicQueryUserEntitlementsParams) WithEntitlementName(entitlementName *string) *PublicQueryUserEntitlementsParams
WithEntitlementName adds the entitlementName to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithFeatures ¶
func (o *PublicQueryUserEntitlementsParams) WithFeatures(features []string) *PublicQueryUserEntitlementsParams
WithFeatures adds the features to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithHTTPClient ¶
func (o *PublicQueryUserEntitlementsParams) WithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsParams
WithHTTPClient adds the HTTPClient to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithItemID ¶
func (o *PublicQueryUserEntitlementsParams) WithItemID(itemID []string) *PublicQueryUserEntitlementsParams
WithItemID adds the itemID to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithLimit ¶
func (o *PublicQueryUserEntitlementsParams) WithLimit(limit *int32) *PublicQueryUserEntitlementsParams
WithLimit adds the limit to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithNamespace ¶
func (o *PublicQueryUserEntitlementsParams) WithNamespace(namespace string) *PublicQueryUserEntitlementsParams
WithNamespace adds the namespace to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithOffset ¶
func (o *PublicQueryUserEntitlementsParams) WithOffset(offset *int32) *PublicQueryUserEntitlementsParams
WithOffset adds the offset to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithTimeout ¶
func (o *PublicQueryUserEntitlementsParams) WithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsParams
WithTimeout adds the timeout to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WithUserID ¶
func (o *PublicQueryUserEntitlementsParams) WithUserID(userID string) *PublicQueryUserEntitlementsParams
WithUserID adds the userID to the public query user entitlements params
func (*PublicQueryUserEntitlementsParams) WriteToRequest ¶
func (o *PublicQueryUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicQueryUserEntitlementsReader ¶
type PublicQueryUserEntitlementsReader struct {
// contains filtered or unexported fields
}
PublicQueryUserEntitlementsReader is a Reader for the PublicQueryUserEntitlements structure.
func (*PublicQueryUserEntitlementsReader) ReadResponse ¶
func (o *PublicQueryUserEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicQueryUserEntitlementsResponse ¶
type PublicQueryUserEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPagingSlicedResult }
func (*PublicQueryUserEntitlementsResponse) Unpack ¶
func (m *PublicQueryUserEntitlementsResponse) Unpack() (*platformclientmodels.EntitlementPagingSlicedResult, *platformclientmodels.ApiError)
type PublicSellUserEntitlementConflict ¶
type PublicSellUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSellUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>31181</td><td>Entitlement [{entitlementId}] is not sellable</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr></table>
func NewPublicSellUserEntitlementConflict ¶
func NewPublicSellUserEntitlementConflict() *PublicSellUserEntitlementConflict
NewPublicSellUserEntitlementConflict creates a PublicSellUserEntitlementConflict with default headers values
func (*PublicSellUserEntitlementConflict) Error ¶
func (o *PublicSellUserEntitlementConflict) Error() string
func (*PublicSellUserEntitlementConflict) GetPayload ¶
func (o *PublicSellUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSellUserEntitlementConflict) ToJSONString ¶
func (o *PublicSellUserEntitlementConflict) ToJSONString() string
type PublicSellUserEntitlementNotFound ¶
type PublicSellUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSellUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicSellUserEntitlementNotFound ¶
func NewPublicSellUserEntitlementNotFound() *PublicSellUserEntitlementNotFound
NewPublicSellUserEntitlementNotFound creates a PublicSellUserEntitlementNotFound with default headers values
func (*PublicSellUserEntitlementNotFound) Error ¶
func (o *PublicSellUserEntitlementNotFound) Error() string
func (*PublicSellUserEntitlementNotFound) GetPayload ¶
func (o *PublicSellUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSellUserEntitlementNotFound) ToJSONString ¶
func (o *PublicSellUserEntitlementNotFound) ToJSONString() string
type PublicSellUserEntitlementOK ¶
type PublicSellUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementSoldResult
}
PublicSellUserEntitlementOK handles this case with default header values.
successful operation
func NewPublicSellUserEntitlementOK ¶
func NewPublicSellUserEntitlementOK() *PublicSellUserEntitlementOK
NewPublicSellUserEntitlementOK creates a PublicSellUserEntitlementOK with default headers values
func (*PublicSellUserEntitlementOK) Error ¶
func (o *PublicSellUserEntitlementOK) Error() string
func (*PublicSellUserEntitlementOK) GetPayload ¶
func (o *PublicSellUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementSoldResult
func (*PublicSellUserEntitlementOK) ToJSONString ¶
func (o *PublicSellUserEntitlementOK) ToJSONString() string
type PublicSellUserEntitlementParams ¶
type PublicSellUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.EntitlementSoldRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicSellUserEntitlementParams contains all the parameters to send to the API endpoint for the public sell user entitlement operation typically these are written to a http.Request
func NewPublicSellUserEntitlementParams ¶
func NewPublicSellUserEntitlementParams() *PublicSellUserEntitlementParams
NewPublicSellUserEntitlementParams creates a new PublicSellUserEntitlementParams object with the default values initialized.
func NewPublicSellUserEntitlementParamsWithContext ¶
func NewPublicSellUserEntitlementParamsWithContext(ctx context.Context) *PublicSellUserEntitlementParams
NewPublicSellUserEntitlementParamsWithContext creates a new PublicSellUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicSellUserEntitlementParamsWithHTTPClient ¶
func NewPublicSellUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicSellUserEntitlementParams
NewPublicSellUserEntitlementParamsWithHTTPClient creates a new PublicSellUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicSellUserEntitlementParamsWithTimeout ¶
func NewPublicSellUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicSellUserEntitlementParams
NewPublicSellUserEntitlementParamsWithTimeout creates a new PublicSellUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicSellUserEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicSellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetBody ¶
func (o *PublicSellUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementSoldRequest)
SetBody adds the body to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetContext ¶
func (o *PublicSellUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetEntitlementID ¶
func (o *PublicSellUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetFlightId ¶
func (o *PublicSellUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicSellUserEntitlementParams) SetHTTPClient ¶
func (o *PublicSellUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicSellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetNamespace ¶
func (o *PublicSellUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetTimeout ¶
func (o *PublicSellUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) SetUserID ¶
func (o *PublicSellUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithBody ¶
func (o *PublicSellUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementSoldRequest) *PublicSellUserEntitlementParams
WithBody adds the body to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithContext ¶
func (o *PublicSellUserEntitlementParams) WithContext(ctx context.Context) *PublicSellUserEntitlementParams
WithContext adds the context to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithEntitlementID ¶
func (o *PublicSellUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSellUserEntitlementParams
WithEntitlementID adds the entitlementID to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithHTTPClient ¶
func (o *PublicSellUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicSellUserEntitlementParams
WithHTTPClient adds the HTTPClient to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithNamespace ¶
func (o *PublicSellUserEntitlementParams) WithNamespace(namespace string) *PublicSellUserEntitlementParams
WithNamespace adds the namespace to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithTimeout ¶
func (o *PublicSellUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicSellUserEntitlementParams
WithTimeout adds the timeout to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WithUserID ¶
func (o *PublicSellUserEntitlementParams) WithUserID(userID string) *PublicSellUserEntitlementParams
WithUserID adds the userID to the public sell user entitlement params
func (*PublicSellUserEntitlementParams) WriteToRequest ¶
func (o *PublicSellUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicSellUserEntitlementReader ¶
type PublicSellUserEntitlementReader struct {
// contains filtered or unexported fields
}
PublicSellUserEntitlementReader is a Reader for the PublicSellUserEntitlement structure.
func (*PublicSellUserEntitlementReader) ReadResponse ¶
func (o *PublicSellUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSellUserEntitlementResponse ¶
type PublicSellUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementSoldResult Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*PublicSellUserEntitlementResponse) Unpack ¶
func (m *PublicSellUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementSoldResult, *platformclientmodels.ApiError)
type PublicSplitUserEntitlementConflict ¶
type PublicSplitUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSplitUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewPublicSplitUserEntitlementConflict ¶
func NewPublicSplitUserEntitlementConflict() *PublicSplitUserEntitlementConflict
NewPublicSplitUserEntitlementConflict creates a PublicSplitUserEntitlementConflict with default headers values
func (*PublicSplitUserEntitlementConflict) Error ¶
func (o *PublicSplitUserEntitlementConflict) Error() string
func (*PublicSplitUserEntitlementConflict) GetPayload ¶
func (o *PublicSplitUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSplitUserEntitlementConflict) ToJSONString ¶
func (o *PublicSplitUserEntitlementConflict) ToJSONString() string
type PublicSplitUserEntitlementNotFound ¶
type PublicSplitUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicSplitUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicSplitUserEntitlementNotFound ¶
func NewPublicSplitUserEntitlementNotFound() *PublicSplitUserEntitlementNotFound
NewPublicSplitUserEntitlementNotFound creates a PublicSplitUserEntitlementNotFound with default headers values
func (*PublicSplitUserEntitlementNotFound) Error ¶
func (o *PublicSplitUserEntitlementNotFound) Error() string
func (*PublicSplitUserEntitlementNotFound) GetPayload ¶
func (o *PublicSplitUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicSplitUserEntitlementNotFound) ToJSONString ¶
func (o *PublicSplitUserEntitlementNotFound) ToJSONString() string
type PublicSplitUserEntitlementOK ¶
type PublicSplitUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementSplitResult
}
PublicSplitUserEntitlementOK handles this case with default header values.
successful operation
func NewPublicSplitUserEntitlementOK ¶
func NewPublicSplitUserEntitlementOK() *PublicSplitUserEntitlementOK
NewPublicSplitUserEntitlementOK creates a PublicSplitUserEntitlementOK with default headers values
func (*PublicSplitUserEntitlementOK) Error ¶
func (o *PublicSplitUserEntitlementOK) Error() string
func (*PublicSplitUserEntitlementOK) GetPayload ¶
func (o *PublicSplitUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementSplitResult
func (*PublicSplitUserEntitlementOK) ToJSONString ¶
func (o *PublicSplitUserEntitlementOK) ToJSONString() string
type PublicSplitUserEntitlementParams ¶
type PublicSplitUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.EntitlementSplitRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicSplitUserEntitlementParams contains all the parameters to send to the API endpoint for the public split user entitlement operation typically these are written to a http.Request
func NewPublicSplitUserEntitlementParams ¶
func NewPublicSplitUserEntitlementParams() *PublicSplitUserEntitlementParams
NewPublicSplitUserEntitlementParams creates a new PublicSplitUserEntitlementParams object with the default values initialized.
func NewPublicSplitUserEntitlementParamsWithContext ¶
func NewPublicSplitUserEntitlementParamsWithContext(ctx context.Context) *PublicSplitUserEntitlementParams
NewPublicSplitUserEntitlementParamsWithContext creates a new PublicSplitUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicSplitUserEntitlementParamsWithHTTPClient ¶
func NewPublicSplitUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicSplitUserEntitlementParams
NewPublicSplitUserEntitlementParamsWithHTTPClient creates a new PublicSplitUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicSplitUserEntitlementParamsWithTimeout ¶
func NewPublicSplitUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicSplitUserEntitlementParams
NewPublicSplitUserEntitlementParamsWithTimeout creates a new PublicSplitUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicSplitUserEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicSplitUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetBody ¶
func (o *PublicSplitUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementSplitRequest)
SetBody adds the body to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetContext ¶
func (o *PublicSplitUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetEntitlementID ¶
func (o *PublicSplitUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetFlightId ¶
func (o *PublicSplitUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicSplitUserEntitlementParams) SetHTTPClient ¶
func (o *PublicSplitUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicSplitUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetNamespace ¶
func (o *PublicSplitUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetTimeout ¶
func (o *PublicSplitUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) SetUserID ¶
func (o *PublicSplitUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithBody ¶
func (o *PublicSplitUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementSplitRequest) *PublicSplitUserEntitlementParams
WithBody adds the body to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithContext ¶
func (o *PublicSplitUserEntitlementParams) WithContext(ctx context.Context) *PublicSplitUserEntitlementParams
WithContext adds the context to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithEntitlementID ¶
func (o *PublicSplitUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSplitUserEntitlementParams
WithEntitlementID adds the entitlementID to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithHTTPClient ¶
func (o *PublicSplitUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicSplitUserEntitlementParams
WithHTTPClient adds the HTTPClient to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithNamespace ¶
func (o *PublicSplitUserEntitlementParams) WithNamespace(namespace string) *PublicSplitUserEntitlementParams
WithNamespace adds the namespace to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithTimeout ¶
func (o *PublicSplitUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicSplitUserEntitlementParams
WithTimeout adds the timeout to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WithUserID ¶
func (o *PublicSplitUserEntitlementParams) WithUserID(userID string) *PublicSplitUserEntitlementParams
WithUserID adds the userID to the public split user entitlement params
func (*PublicSplitUserEntitlementParams) WriteToRequest ¶
func (o *PublicSplitUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicSplitUserEntitlementReader ¶
type PublicSplitUserEntitlementReader struct {
// contains filtered or unexported fields
}
PublicSplitUserEntitlementReader is a Reader for the PublicSplitUserEntitlement structure.
func (*PublicSplitUserEntitlementReader) ReadResponse ¶
func (o *PublicSplitUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicSplitUserEntitlementResponse ¶
type PublicSplitUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementSplitResult Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*PublicSplitUserEntitlementResponse) Unpack ¶
func (m *PublicSplitUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementSplitResult, *platformclientmodels.ApiError)
type PublicTransferUserEntitlementConflict ¶
type PublicTransferUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublicTransferUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>31184</td><td>Source entitlement [{sourceEntitlementId}] and target entitlement [{targetEntitlementId}] should have same collectionId, timeRange, origin and itemId</td></tr><tr><td>31185</td><td>Transferred source entitlement [{sourceEntitlementId}] and target entitlement [{targetEntitlementId}] can not be set to same</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewPublicTransferUserEntitlementConflict ¶
func NewPublicTransferUserEntitlementConflict() *PublicTransferUserEntitlementConflict
NewPublicTransferUserEntitlementConflict creates a PublicTransferUserEntitlementConflict with default headers values
func (*PublicTransferUserEntitlementConflict) Error ¶
func (o *PublicTransferUserEntitlementConflict) Error() string
func (*PublicTransferUserEntitlementConflict) GetPayload ¶
func (o *PublicTransferUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicTransferUserEntitlementConflict) ToJSONString ¶
func (o *PublicTransferUserEntitlementConflict) ToJSONString() string
type PublicTransferUserEntitlementNotFound ¶
type PublicTransferUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicTransferUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPublicTransferUserEntitlementNotFound ¶
func NewPublicTransferUserEntitlementNotFound() *PublicTransferUserEntitlementNotFound
NewPublicTransferUserEntitlementNotFound creates a PublicTransferUserEntitlementNotFound with default headers values
func (*PublicTransferUserEntitlementNotFound) Error ¶
func (o *PublicTransferUserEntitlementNotFound) Error() string
func (*PublicTransferUserEntitlementNotFound) GetPayload ¶
func (o *PublicTransferUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicTransferUserEntitlementNotFound) ToJSONString ¶
func (o *PublicTransferUserEntitlementNotFound) ToJSONString() string
type PublicTransferUserEntitlementOK ¶
type PublicTransferUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementTransferResult
}
PublicTransferUserEntitlementOK handles this case with default header values.
successful operation
func NewPublicTransferUserEntitlementOK ¶
func NewPublicTransferUserEntitlementOK() *PublicTransferUserEntitlementOK
NewPublicTransferUserEntitlementOK creates a PublicTransferUserEntitlementOK with default headers values
func (*PublicTransferUserEntitlementOK) Error ¶
func (o *PublicTransferUserEntitlementOK) Error() string
func (*PublicTransferUserEntitlementOK) GetPayload ¶
func (o *PublicTransferUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementTransferResult
func (*PublicTransferUserEntitlementOK) ToJSONString ¶
func (o *PublicTransferUserEntitlementOK) ToJSONString() string
type PublicTransferUserEntitlementParams ¶
type PublicTransferUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.EntitlementTransferRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicTransferUserEntitlementParams contains all the parameters to send to the API endpoint for the public transfer user entitlement operation typically these are written to a http.Request
func NewPublicTransferUserEntitlementParams ¶
func NewPublicTransferUserEntitlementParams() *PublicTransferUserEntitlementParams
NewPublicTransferUserEntitlementParams creates a new PublicTransferUserEntitlementParams object with the default values initialized.
func NewPublicTransferUserEntitlementParamsWithContext ¶
func NewPublicTransferUserEntitlementParamsWithContext(ctx context.Context) *PublicTransferUserEntitlementParams
NewPublicTransferUserEntitlementParamsWithContext creates a new PublicTransferUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicTransferUserEntitlementParamsWithHTTPClient ¶
func NewPublicTransferUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicTransferUserEntitlementParams
NewPublicTransferUserEntitlementParamsWithHTTPClient creates a new PublicTransferUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicTransferUserEntitlementParamsWithTimeout ¶
func NewPublicTransferUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicTransferUserEntitlementParams
NewPublicTransferUserEntitlementParamsWithTimeout creates a new PublicTransferUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicTransferUserEntitlementParams) SetAuthInfoWriter ¶
func (o *PublicTransferUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetBody ¶
func (o *PublicTransferUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementTransferRequest)
SetBody adds the body to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetContext ¶
func (o *PublicTransferUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetEntitlementID ¶
func (o *PublicTransferUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetFlightId ¶
func (o *PublicTransferUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicTransferUserEntitlementParams) SetHTTPClient ¶
func (o *PublicTransferUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetHTTPClientTransport ¶
func (o *PublicTransferUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetNamespace ¶
func (o *PublicTransferUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetTimeout ¶
func (o *PublicTransferUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) SetUserID ¶
func (o *PublicTransferUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithBody ¶
func (o *PublicTransferUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementTransferRequest) *PublicTransferUserEntitlementParams
WithBody adds the body to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithContext ¶
func (o *PublicTransferUserEntitlementParams) WithContext(ctx context.Context) *PublicTransferUserEntitlementParams
WithContext adds the context to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithEntitlementID ¶
func (o *PublicTransferUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicTransferUserEntitlementParams
WithEntitlementID adds the entitlementID to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithHTTPClient ¶
func (o *PublicTransferUserEntitlementParams) WithHTTPClient(client *http.Client) *PublicTransferUserEntitlementParams
WithHTTPClient adds the HTTPClient to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithNamespace ¶
func (o *PublicTransferUserEntitlementParams) WithNamespace(namespace string) *PublicTransferUserEntitlementParams
WithNamespace adds the namespace to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithTimeout ¶
func (o *PublicTransferUserEntitlementParams) WithTimeout(timeout time.Duration) *PublicTransferUserEntitlementParams
WithTimeout adds the timeout to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WithUserID ¶
func (o *PublicTransferUserEntitlementParams) WithUserID(userID string) *PublicTransferUserEntitlementParams
WithUserID adds the userID to the public transfer user entitlement params
func (*PublicTransferUserEntitlementParams) WriteToRequest ¶
func (o *PublicTransferUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicTransferUserEntitlementReader ¶
type PublicTransferUserEntitlementReader struct {
// contains filtered or unexported fields
}
PublicTransferUserEntitlementReader is a Reader for the PublicTransferUserEntitlement structure.
func (*PublicTransferUserEntitlementReader) ReadResponse ¶
func (o *PublicTransferUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicTransferUserEntitlementResponse ¶
type PublicTransferUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementTransferResult Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*PublicTransferUserEntitlementResponse) Unpack ¶
func (m *PublicTransferUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementTransferResult, *platformclientmodels.ApiError)
type PublicUserEntitlementHistoryOK ¶
type PublicUserEntitlementHistoryOK struct {
Payload []*platformclientmodels.UserEntitlementHistoryPagingSlicedResult
}
PublicUserEntitlementHistoryOK handles this case with default header values.
successful operation
func NewPublicUserEntitlementHistoryOK ¶
func NewPublicUserEntitlementHistoryOK() *PublicUserEntitlementHistoryOK
NewPublicUserEntitlementHistoryOK creates a PublicUserEntitlementHistoryOK with default headers values
func (*PublicUserEntitlementHistoryOK) Error ¶
func (o *PublicUserEntitlementHistoryOK) Error() string
func (*PublicUserEntitlementHistoryOK) GetPayload ¶
func (o *PublicUserEntitlementHistoryOK) GetPayload() []*platformclientmodels.UserEntitlementHistoryPagingSlicedResult
func (*PublicUserEntitlementHistoryOK) ToJSONString ¶
func (o *PublicUserEntitlementHistoryOK) ToJSONString() string
type PublicUserEntitlementHistoryParams ¶
type PublicUserEntitlementHistoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EndDate allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z */ EndDate *string /*EntitlementClazz*/ EntitlementClazz *string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*StartDate allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z */ StartDate *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicUserEntitlementHistoryParams contains all the parameters to send to the API endpoint for the public user entitlement history operation typically these are written to a http.Request
func NewPublicUserEntitlementHistoryParams ¶
func NewPublicUserEntitlementHistoryParams() *PublicUserEntitlementHistoryParams
NewPublicUserEntitlementHistoryParams creates a new PublicUserEntitlementHistoryParams object with the default values initialized.
func NewPublicUserEntitlementHistoryParamsWithContext ¶
func NewPublicUserEntitlementHistoryParamsWithContext(ctx context.Context) *PublicUserEntitlementHistoryParams
NewPublicUserEntitlementHistoryParamsWithContext creates a new PublicUserEntitlementHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewPublicUserEntitlementHistoryParamsWithHTTPClient ¶
func NewPublicUserEntitlementHistoryParamsWithHTTPClient(client *http.Client) *PublicUserEntitlementHistoryParams
NewPublicUserEntitlementHistoryParamsWithHTTPClient creates a new PublicUserEntitlementHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUserEntitlementHistoryParamsWithTimeout ¶
func NewPublicUserEntitlementHistoryParamsWithTimeout(timeout time.Duration) *PublicUserEntitlementHistoryParams
NewPublicUserEntitlementHistoryParamsWithTimeout creates a new PublicUserEntitlementHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUserEntitlementHistoryParams) SetAuthInfoWriter ¶
func (o *PublicUserEntitlementHistoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetContext ¶
func (o *PublicUserEntitlementHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetEndDate ¶
func (o *PublicUserEntitlementHistoryParams) SetEndDate(endDate *string)
SetEndDate adds the endDate to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetEntitlementClazz ¶
func (o *PublicUserEntitlementHistoryParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetFlightId ¶
func (o *PublicUserEntitlementHistoryParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicUserEntitlementHistoryParams) SetHTTPClient ¶
func (o *PublicUserEntitlementHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetHTTPClientTransport ¶
func (o *PublicUserEntitlementHistoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetLimit ¶
func (o *PublicUserEntitlementHistoryParams) SetLimit(limit *int32)
SetLimit adds the limit to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetNamespace ¶
func (o *PublicUserEntitlementHistoryParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetOffset ¶
func (o *PublicUserEntitlementHistoryParams) SetOffset(offset *int32)
SetOffset adds the offset to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetStartDate ¶
func (o *PublicUserEntitlementHistoryParams) SetStartDate(startDate *string)
SetStartDate adds the startDate to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetTimeout ¶
func (o *PublicUserEntitlementHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) SetUserID ¶
func (o *PublicUserEntitlementHistoryParams) SetUserID(userID string)
SetUserID adds the userId to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithContext ¶
func (o *PublicUserEntitlementHistoryParams) WithContext(ctx context.Context) *PublicUserEntitlementHistoryParams
WithContext adds the context to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithEndDate ¶
func (o *PublicUserEntitlementHistoryParams) WithEndDate(endDate *string) *PublicUserEntitlementHistoryParams
WithEndDate adds the endDate to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithEntitlementClazz ¶
func (o *PublicUserEntitlementHistoryParams) WithEntitlementClazz(entitlementClazz *string) *PublicUserEntitlementHistoryParams
WithEntitlementClazz adds the entitlementClazz to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithHTTPClient ¶
func (o *PublicUserEntitlementHistoryParams) WithHTTPClient(client *http.Client) *PublicUserEntitlementHistoryParams
WithHTTPClient adds the HTTPClient to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithLimit ¶
func (o *PublicUserEntitlementHistoryParams) WithLimit(limit *int32) *PublicUserEntitlementHistoryParams
WithLimit adds the limit to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithNamespace ¶
func (o *PublicUserEntitlementHistoryParams) WithNamespace(namespace string) *PublicUserEntitlementHistoryParams
WithNamespace adds the namespace to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithOffset ¶
func (o *PublicUserEntitlementHistoryParams) WithOffset(offset *int32) *PublicUserEntitlementHistoryParams
WithOffset adds the offset to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithStartDate ¶
func (o *PublicUserEntitlementHistoryParams) WithStartDate(startDate *string) *PublicUserEntitlementHistoryParams
WithStartDate adds the startDate to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithTimeout ¶
func (o *PublicUserEntitlementHistoryParams) WithTimeout(timeout time.Duration) *PublicUserEntitlementHistoryParams
WithTimeout adds the timeout to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WithUserID ¶
func (o *PublicUserEntitlementHistoryParams) WithUserID(userID string) *PublicUserEntitlementHistoryParams
WithUserID adds the userID to the public user entitlement history params
func (*PublicUserEntitlementHistoryParams) WriteToRequest ¶
func (o *PublicUserEntitlementHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUserEntitlementHistoryReader ¶
type PublicUserEntitlementHistoryReader struct {
// contains filtered or unexported fields
}
PublicUserEntitlementHistoryReader is a Reader for the PublicUserEntitlementHistory structure.
func (*PublicUserEntitlementHistoryReader) ReadResponse ¶
func (o *PublicUserEntitlementHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUserEntitlementHistoryResponse ¶
type PublicUserEntitlementHistoryResponse struct { platformclientmodels.ApiResponse Data []*platformclientmodels.UserEntitlementHistoryPagingSlicedResult }
type QueryEntitlements1OK ¶
type QueryEntitlements1OK struct {
Payload *platformclientmodels.EntitlementPagingSlicedResult
}
QueryEntitlements1OK handles this case with default header values.
successful operation
func NewQueryEntitlements1OK ¶
func NewQueryEntitlements1OK() *QueryEntitlements1OK
NewQueryEntitlements1OK creates a QueryEntitlements1OK with default headers values
func (*QueryEntitlements1OK) Error ¶
func (o *QueryEntitlements1OK) Error() string
func (*QueryEntitlements1OK) GetPayload ¶
func (o *QueryEntitlements1OK) GetPayload() *platformclientmodels.EntitlementPagingSlicedResult
func (*QueryEntitlements1OK) ToJSONString ¶
func (o *QueryEntitlements1OK) ToJSONString() string
type QueryEntitlements1Params ¶
type QueryEntitlements1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*ActiveOnly*/ ActiveOnly *bool /*AppType*/ AppType *string /*EntitlementClazz*/ EntitlementClazz *string /*EntitlementName*/ EntitlementName *string /*ItemID*/ ItemID []string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Origin*/ Origin *string /*UserID*/ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
QueryEntitlements1Params contains all the parameters to send to the API endpoint for the query entitlements 1 operation typically these are written to a http.Request
func NewQueryEntitlements1Params ¶
func NewQueryEntitlements1Params() *QueryEntitlements1Params
NewQueryEntitlements1Params creates a new QueryEntitlements1Params object with the default values initialized.
func NewQueryEntitlements1ParamsWithContext ¶
func NewQueryEntitlements1ParamsWithContext(ctx context.Context) *QueryEntitlements1Params
NewQueryEntitlements1ParamsWithContext creates a new QueryEntitlements1Params object with the default values initialized, and the ability to set a context for a request
func NewQueryEntitlements1ParamsWithHTTPClient ¶
func NewQueryEntitlements1ParamsWithHTTPClient(client *http.Client) *QueryEntitlements1Params
NewQueryEntitlements1ParamsWithHTTPClient creates a new QueryEntitlements1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryEntitlements1ParamsWithTimeout ¶
func NewQueryEntitlements1ParamsWithTimeout(timeout time.Duration) *QueryEntitlements1Params
NewQueryEntitlements1ParamsWithTimeout creates a new QueryEntitlements1Params object with the default values initialized, and the ability to set a timeout on a request
func (*QueryEntitlements1Params) SetActiveOnly ¶
func (o *QueryEntitlements1Params) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the query entitlements 1 params
func (*QueryEntitlements1Params) SetAppType ¶
func (o *QueryEntitlements1Params) SetAppType(appType *string)
SetAppType adds the appType to the query entitlements 1 params
func (*QueryEntitlements1Params) SetAuthInfoWriter ¶
func (o *QueryEntitlements1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query entitlements 1 params
func (*QueryEntitlements1Params) SetContext ¶
func (o *QueryEntitlements1Params) SetContext(ctx context.Context)
SetContext adds the context to the query entitlements 1 params
func (*QueryEntitlements1Params) SetEntitlementClazz ¶
func (o *QueryEntitlements1Params) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the query entitlements 1 params
func (*QueryEntitlements1Params) SetEntitlementName ¶
func (o *QueryEntitlements1Params) SetEntitlementName(entitlementName *string)
SetEntitlementName adds the entitlementName to the query entitlements 1 params
func (*QueryEntitlements1Params) SetFlightId ¶
func (o *QueryEntitlements1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryEntitlements1Params) SetHTTPClient ¶
func (o *QueryEntitlements1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query entitlements 1 params
func (*QueryEntitlements1Params) SetHTTPClientTransport ¶
func (o *QueryEntitlements1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query entitlements 1 params
func (*QueryEntitlements1Params) SetItemID ¶
func (o *QueryEntitlements1Params) SetItemID(itemID []string)
SetItemID adds the itemId to the query entitlements 1 params
func (*QueryEntitlements1Params) SetLimit ¶
func (o *QueryEntitlements1Params) SetLimit(limit *int32)
SetLimit adds the limit to the query entitlements 1 params
func (*QueryEntitlements1Params) SetNamespace ¶
func (o *QueryEntitlements1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the query entitlements 1 params
func (*QueryEntitlements1Params) SetOffset ¶
func (o *QueryEntitlements1Params) SetOffset(offset *int32)
SetOffset adds the offset to the query entitlements 1 params
func (*QueryEntitlements1Params) SetOrigin ¶
func (o *QueryEntitlements1Params) SetOrigin(origin *string)
SetOrigin adds the origin to the query entitlements 1 params
func (*QueryEntitlements1Params) SetTimeout ¶
func (o *QueryEntitlements1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query entitlements 1 params
func (*QueryEntitlements1Params) SetUserID ¶
func (o *QueryEntitlements1Params) SetUserID(userID *string)
SetUserID adds the userId to the query entitlements 1 params
func (*QueryEntitlements1Params) WithActiveOnly ¶
func (o *QueryEntitlements1Params) WithActiveOnly(activeOnly *bool) *QueryEntitlements1Params
WithActiveOnly adds the activeOnly to the query entitlements 1 params
func (*QueryEntitlements1Params) WithAppType ¶
func (o *QueryEntitlements1Params) WithAppType(appType *string) *QueryEntitlements1Params
WithAppType adds the appType to the query entitlements 1 params
func (*QueryEntitlements1Params) WithContext ¶
func (o *QueryEntitlements1Params) WithContext(ctx context.Context) *QueryEntitlements1Params
WithContext adds the context to the query entitlements 1 params
func (*QueryEntitlements1Params) WithEntitlementClazz ¶
func (o *QueryEntitlements1Params) WithEntitlementClazz(entitlementClazz *string) *QueryEntitlements1Params
WithEntitlementClazz adds the entitlementClazz to the query entitlements 1 params
func (*QueryEntitlements1Params) WithEntitlementName ¶
func (o *QueryEntitlements1Params) WithEntitlementName(entitlementName *string) *QueryEntitlements1Params
WithEntitlementName adds the entitlementName to the query entitlements 1 params
func (*QueryEntitlements1Params) WithHTTPClient ¶
func (o *QueryEntitlements1Params) WithHTTPClient(client *http.Client) *QueryEntitlements1Params
WithHTTPClient adds the HTTPClient to the query entitlements 1 params
func (*QueryEntitlements1Params) WithItemID ¶
func (o *QueryEntitlements1Params) WithItemID(itemID []string) *QueryEntitlements1Params
WithItemID adds the itemID to the query entitlements 1 params
func (*QueryEntitlements1Params) WithLimit ¶
func (o *QueryEntitlements1Params) WithLimit(limit *int32) *QueryEntitlements1Params
WithLimit adds the limit to the query entitlements 1 params
func (*QueryEntitlements1Params) WithNamespace ¶
func (o *QueryEntitlements1Params) WithNamespace(namespace string) *QueryEntitlements1Params
WithNamespace adds the namespace to the query entitlements 1 params
func (*QueryEntitlements1Params) WithOffset ¶
func (o *QueryEntitlements1Params) WithOffset(offset *int32) *QueryEntitlements1Params
WithOffset adds the offset to the query entitlements 1 params
func (*QueryEntitlements1Params) WithOrigin ¶
func (o *QueryEntitlements1Params) WithOrigin(origin *string) *QueryEntitlements1Params
WithOrigin adds the origin to the query entitlements 1 params
func (*QueryEntitlements1Params) WithTimeout ¶
func (o *QueryEntitlements1Params) WithTimeout(timeout time.Duration) *QueryEntitlements1Params
WithTimeout adds the timeout to the query entitlements 1 params
func (*QueryEntitlements1Params) WithUserID ¶
func (o *QueryEntitlements1Params) WithUserID(userID *string) *QueryEntitlements1Params
WithUserID adds the userID to the query entitlements 1 params
func (*QueryEntitlements1Params) WriteToRequest ¶
func (o *QueryEntitlements1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryEntitlements1Reader ¶
type QueryEntitlements1Reader struct {
// contains filtered or unexported fields
}
QueryEntitlements1Reader is a Reader for the QueryEntitlements1 structure.
func (*QueryEntitlements1Reader) ReadResponse ¶
func (o *QueryEntitlements1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryEntitlements1Response ¶
type QueryEntitlements1Response struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPagingSlicedResult }
func (*QueryEntitlements1Response) Unpack ¶
func (m *QueryEntitlements1Response) Unpack() (*platformclientmodels.EntitlementPagingSlicedResult, *platformclientmodels.ApiError)
type QueryEntitlementsOK ¶
type QueryEntitlementsOK struct {
Payload *platformclientmodels.EntitlementPagingSlicedResult
}
QueryEntitlementsOK handles this case with default header values.
successful operation
func NewQueryEntitlementsOK ¶
func NewQueryEntitlementsOK() *QueryEntitlementsOK
NewQueryEntitlementsOK creates a QueryEntitlementsOK with default headers values
func (*QueryEntitlementsOK) Error ¶
func (o *QueryEntitlementsOK) Error() string
func (*QueryEntitlementsOK) GetPayload ¶
func (o *QueryEntitlementsOK) GetPayload() *platformclientmodels.EntitlementPagingSlicedResult
func (*QueryEntitlementsOK) ToJSONString ¶
func (o *QueryEntitlementsOK) ToJSONString() string
type QueryEntitlementsParams ¶
type QueryEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*ActiveOnly*/ ActiveOnly *bool /*ItemIds*/ ItemIds []string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
QueryEntitlementsParams contains all the parameters to send to the API endpoint for the query entitlements operation typically these are written to a http.Request
func NewQueryEntitlementsParams ¶
func NewQueryEntitlementsParams() *QueryEntitlementsParams
NewQueryEntitlementsParams creates a new QueryEntitlementsParams object with the default values initialized.
func NewQueryEntitlementsParamsWithContext ¶
func NewQueryEntitlementsParamsWithContext(ctx context.Context) *QueryEntitlementsParams
NewQueryEntitlementsParamsWithContext creates a new QueryEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryEntitlementsParamsWithHTTPClient ¶
func NewQueryEntitlementsParamsWithHTTPClient(client *http.Client) *QueryEntitlementsParams
NewQueryEntitlementsParamsWithHTTPClient creates a new QueryEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryEntitlementsParamsWithTimeout ¶
func NewQueryEntitlementsParamsWithTimeout(timeout time.Duration) *QueryEntitlementsParams
NewQueryEntitlementsParamsWithTimeout creates a new QueryEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryEntitlementsParams) SetActiveOnly ¶
func (o *QueryEntitlementsParams) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the query entitlements params
func (*QueryEntitlementsParams) SetAuthInfoWriter ¶
func (o *QueryEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query entitlements params
func (*QueryEntitlementsParams) SetContext ¶
func (o *QueryEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the query entitlements params
func (*QueryEntitlementsParams) SetFlightId ¶
func (o *QueryEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryEntitlementsParams) SetHTTPClient ¶
func (o *QueryEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query entitlements params
func (*QueryEntitlementsParams) SetHTTPClientTransport ¶
func (o *QueryEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query entitlements params
func (*QueryEntitlementsParams) SetItemIds ¶
func (o *QueryEntitlementsParams) SetItemIds(itemIds []string)
SetItemIds adds the itemIds to the query entitlements params
func (*QueryEntitlementsParams) SetLimit ¶
func (o *QueryEntitlementsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query entitlements params
func (*QueryEntitlementsParams) SetNamespace ¶
func (o *QueryEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query entitlements params
func (*QueryEntitlementsParams) SetOffset ¶
func (o *QueryEntitlementsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query entitlements params
func (*QueryEntitlementsParams) SetTimeout ¶
func (o *QueryEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query entitlements params
func (*QueryEntitlementsParams) WithActiveOnly ¶
func (o *QueryEntitlementsParams) WithActiveOnly(activeOnly *bool) *QueryEntitlementsParams
WithActiveOnly adds the activeOnly to the query entitlements params
func (*QueryEntitlementsParams) WithContext ¶
func (o *QueryEntitlementsParams) WithContext(ctx context.Context) *QueryEntitlementsParams
WithContext adds the context to the query entitlements params
func (*QueryEntitlementsParams) WithHTTPClient ¶
func (o *QueryEntitlementsParams) WithHTTPClient(client *http.Client) *QueryEntitlementsParams
WithHTTPClient adds the HTTPClient to the query entitlements params
func (*QueryEntitlementsParams) WithItemIds ¶
func (o *QueryEntitlementsParams) WithItemIds(itemIds []string) *QueryEntitlementsParams
WithItemIds adds the itemIds to the query entitlements params
func (*QueryEntitlementsParams) WithLimit ¶
func (o *QueryEntitlementsParams) WithLimit(limit *int32) *QueryEntitlementsParams
WithLimit adds the limit to the query entitlements params
func (*QueryEntitlementsParams) WithNamespace ¶
func (o *QueryEntitlementsParams) WithNamespace(namespace string) *QueryEntitlementsParams
WithNamespace adds the namespace to the query entitlements params
func (*QueryEntitlementsParams) WithOffset ¶
func (o *QueryEntitlementsParams) WithOffset(offset *int32) *QueryEntitlementsParams
WithOffset adds the offset to the query entitlements params
func (*QueryEntitlementsParams) WithTimeout ¶
func (o *QueryEntitlementsParams) WithTimeout(timeout time.Duration) *QueryEntitlementsParams
WithTimeout adds the timeout to the query entitlements params
func (*QueryEntitlementsParams) WriteToRequest ¶
func (o *QueryEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryEntitlementsReader ¶
type QueryEntitlementsReader struct {
// contains filtered or unexported fields
}
QueryEntitlementsReader is a Reader for the QueryEntitlements structure.
func (*QueryEntitlementsReader) ReadResponse ¶
func (o *QueryEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryEntitlementsResponse ¶
type QueryEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPagingSlicedResult }
func (*QueryEntitlementsResponse) Unpack ¶
func (m *QueryEntitlementsResponse) Unpack() (*platformclientmodels.EntitlementPagingSlicedResult, *platformclientmodels.ApiError)
type QueryUserEntitlementsByAppTypeOK ¶
type QueryUserEntitlementsByAppTypeOK struct {
Payload *platformclientmodels.AppEntitlementPagingSlicedResult
}
QueryUserEntitlementsByAppTypeOK handles this case with default header values.
successful operation
func NewQueryUserEntitlementsByAppTypeOK ¶
func NewQueryUserEntitlementsByAppTypeOK() *QueryUserEntitlementsByAppTypeOK
NewQueryUserEntitlementsByAppTypeOK creates a QueryUserEntitlementsByAppTypeOK with default headers values
func (*QueryUserEntitlementsByAppTypeOK) Error ¶
func (o *QueryUserEntitlementsByAppTypeOK) Error() string
func (*QueryUserEntitlementsByAppTypeOK) GetPayload ¶
func (o *QueryUserEntitlementsByAppTypeOK) GetPayload() *platformclientmodels.AppEntitlementPagingSlicedResult
func (*QueryUserEntitlementsByAppTypeOK) ToJSONString ¶
func (o *QueryUserEntitlementsByAppTypeOK) ToJSONString() string
type QueryUserEntitlementsByAppTypeParams ¶
type QueryUserEntitlementsByAppTypeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ActiveOnly*/ ActiveOnly *bool /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*AppType*/ AppType string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
QueryUserEntitlementsByAppTypeParams contains all the parameters to send to the API endpoint for the query user entitlements by app type operation typically these are written to a http.Request
func NewQueryUserEntitlementsByAppTypeParams ¶
func NewQueryUserEntitlementsByAppTypeParams() *QueryUserEntitlementsByAppTypeParams
NewQueryUserEntitlementsByAppTypeParams creates a new QueryUserEntitlementsByAppTypeParams object with the default values initialized.
func NewQueryUserEntitlementsByAppTypeParamsWithContext ¶
func NewQueryUserEntitlementsByAppTypeParamsWithContext(ctx context.Context) *QueryUserEntitlementsByAppTypeParams
NewQueryUserEntitlementsByAppTypeParamsWithContext creates a new QueryUserEntitlementsByAppTypeParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserEntitlementsByAppTypeParamsWithHTTPClient ¶
func NewQueryUserEntitlementsByAppTypeParamsWithHTTPClient(client *http.Client) *QueryUserEntitlementsByAppTypeParams
NewQueryUserEntitlementsByAppTypeParamsWithHTTPClient creates a new QueryUserEntitlementsByAppTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserEntitlementsByAppTypeParamsWithTimeout ¶
func NewQueryUserEntitlementsByAppTypeParamsWithTimeout(timeout time.Duration) *QueryUserEntitlementsByAppTypeParams
NewQueryUserEntitlementsByAppTypeParamsWithTimeout creates a new QueryUserEntitlementsByAppTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserEntitlementsByAppTypeParams) SetActiveOnly ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetAppType ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetAppType(appType string)
SetAppType adds the appType to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetContext ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetFlightId ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryUserEntitlementsByAppTypeParams) SetHTTPClient ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetLimit ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetLimit(limit *int32)
SetLimit adds the limit to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetNamespace ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetOffset ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetOffset(offset *int32)
SetOffset adds the offset to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetTimeout ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) SetUserID ¶
func (o *QueryUserEntitlementsByAppTypeParams) SetUserID(userID string)
SetUserID adds the userId to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithActiveOnly ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithActiveOnly(activeOnly *bool) *QueryUserEntitlementsByAppTypeParams
WithActiveOnly adds the activeOnly to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithAppType ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithAppType(appType string) *QueryUserEntitlementsByAppTypeParams
WithAppType adds the appType to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithContext ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithContext(ctx context.Context) *QueryUserEntitlementsByAppTypeParams
WithContext adds the context to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithHTTPClient ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithHTTPClient(client *http.Client) *QueryUserEntitlementsByAppTypeParams
WithHTTPClient adds the HTTPClient to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithLimit ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithLimit(limit *int32) *QueryUserEntitlementsByAppTypeParams
WithLimit adds the limit to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithNamespace ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithNamespace(namespace string) *QueryUserEntitlementsByAppTypeParams
WithNamespace adds the namespace to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithOffset ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithOffset(offset *int32) *QueryUserEntitlementsByAppTypeParams
WithOffset adds the offset to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithTimeout ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithTimeout(timeout time.Duration) *QueryUserEntitlementsByAppTypeParams
WithTimeout adds the timeout to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WithUserID ¶
func (o *QueryUserEntitlementsByAppTypeParams) WithUserID(userID string) *QueryUserEntitlementsByAppTypeParams
WithUserID adds the userID to the query user entitlements by app type params
func (*QueryUserEntitlementsByAppTypeParams) WriteToRequest ¶
func (o *QueryUserEntitlementsByAppTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserEntitlementsByAppTypeReader ¶
type QueryUserEntitlementsByAppTypeReader struct {
// contains filtered or unexported fields
}
QueryUserEntitlementsByAppTypeReader is a Reader for the QueryUserEntitlementsByAppType structure.
func (*QueryUserEntitlementsByAppTypeReader) ReadResponse ¶
func (o *QueryUserEntitlementsByAppTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryUserEntitlementsByAppTypeResponse ¶
type QueryUserEntitlementsByAppTypeResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.AppEntitlementPagingSlicedResult }
type QueryUserEntitlementsOK ¶
type QueryUserEntitlementsOK struct {
Payload *platformclientmodels.EntitlementPagingSlicedResult
}
QueryUserEntitlementsOK handles this case with default header values.
successful operation
func NewQueryUserEntitlementsOK ¶
func NewQueryUserEntitlementsOK() *QueryUserEntitlementsOK
NewQueryUserEntitlementsOK creates a QueryUserEntitlementsOK with default headers values
func (*QueryUserEntitlementsOK) Error ¶
func (o *QueryUserEntitlementsOK) Error() string
func (*QueryUserEntitlementsOK) GetPayload ¶
func (o *QueryUserEntitlementsOK) GetPayload() *platformclientmodels.EntitlementPagingSlicedResult
func (*QueryUserEntitlementsOK) ToJSONString ¶
func (o *QueryUserEntitlementsOK) ToJSONString() string
type QueryUserEntitlementsParams ¶
type QueryUserEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*ActiveOnly*/ ActiveOnly *bool /*AppType*/ AppType *string /*CollectionID*/ CollectionID *string /*EntitlementClazz*/ EntitlementClazz *string /*EntitlementName*/ EntitlementName *string /*Features*/ Features []string /*FuzzyMatchName*/ FuzzyMatchName *bool /*IgnoreActiveDate This param will work only with activeOnly=true. When fetching entitlement with active status, this param will ignore the startDate and endDate of an entitlement. */ IgnoreActiveDate *bool /*ItemID*/ ItemID []string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 /*Origin*/ Origin *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
QueryUserEntitlementsParams contains all the parameters to send to the API endpoint for the query user entitlements operation typically these are written to a http.Request
func NewQueryUserEntitlementsParams ¶
func NewQueryUserEntitlementsParams() *QueryUserEntitlementsParams
NewQueryUserEntitlementsParams creates a new QueryUserEntitlementsParams object with the default values initialized.
func NewQueryUserEntitlementsParamsWithContext ¶
func NewQueryUserEntitlementsParamsWithContext(ctx context.Context) *QueryUserEntitlementsParams
NewQueryUserEntitlementsParamsWithContext creates a new QueryUserEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserEntitlementsParamsWithHTTPClient ¶
func NewQueryUserEntitlementsParamsWithHTTPClient(client *http.Client) *QueryUserEntitlementsParams
NewQueryUserEntitlementsParamsWithHTTPClient creates a new QueryUserEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserEntitlementsParamsWithTimeout ¶
func NewQueryUserEntitlementsParamsWithTimeout(timeout time.Duration) *QueryUserEntitlementsParams
NewQueryUserEntitlementsParamsWithTimeout creates a new QueryUserEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserEntitlementsParams) SetActiveOnly ¶
func (o *QueryUserEntitlementsParams) SetActiveOnly(activeOnly *bool)
SetActiveOnly adds the activeOnly to the query user entitlements params
func (*QueryUserEntitlementsParams) SetAppType ¶
func (o *QueryUserEntitlementsParams) SetAppType(appType *string)
SetAppType adds the appType to the query user entitlements params
func (*QueryUserEntitlementsParams) SetAuthInfoWriter ¶
func (o *QueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user entitlements params
func (*QueryUserEntitlementsParams) SetCollectionID ¶
func (o *QueryUserEntitlementsParams) SetCollectionID(collectionID *string)
SetCollectionID adds the collectionId to the query user entitlements params
func (*QueryUserEntitlementsParams) SetContext ¶
func (o *QueryUserEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the query user entitlements params
func (*QueryUserEntitlementsParams) SetEntitlementClazz ¶
func (o *QueryUserEntitlementsParams) SetEntitlementClazz(entitlementClazz *string)
SetEntitlementClazz adds the entitlementClazz to the query user entitlements params
func (*QueryUserEntitlementsParams) SetEntitlementName ¶
func (o *QueryUserEntitlementsParams) SetEntitlementName(entitlementName *string)
SetEntitlementName adds the entitlementName to the query user entitlements params
func (*QueryUserEntitlementsParams) SetFeatures ¶
func (o *QueryUserEntitlementsParams) SetFeatures(features []string)
SetFeatures adds the features to the query user entitlements params
func (*QueryUserEntitlementsParams) SetFlightId ¶
func (o *QueryUserEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryUserEntitlementsParams) SetFuzzyMatchName ¶
func (o *QueryUserEntitlementsParams) SetFuzzyMatchName(fuzzyMatchName *bool)
SetFuzzyMatchName adds the fuzzyMatchName to the query user entitlements params
func (*QueryUserEntitlementsParams) SetHTTPClient ¶
func (o *QueryUserEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user entitlements params
func (*QueryUserEntitlementsParams) SetHTTPClientTransport ¶
func (o *QueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user entitlements params
func (*QueryUserEntitlementsParams) SetIgnoreActiveDate ¶
func (o *QueryUserEntitlementsParams) SetIgnoreActiveDate(ignoreActiveDate *bool)
SetIgnoreActiveDate adds the ignoreActiveDate to the query user entitlements params
func (*QueryUserEntitlementsParams) SetItemID ¶
func (o *QueryUserEntitlementsParams) SetItemID(itemID []string)
SetItemID adds the itemId to the query user entitlements params
func (*QueryUserEntitlementsParams) SetLimit ¶
func (o *QueryUserEntitlementsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query user entitlements params
func (*QueryUserEntitlementsParams) SetNamespace ¶
func (o *QueryUserEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user entitlements params
func (*QueryUserEntitlementsParams) SetOffset ¶
func (o *QueryUserEntitlementsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query user entitlements params
func (*QueryUserEntitlementsParams) SetOrigin ¶
func (o *QueryUserEntitlementsParams) SetOrigin(origin *string)
SetOrigin adds the origin to the query user entitlements params
func (*QueryUserEntitlementsParams) SetTimeout ¶
func (o *QueryUserEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user entitlements params
func (*QueryUserEntitlementsParams) SetUserID ¶
func (o *QueryUserEntitlementsParams) SetUserID(userID string)
SetUserID adds the userId to the query user entitlements params
func (*QueryUserEntitlementsParams) WithActiveOnly ¶
func (o *QueryUserEntitlementsParams) WithActiveOnly(activeOnly *bool) *QueryUserEntitlementsParams
WithActiveOnly adds the activeOnly to the query user entitlements params
func (*QueryUserEntitlementsParams) WithAppType ¶
func (o *QueryUserEntitlementsParams) WithAppType(appType *string) *QueryUserEntitlementsParams
WithAppType adds the appType to the query user entitlements params
func (*QueryUserEntitlementsParams) WithCollectionID ¶
func (o *QueryUserEntitlementsParams) WithCollectionID(collectionID *string) *QueryUserEntitlementsParams
WithCollectionID adds the collectionID to the query user entitlements params
func (*QueryUserEntitlementsParams) WithContext ¶
func (o *QueryUserEntitlementsParams) WithContext(ctx context.Context) *QueryUserEntitlementsParams
WithContext adds the context to the query user entitlements params
func (*QueryUserEntitlementsParams) WithEntitlementClazz ¶
func (o *QueryUserEntitlementsParams) WithEntitlementClazz(entitlementClazz *string) *QueryUserEntitlementsParams
WithEntitlementClazz adds the entitlementClazz to the query user entitlements params
func (*QueryUserEntitlementsParams) WithEntitlementName ¶
func (o *QueryUserEntitlementsParams) WithEntitlementName(entitlementName *string) *QueryUserEntitlementsParams
WithEntitlementName adds the entitlementName to the query user entitlements params
func (*QueryUserEntitlementsParams) WithFeatures ¶
func (o *QueryUserEntitlementsParams) WithFeatures(features []string) *QueryUserEntitlementsParams
WithFeatures adds the features to the query user entitlements params
func (*QueryUserEntitlementsParams) WithFuzzyMatchName ¶
func (o *QueryUserEntitlementsParams) WithFuzzyMatchName(fuzzyMatchName *bool) *QueryUserEntitlementsParams
WithFuzzyMatchName adds the fuzzyMatchName to the query user entitlements params
func (*QueryUserEntitlementsParams) WithHTTPClient ¶
func (o *QueryUserEntitlementsParams) WithHTTPClient(client *http.Client) *QueryUserEntitlementsParams
WithHTTPClient adds the HTTPClient to the query user entitlements params
func (*QueryUserEntitlementsParams) WithIgnoreActiveDate ¶
func (o *QueryUserEntitlementsParams) WithIgnoreActiveDate(ignoreActiveDate *bool) *QueryUserEntitlementsParams
WithIgnoreActiveDate adds the ignoreActiveDate to the query user entitlements params
func (*QueryUserEntitlementsParams) WithItemID ¶
func (o *QueryUserEntitlementsParams) WithItemID(itemID []string) *QueryUserEntitlementsParams
WithItemID adds the itemID to the query user entitlements params
func (*QueryUserEntitlementsParams) WithLimit ¶
func (o *QueryUserEntitlementsParams) WithLimit(limit *int32) *QueryUserEntitlementsParams
WithLimit adds the limit to the query user entitlements params
func (*QueryUserEntitlementsParams) WithNamespace ¶
func (o *QueryUserEntitlementsParams) WithNamespace(namespace string) *QueryUserEntitlementsParams
WithNamespace adds the namespace to the query user entitlements params
func (*QueryUserEntitlementsParams) WithOffset ¶
func (o *QueryUserEntitlementsParams) WithOffset(offset *int32) *QueryUserEntitlementsParams
WithOffset adds the offset to the query user entitlements params
func (*QueryUserEntitlementsParams) WithOrigin ¶
func (o *QueryUserEntitlementsParams) WithOrigin(origin *string) *QueryUserEntitlementsParams
WithOrigin adds the origin to the query user entitlements params
func (*QueryUserEntitlementsParams) WithTimeout ¶
func (o *QueryUserEntitlementsParams) WithTimeout(timeout time.Duration) *QueryUserEntitlementsParams
WithTimeout adds the timeout to the query user entitlements params
func (*QueryUserEntitlementsParams) WithUserID ¶
func (o *QueryUserEntitlementsParams) WithUserID(userID string) *QueryUserEntitlementsParams
WithUserID adds the userID to the query user entitlements params
func (*QueryUserEntitlementsParams) WriteToRequest ¶
func (o *QueryUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserEntitlementsReader ¶
type QueryUserEntitlementsReader struct {
// contains filtered or unexported fields
}
QueryUserEntitlementsReader is a Reader for the QueryUserEntitlements structure.
func (*QueryUserEntitlementsReader) ReadResponse ¶
func (o *QueryUserEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryUserEntitlementsResponse ¶
type QueryUserEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPagingSlicedResult }
func (*QueryUserEntitlementsResponse) Unpack ¶
func (m *QueryUserEntitlementsResponse) Unpack() (*platformclientmodels.EntitlementPagingSlicedResult, *platformclientmodels.ApiError)
type RevokeAllEntitlementsOK ¶
type RevokeAllEntitlementsOK struct {
Payload *platformclientmodels.BulkOperationResult
}
RevokeAllEntitlementsOK handles this case with default header values.
successful operation
func NewRevokeAllEntitlementsOK ¶
func NewRevokeAllEntitlementsOK() *RevokeAllEntitlementsOK
NewRevokeAllEntitlementsOK creates a RevokeAllEntitlementsOK with default headers values
func (*RevokeAllEntitlementsOK) Error ¶
func (o *RevokeAllEntitlementsOK) Error() string
func (*RevokeAllEntitlementsOK) GetPayload ¶
func (o *RevokeAllEntitlementsOK) GetPayload() *platformclientmodels.BulkOperationResult
func (*RevokeAllEntitlementsOK) ToJSONString ¶
func (o *RevokeAllEntitlementsOK) ToJSONString() string
type RevokeAllEntitlementsParams ¶
type RevokeAllEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RevokeAllEntitlementsParams contains all the parameters to send to the API endpoint for the revoke all entitlements operation typically these are written to a http.Request
func NewRevokeAllEntitlementsParams ¶
func NewRevokeAllEntitlementsParams() *RevokeAllEntitlementsParams
NewRevokeAllEntitlementsParams creates a new RevokeAllEntitlementsParams object with the default values initialized.
func NewRevokeAllEntitlementsParamsWithContext ¶
func NewRevokeAllEntitlementsParamsWithContext(ctx context.Context) *RevokeAllEntitlementsParams
NewRevokeAllEntitlementsParamsWithContext creates a new RevokeAllEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeAllEntitlementsParamsWithHTTPClient ¶
func NewRevokeAllEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeAllEntitlementsParams
NewRevokeAllEntitlementsParamsWithHTTPClient creates a new RevokeAllEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeAllEntitlementsParamsWithTimeout ¶
func NewRevokeAllEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeAllEntitlementsParams
NewRevokeAllEntitlementsParamsWithTimeout creates a new RevokeAllEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeAllEntitlementsParams) SetAuthInfoWriter ¶
func (o *RevokeAllEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) SetContext ¶
func (o *RevokeAllEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) SetFlightId ¶
func (o *RevokeAllEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeAllEntitlementsParams) SetHTTPClient ¶
func (o *RevokeAllEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) SetHTTPClientTransport ¶
func (o *RevokeAllEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) SetNamespace ¶
func (o *RevokeAllEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) SetTimeout ¶
func (o *RevokeAllEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) SetUserID ¶
func (o *RevokeAllEntitlementsParams) SetUserID(userID string)
SetUserID adds the userId to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) WithContext ¶
func (o *RevokeAllEntitlementsParams) WithContext(ctx context.Context) *RevokeAllEntitlementsParams
WithContext adds the context to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) WithHTTPClient ¶
func (o *RevokeAllEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeAllEntitlementsParams
WithHTTPClient adds the HTTPClient to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) WithNamespace ¶
func (o *RevokeAllEntitlementsParams) WithNamespace(namespace string) *RevokeAllEntitlementsParams
WithNamespace adds the namespace to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) WithTimeout ¶
func (o *RevokeAllEntitlementsParams) WithTimeout(timeout time.Duration) *RevokeAllEntitlementsParams
WithTimeout adds the timeout to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) WithUserID ¶
func (o *RevokeAllEntitlementsParams) WithUserID(userID string) *RevokeAllEntitlementsParams
WithUserID adds the userID to the revoke all entitlements params
func (*RevokeAllEntitlementsParams) WriteToRequest ¶
func (o *RevokeAllEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeAllEntitlementsReader ¶
type RevokeAllEntitlementsReader struct {
// contains filtered or unexported fields
}
RevokeAllEntitlementsReader is a Reader for the RevokeAllEntitlements structure.
func (*RevokeAllEntitlementsReader) ReadResponse ¶
func (o *RevokeAllEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeAllEntitlementsResponse ¶
type RevokeAllEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.BulkOperationResult }
func (*RevokeAllEntitlementsResponse) Unpack ¶
func (m *RevokeAllEntitlementsResponse) Unpack() (*platformclientmodels.BulkOperationResult, *platformclientmodels.ApiError)
type RevokeEntitlementsOK ¶
type RevokeEntitlementsOK struct {
Payload *platformclientmodels.BulkEntitlementRevokeResult
}
RevokeEntitlementsOK handles this case with default header values.
successful operation
func NewRevokeEntitlementsOK ¶
func NewRevokeEntitlementsOK() *RevokeEntitlementsOK
NewRevokeEntitlementsOK creates a RevokeEntitlementsOK with default headers values
func (*RevokeEntitlementsOK) Error ¶
func (o *RevokeEntitlementsOK) Error() string
func (*RevokeEntitlementsOK) GetPayload ¶
func (o *RevokeEntitlementsOK) GetPayload() *platformclientmodels.BulkEntitlementRevokeResult
func (*RevokeEntitlementsOK) ToJSONString ¶
func (o *RevokeEntitlementsOK) ToJSONString() string
type RevokeEntitlementsParams ¶
type RevokeEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []string /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RevokeEntitlementsParams contains all the parameters to send to the API endpoint for the revoke entitlements operation typically these are written to a http.Request
func NewRevokeEntitlementsParams ¶
func NewRevokeEntitlementsParams() *RevokeEntitlementsParams
NewRevokeEntitlementsParams creates a new RevokeEntitlementsParams object with the default values initialized.
func NewRevokeEntitlementsParamsWithContext ¶
func NewRevokeEntitlementsParamsWithContext(ctx context.Context) *RevokeEntitlementsParams
NewRevokeEntitlementsParamsWithContext creates a new RevokeEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeEntitlementsParamsWithHTTPClient ¶
func NewRevokeEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeEntitlementsParams
NewRevokeEntitlementsParamsWithHTTPClient creates a new RevokeEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeEntitlementsParamsWithTimeout ¶
func NewRevokeEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeEntitlementsParams
NewRevokeEntitlementsParamsWithTimeout creates a new RevokeEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeEntitlementsParams) SetAuthInfoWriter ¶
func (o *RevokeEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke entitlements params
func (*RevokeEntitlementsParams) SetBody ¶
func (o *RevokeEntitlementsParams) SetBody(body []string)
SetBody adds the body to the revoke entitlements params
func (*RevokeEntitlementsParams) SetContext ¶
func (o *RevokeEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke entitlements params
func (*RevokeEntitlementsParams) SetFlightId ¶
func (o *RevokeEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeEntitlementsParams) SetHTTPClient ¶
func (o *RevokeEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke entitlements params
func (*RevokeEntitlementsParams) SetHTTPClientTransport ¶
func (o *RevokeEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke entitlements params
func (*RevokeEntitlementsParams) SetNamespace ¶
func (o *RevokeEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke entitlements params
func (*RevokeEntitlementsParams) SetTimeout ¶
func (o *RevokeEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke entitlements params
func (*RevokeEntitlementsParams) WithBody ¶
func (o *RevokeEntitlementsParams) WithBody(body []string) *RevokeEntitlementsParams
WithBody adds the body to the revoke entitlements params
func (*RevokeEntitlementsParams) WithContext ¶
func (o *RevokeEntitlementsParams) WithContext(ctx context.Context) *RevokeEntitlementsParams
WithContext adds the context to the revoke entitlements params
func (*RevokeEntitlementsParams) WithHTTPClient ¶
func (o *RevokeEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeEntitlementsParams
WithHTTPClient adds the HTTPClient to the revoke entitlements params
func (*RevokeEntitlementsParams) WithNamespace ¶
func (o *RevokeEntitlementsParams) WithNamespace(namespace string) *RevokeEntitlementsParams
WithNamespace adds the namespace to the revoke entitlements params
func (*RevokeEntitlementsParams) WithTimeout ¶
func (o *RevokeEntitlementsParams) WithTimeout(timeout time.Duration) *RevokeEntitlementsParams
WithTimeout adds the timeout to the revoke entitlements params
func (*RevokeEntitlementsParams) WriteToRequest ¶
func (o *RevokeEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeEntitlementsReader ¶
type RevokeEntitlementsReader struct {
// contains filtered or unexported fields
}
RevokeEntitlementsReader is a Reader for the RevokeEntitlements structure.
func (*RevokeEntitlementsReader) ReadResponse ¶
func (o *RevokeEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeEntitlementsResponse ¶
type RevokeEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.BulkEntitlementRevokeResult Error422 *platformclientmodels.ValidationErrorEntity }
func (*RevokeEntitlementsResponse) Unpack ¶
func (m *RevokeEntitlementsResponse) Unpack() (*platformclientmodels.BulkEntitlementRevokeResult, *platformclientmodels.ApiError)
type RevokeEntitlementsUnprocessableEntity ¶
type RevokeEntitlementsUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
RevokeEntitlementsUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewRevokeEntitlementsUnprocessableEntity ¶
func NewRevokeEntitlementsUnprocessableEntity() *RevokeEntitlementsUnprocessableEntity
NewRevokeEntitlementsUnprocessableEntity creates a RevokeEntitlementsUnprocessableEntity with default headers values
func (*RevokeEntitlementsUnprocessableEntity) Error ¶
func (o *RevokeEntitlementsUnprocessableEntity) Error() string
func (*RevokeEntitlementsUnprocessableEntity) GetPayload ¶
func (o *RevokeEntitlementsUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*RevokeEntitlementsUnprocessableEntity) ToJSONString ¶
func (o *RevokeEntitlementsUnprocessableEntity) ToJSONString() string
type RevokeUseCountNotFound ¶
type RevokeUseCountNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RevokeUseCountNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewRevokeUseCountNotFound ¶
func NewRevokeUseCountNotFound() *RevokeUseCountNotFound
NewRevokeUseCountNotFound creates a RevokeUseCountNotFound with default headers values
func (*RevokeUseCountNotFound) Error ¶
func (o *RevokeUseCountNotFound) Error() string
func (*RevokeUseCountNotFound) GetPayload ¶
func (o *RevokeUseCountNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RevokeUseCountNotFound) ToJSONString ¶
func (o *RevokeUseCountNotFound) ToJSONString() string
type RevokeUseCountOK ¶
type RevokeUseCountOK struct {
Payload *platformclientmodels.EntitlementInfo
}
RevokeUseCountOK handles this case with default header values.
successful operation
func NewRevokeUseCountOK ¶
func NewRevokeUseCountOK() *RevokeUseCountOK
NewRevokeUseCountOK creates a RevokeUseCountOK with default headers values
func (*RevokeUseCountOK) Error ¶
func (o *RevokeUseCountOK) Error() string
func (*RevokeUseCountOK) GetPayload ¶
func (o *RevokeUseCountOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*RevokeUseCountOK) ToJSONString ¶
func (o *RevokeUseCountOK) ToJSONString() string
type RevokeUseCountParams ¶
type RevokeUseCountParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.RevokeUseCountRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RevokeUseCountParams contains all the parameters to send to the API endpoint for the revoke use count operation typically these are written to a http.Request
func NewRevokeUseCountParams ¶
func NewRevokeUseCountParams() *RevokeUseCountParams
NewRevokeUseCountParams creates a new RevokeUseCountParams object with the default values initialized.
func NewRevokeUseCountParamsWithContext ¶
func NewRevokeUseCountParamsWithContext(ctx context.Context) *RevokeUseCountParams
NewRevokeUseCountParamsWithContext creates a new RevokeUseCountParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeUseCountParamsWithHTTPClient ¶
func NewRevokeUseCountParamsWithHTTPClient(client *http.Client) *RevokeUseCountParams
NewRevokeUseCountParamsWithHTTPClient creates a new RevokeUseCountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeUseCountParamsWithTimeout ¶
func NewRevokeUseCountParamsWithTimeout(timeout time.Duration) *RevokeUseCountParams
NewRevokeUseCountParamsWithTimeout creates a new RevokeUseCountParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeUseCountParams) SetAuthInfoWriter ¶
func (o *RevokeUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke use count params
func (*RevokeUseCountParams) SetBody ¶
func (o *RevokeUseCountParams) SetBody(body *platformclientmodels.RevokeUseCountRequest)
SetBody adds the body to the revoke use count params
func (*RevokeUseCountParams) SetContext ¶
func (o *RevokeUseCountParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke use count params
func (*RevokeUseCountParams) SetEntitlementID ¶
func (o *RevokeUseCountParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the revoke use count params
func (*RevokeUseCountParams) SetFlightId ¶
func (o *RevokeUseCountParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeUseCountParams) SetHTTPClient ¶
func (o *RevokeUseCountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke use count params
func (*RevokeUseCountParams) SetHTTPClientTransport ¶
func (o *RevokeUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke use count params
func (*RevokeUseCountParams) SetNamespace ¶
func (o *RevokeUseCountParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke use count params
func (*RevokeUseCountParams) SetTimeout ¶
func (o *RevokeUseCountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke use count params
func (*RevokeUseCountParams) SetUserID ¶
func (o *RevokeUseCountParams) SetUserID(userID string)
SetUserID adds the userId to the revoke use count params
func (*RevokeUseCountParams) WithBody ¶
func (o *RevokeUseCountParams) WithBody(body *platformclientmodels.RevokeUseCountRequest) *RevokeUseCountParams
WithBody adds the body to the revoke use count params
func (*RevokeUseCountParams) WithContext ¶
func (o *RevokeUseCountParams) WithContext(ctx context.Context) *RevokeUseCountParams
WithContext adds the context to the revoke use count params
func (*RevokeUseCountParams) WithEntitlementID ¶
func (o *RevokeUseCountParams) WithEntitlementID(entitlementID string) *RevokeUseCountParams
WithEntitlementID adds the entitlementID to the revoke use count params
func (*RevokeUseCountParams) WithHTTPClient ¶
func (o *RevokeUseCountParams) WithHTTPClient(client *http.Client) *RevokeUseCountParams
WithHTTPClient adds the HTTPClient to the revoke use count params
func (*RevokeUseCountParams) WithNamespace ¶
func (o *RevokeUseCountParams) WithNamespace(namespace string) *RevokeUseCountParams
WithNamespace adds the namespace to the revoke use count params
func (*RevokeUseCountParams) WithTimeout ¶
func (o *RevokeUseCountParams) WithTimeout(timeout time.Duration) *RevokeUseCountParams
WithTimeout adds the timeout to the revoke use count params
func (*RevokeUseCountParams) WithUserID ¶
func (o *RevokeUseCountParams) WithUserID(userID string) *RevokeUseCountParams
WithUserID adds the userID to the revoke use count params
func (*RevokeUseCountParams) WriteToRequest ¶
func (o *RevokeUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeUseCountReader ¶
type RevokeUseCountReader struct {
// contains filtered or unexported fields
}
RevokeUseCountReader is a Reader for the RevokeUseCount structure.
func (*RevokeUseCountReader) ReadResponse ¶
func (o *RevokeUseCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUseCountResponse ¶
type RevokeUseCountResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*RevokeUseCountResponse) Unpack ¶
func (m *RevokeUseCountResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type RevokeUserEntitlementByUseCountNotFound ¶
type RevokeUserEntitlementByUseCountNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RevokeUserEntitlementByUseCountNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewRevokeUserEntitlementByUseCountNotFound ¶
func NewRevokeUserEntitlementByUseCountNotFound() *RevokeUserEntitlementByUseCountNotFound
NewRevokeUserEntitlementByUseCountNotFound creates a RevokeUserEntitlementByUseCountNotFound with default headers values
func (*RevokeUserEntitlementByUseCountNotFound) Error ¶
func (o *RevokeUserEntitlementByUseCountNotFound) Error() string
func (*RevokeUserEntitlementByUseCountNotFound) GetPayload ¶
func (o *RevokeUserEntitlementByUseCountNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RevokeUserEntitlementByUseCountNotFound) ToJSONString ¶
func (o *RevokeUserEntitlementByUseCountNotFound) ToJSONString() string
type RevokeUserEntitlementByUseCountOK ¶
type RevokeUserEntitlementByUseCountOK struct {
Payload *platformclientmodels.EntitlementIfc
}
RevokeUserEntitlementByUseCountOK handles this case with default header values.
successful operation
func NewRevokeUserEntitlementByUseCountOK ¶
func NewRevokeUserEntitlementByUseCountOK() *RevokeUserEntitlementByUseCountOK
NewRevokeUserEntitlementByUseCountOK creates a RevokeUserEntitlementByUseCountOK with default headers values
func (*RevokeUserEntitlementByUseCountOK) Error ¶
func (o *RevokeUserEntitlementByUseCountOK) Error() string
func (*RevokeUserEntitlementByUseCountOK) GetPayload ¶
func (o *RevokeUserEntitlementByUseCountOK) GetPayload() *platformclientmodels.EntitlementIfc
func (*RevokeUserEntitlementByUseCountOK) ToJSONString ¶
func (o *RevokeUserEntitlementByUseCountOK) ToJSONString() string
type RevokeUserEntitlementByUseCountParams ¶
type RevokeUserEntitlementByUseCountParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.RevokeUseCountRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RevokeUserEntitlementByUseCountParams contains all the parameters to send to the API endpoint for the revoke user entitlement by use count operation typically these are written to a http.Request
func NewRevokeUserEntitlementByUseCountParams ¶
func NewRevokeUserEntitlementByUseCountParams() *RevokeUserEntitlementByUseCountParams
NewRevokeUserEntitlementByUseCountParams creates a new RevokeUserEntitlementByUseCountParams object with the default values initialized.
func NewRevokeUserEntitlementByUseCountParamsWithContext ¶
func NewRevokeUserEntitlementByUseCountParamsWithContext(ctx context.Context) *RevokeUserEntitlementByUseCountParams
NewRevokeUserEntitlementByUseCountParamsWithContext creates a new RevokeUserEntitlementByUseCountParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeUserEntitlementByUseCountParamsWithHTTPClient ¶
func NewRevokeUserEntitlementByUseCountParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementByUseCountParams
NewRevokeUserEntitlementByUseCountParamsWithHTTPClient creates a new RevokeUserEntitlementByUseCountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeUserEntitlementByUseCountParamsWithTimeout ¶
func NewRevokeUserEntitlementByUseCountParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementByUseCountParams
NewRevokeUserEntitlementByUseCountParamsWithTimeout creates a new RevokeUserEntitlementByUseCountParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeUserEntitlementByUseCountParams) SetAuthInfoWriter ¶
func (o *RevokeUserEntitlementByUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetBody ¶
func (o *RevokeUserEntitlementByUseCountParams) SetBody(body *platformclientmodels.RevokeUseCountRequest)
SetBody adds the body to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetContext ¶
func (o *RevokeUserEntitlementByUseCountParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetEntitlementID ¶
func (o *RevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetFlightId ¶
func (o *RevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeUserEntitlementByUseCountParams) SetHTTPClient ¶
func (o *RevokeUserEntitlementByUseCountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetHTTPClientTransport ¶
func (o *RevokeUserEntitlementByUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetNamespace ¶
func (o *RevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetTimeout ¶
func (o *RevokeUserEntitlementByUseCountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) SetUserID ¶
func (o *RevokeUserEntitlementByUseCountParams) SetUserID(userID string)
SetUserID adds the userId to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithBody ¶
func (o *RevokeUserEntitlementByUseCountParams) WithBody(body *platformclientmodels.RevokeUseCountRequest) *RevokeUserEntitlementByUseCountParams
WithBody adds the body to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithContext ¶
func (o *RevokeUserEntitlementByUseCountParams) WithContext(ctx context.Context) *RevokeUserEntitlementByUseCountParams
WithContext adds the context to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithEntitlementID ¶
func (o *RevokeUserEntitlementByUseCountParams) WithEntitlementID(entitlementID string) *RevokeUserEntitlementByUseCountParams
WithEntitlementID adds the entitlementID to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithHTTPClient ¶
func (o *RevokeUserEntitlementByUseCountParams) WithHTTPClient(client *http.Client) *RevokeUserEntitlementByUseCountParams
WithHTTPClient adds the HTTPClient to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithNamespace ¶
func (o *RevokeUserEntitlementByUseCountParams) WithNamespace(namespace string) *RevokeUserEntitlementByUseCountParams
WithNamespace adds the namespace to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithTimeout ¶
func (o *RevokeUserEntitlementByUseCountParams) WithTimeout(timeout time.Duration) *RevokeUserEntitlementByUseCountParams
WithTimeout adds the timeout to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WithUserID ¶
func (o *RevokeUserEntitlementByUseCountParams) WithUserID(userID string) *RevokeUserEntitlementByUseCountParams
WithUserID adds the userID to the revoke user entitlement by use count params
func (*RevokeUserEntitlementByUseCountParams) WriteToRequest ¶
func (o *RevokeUserEntitlementByUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeUserEntitlementByUseCountReader ¶
type RevokeUserEntitlementByUseCountReader struct {
// contains filtered or unexported fields
}
RevokeUserEntitlementByUseCountReader is a Reader for the RevokeUserEntitlementByUseCount structure.
func (*RevokeUserEntitlementByUseCountReader) ReadResponse ¶
func (o *RevokeUserEntitlementByUseCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUserEntitlementByUseCountResponse ¶
type RevokeUserEntitlementByUseCountResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementIfc Error404 *platformclientmodels.ErrorEntity }
func (*RevokeUserEntitlementByUseCountResponse) Unpack ¶
func (m *RevokeUserEntitlementByUseCountResponse) Unpack() (*platformclientmodels.EntitlementIfc, *platformclientmodels.ApiError)
type RevokeUserEntitlementNotFound ¶
type RevokeUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RevokeUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewRevokeUserEntitlementNotFound ¶
func NewRevokeUserEntitlementNotFound() *RevokeUserEntitlementNotFound
NewRevokeUserEntitlementNotFound creates a RevokeUserEntitlementNotFound with default headers values
func (*RevokeUserEntitlementNotFound) Error ¶
func (o *RevokeUserEntitlementNotFound) Error() string
func (*RevokeUserEntitlementNotFound) GetPayload ¶
func (o *RevokeUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RevokeUserEntitlementNotFound) ToJSONString ¶
func (o *RevokeUserEntitlementNotFound) ToJSONString() string
type RevokeUserEntitlementOK ¶
type RevokeUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
RevokeUserEntitlementOK handles this case with default header values.
successful operation
func NewRevokeUserEntitlementOK ¶
func NewRevokeUserEntitlementOK() *RevokeUserEntitlementOK
NewRevokeUserEntitlementOK creates a RevokeUserEntitlementOK with default headers values
func (*RevokeUserEntitlementOK) Error ¶
func (o *RevokeUserEntitlementOK) Error() string
func (*RevokeUserEntitlementOK) GetPayload ¶
func (o *RevokeUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*RevokeUserEntitlementOK) ToJSONString ¶
func (o *RevokeUserEntitlementOK) ToJSONString() string
type RevokeUserEntitlementParams ¶
type RevokeUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.EntitlementRevokeRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RevokeUserEntitlementParams contains all the parameters to send to the API endpoint for the revoke user entitlement operation typically these are written to a http.Request
func NewRevokeUserEntitlementParams ¶
func NewRevokeUserEntitlementParams() *RevokeUserEntitlementParams
NewRevokeUserEntitlementParams creates a new RevokeUserEntitlementParams object with the default values initialized.
func NewRevokeUserEntitlementParamsWithContext ¶
func NewRevokeUserEntitlementParamsWithContext(ctx context.Context) *RevokeUserEntitlementParams
NewRevokeUserEntitlementParamsWithContext creates a new RevokeUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeUserEntitlementParamsWithHTTPClient ¶
func NewRevokeUserEntitlementParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementParams
NewRevokeUserEntitlementParamsWithHTTPClient creates a new RevokeUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeUserEntitlementParamsWithTimeout ¶
func NewRevokeUserEntitlementParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementParams
NewRevokeUserEntitlementParamsWithTimeout creates a new RevokeUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeUserEntitlementParams) SetAuthInfoWriter ¶
func (o *RevokeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetBody ¶
func (o *RevokeUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementRevokeRequest)
SetBody adds the body to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetContext ¶
func (o *RevokeUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetEntitlementID ¶
func (o *RevokeUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetFlightId ¶
func (o *RevokeUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeUserEntitlementParams) SetHTTPClient ¶
func (o *RevokeUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetHTTPClientTransport ¶
func (o *RevokeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetNamespace ¶
func (o *RevokeUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetTimeout ¶
func (o *RevokeUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke user entitlement params
func (*RevokeUserEntitlementParams) SetUserID ¶
func (o *RevokeUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithBody ¶
func (o *RevokeUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementRevokeRequest) *RevokeUserEntitlementParams
WithBody adds the body to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithContext ¶
func (o *RevokeUserEntitlementParams) WithContext(ctx context.Context) *RevokeUserEntitlementParams
WithContext adds the context to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithEntitlementID ¶
func (o *RevokeUserEntitlementParams) WithEntitlementID(entitlementID string) *RevokeUserEntitlementParams
WithEntitlementID adds the entitlementID to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithHTTPClient ¶
func (o *RevokeUserEntitlementParams) WithHTTPClient(client *http.Client) *RevokeUserEntitlementParams
WithHTTPClient adds the HTTPClient to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithNamespace ¶
func (o *RevokeUserEntitlementParams) WithNamespace(namespace string) *RevokeUserEntitlementParams
WithNamespace adds the namespace to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithTimeout ¶
func (o *RevokeUserEntitlementParams) WithTimeout(timeout time.Duration) *RevokeUserEntitlementParams
WithTimeout adds the timeout to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WithUserID ¶
func (o *RevokeUserEntitlementParams) WithUserID(userID string) *RevokeUserEntitlementParams
WithUserID adds the userID to the revoke user entitlement params
func (*RevokeUserEntitlementParams) WriteToRequest ¶
func (o *RevokeUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeUserEntitlementReader ¶
type RevokeUserEntitlementReader struct {
// contains filtered or unexported fields
}
RevokeUserEntitlementReader is a Reader for the RevokeUserEntitlement structure.
func (*RevokeUserEntitlementReader) ReadResponse ¶
func (o *RevokeUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUserEntitlementResponse ¶
type RevokeUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity }
func (*RevokeUserEntitlementResponse) Unpack ¶
func (m *RevokeUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type RevokeUserEntitlementsOK ¶
type RevokeUserEntitlementsOK struct {
Payload *platformclientmodels.BulkOperationResult
}
RevokeUserEntitlementsOK handles this case with default header values.
successful operation
func NewRevokeUserEntitlementsOK ¶
func NewRevokeUserEntitlementsOK() *RevokeUserEntitlementsOK
NewRevokeUserEntitlementsOK creates a RevokeUserEntitlementsOK with default headers values
func (*RevokeUserEntitlementsOK) Error ¶
func (o *RevokeUserEntitlementsOK) Error() string
func (*RevokeUserEntitlementsOK) GetPayload ¶
func (o *RevokeUserEntitlementsOK) GetPayload() *platformclientmodels.BulkOperationResult
func (*RevokeUserEntitlementsOK) ToJSONString ¶
func (o *RevokeUserEntitlementsOK) ToJSONString() string
type RevokeUserEntitlementsParams ¶
type RevokeUserEntitlementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*EntitlementIds separate multiple value by commas parameter. */ EntitlementIds string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RevokeUserEntitlementsParams contains all the parameters to send to the API endpoint for the revoke user entitlements operation typically these are written to a http.Request
func NewRevokeUserEntitlementsParams ¶
func NewRevokeUserEntitlementsParams() *RevokeUserEntitlementsParams
NewRevokeUserEntitlementsParams creates a new RevokeUserEntitlementsParams object with the default values initialized.
func NewRevokeUserEntitlementsParamsWithContext ¶
func NewRevokeUserEntitlementsParamsWithContext(ctx context.Context) *RevokeUserEntitlementsParams
NewRevokeUserEntitlementsParamsWithContext creates a new RevokeUserEntitlementsParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeUserEntitlementsParamsWithHTTPClient ¶
func NewRevokeUserEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementsParams
NewRevokeUserEntitlementsParamsWithHTTPClient creates a new RevokeUserEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeUserEntitlementsParamsWithTimeout ¶
func NewRevokeUserEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementsParams
NewRevokeUserEntitlementsParamsWithTimeout creates a new RevokeUserEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeUserEntitlementsParams) SetAuthInfoWriter ¶
func (o *RevokeUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetContext ¶
func (o *RevokeUserEntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetEntitlementIds ¶
func (o *RevokeUserEntitlementsParams) SetEntitlementIds(entitlementIds string)
SetEntitlementIds adds the entitlementIds to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetFlightId ¶
func (o *RevokeUserEntitlementsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeUserEntitlementsParams) SetHTTPClient ¶
func (o *RevokeUserEntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetHTTPClientTransport ¶
func (o *RevokeUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetNamespace ¶
func (o *RevokeUserEntitlementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetTimeout ¶
func (o *RevokeUserEntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) SetUserID ¶
func (o *RevokeUserEntitlementsParams) SetUserID(userID string)
SetUserID adds the userId to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WithContext ¶
func (o *RevokeUserEntitlementsParams) WithContext(ctx context.Context) *RevokeUserEntitlementsParams
WithContext adds the context to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WithEntitlementIds ¶
func (o *RevokeUserEntitlementsParams) WithEntitlementIds(entitlementIds string) *RevokeUserEntitlementsParams
WithEntitlementIds adds the entitlementIds to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WithHTTPClient ¶
func (o *RevokeUserEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeUserEntitlementsParams
WithHTTPClient adds the HTTPClient to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WithNamespace ¶
func (o *RevokeUserEntitlementsParams) WithNamespace(namespace string) *RevokeUserEntitlementsParams
WithNamespace adds the namespace to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WithTimeout ¶
func (o *RevokeUserEntitlementsParams) WithTimeout(timeout time.Duration) *RevokeUserEntitlementsParams
WithTimeout adds the timeout to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WithUserID ¶
func (o *RevokeUserEntitlementsParams) WithUserID(userID string) *RevokeUserEntitlementsParams
WithUserID adds the userID to the revoke user entitlements params
func (*RevokeUserEntitlementsParams) WriteToRequest ¶
func (o *RevokeUserEntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeUserEntitlementsReader ¶
type RevokeUserEntitlementsReader struct {
// contains filtered or unexported fields
}
RevokeUserEntitlementsReader is a Reader for the RevokeUserEntitlements structure.
func (*RevokeUserEntitlementsReader) ReadResponse ¶
func (o *RevokeUserEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeUserEntitlementsResponse ¶
type RevokeUserEntitlementsResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.BulkOperationResult }
func (*RevokeUserEntitlementsResponse) Unpack ¶
func (m *RevokeUserEntitlementsResponse) Unpack() (*platformclientmodels.BulkOperationResult, *platformclientmodels.ApiError)
type SellUserEntitlementConflict ¶
type SellUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
SellUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>31181</td><td>Entitlement [{entitlementId}] is not sellable</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewSellUserEntitlementConflict ¶
func NewSellUserEntitlementConflict() *SellUserEntitlementConflict
NewSellUserEntitlementConflict creates a SellUserEntitlementConflict with default headers values
func (*SellUserEntitlementConflict) Error ¶
func (o *SellUserEntitlementConflict) Error() string
func (*SellUserEntitlementConflict) GetPayload ¶
func (o *SellUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*SellUserEntitlementConflict) ToJSONString ¶
func (o *SellUserEntitlementConflict) ToJSONString() string
type SellUserEntitlementNotFound ¶
type SellUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
SellUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewSellUserEntitlementNotFound ¶
func NewSellUserEntitlementNotFound() *SellUserEntitlementNotFound
NewSellUserEntitlementNotFound creates a SellUserEntitlementNotFound with default headers values
func (*SellUserEntitlementNotFound) Error ¶
func (o *SellUserEntitlementNotFound) Error() string
func (*SellUserEntitlementNotFound) GetPayload ¶
func (o *SellUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*SellUserEntitlementNotFound) ToJSONString ¶
func (o *SellUserEntitlementNotFound) ToJSONString() string
type SellUserEntitlementOK ¶
type SellUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementSoldResult
}
SellUserEntitlementOK handles this case with default header values.
successful operation
func NewSellUserEntitlementOK ¶
func NewSellUserEntitlementOK() *SellUserEntitlementOK
NewSellUserEntitlementOK creates a SellUserEntitlementOK with default headers values
func (*SellUserEntitlementOK) Error ¶
func (o *SellUserEntitlementOK) Error() string
func (*SellUserEntitlementOK) GetPayload ¶
func (o *SellUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementSoldResult
func (*SellUserEntitlementOK) ToJSONString ¶
func (o *SellUserEntitlementOK) ToJSONString() string
type SellUserEntitlementParams ¶
type SellUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.AdminEntitlementSoldRequest /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
SellUserEntitlementParams contains all the parameters to send to the API endpoint for the sell user entitlement operation typically these are written to a http.Request
func NewSellUserEntitlementParams ¶
func NewSellUserEntitlementParams() *SellUserEntitlementParams
NewSellUserEntitlementParams creates a new SellUserEntitlementParams object with the default values initialized.
func NewSellUserEntitlementParamsWithContext ¶
func NewSellUserEntitlementParamsWithContext(ctx context.Context) *SellUserEntitlementParams
NewSellUserEntitlementParamsWithContext creates a new SellUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewSellUserEntitlementParamsWithHTTPClient ¶
func NewSellUserEntitlementParamsWithHTTPClient(client *http.Client) *SellUserEntitlementParams
NewSellUserEntitlementParamsWithHTTPClient creates a new SellUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSellUserEntitlementParamsWithTimeout ¶
func NewSellUserEntitlementParamsWithTimeout(timeout time.Duration) *SellUserEntitlementParams
NewSellUserEntitlementParamsWithTimeout creates a new SellUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*SellUserEntitlementParams) SetAuthInfoWriter ¶
func (o *SellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the sell user entitlement params
func (*SellUserEntitlementParams) SetBody ¶
func (o *SellUserEntitlementParams) SetBody(body *platformclientmodels.AdminEntitlementSoldRequest)
SetBody adds the body to the sell user entitlement params
func (*SellUserEntitlementParams) SetContext ¶
func (o *SellUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the sell user entitlement params
func (*SellUserEntitlementParams) SetEntitlementID ¶
func (o *SellUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the sell user entitlement params
func (*SellUserEntitlementParams) SetFlightId ¶
func (o *SellUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SellUserEntitlementParams) SetHTTPClient ¶
func (o *SellUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sell user entitlement params
func (*SellUserEntitlementParams) SetHTTPClientTransport ¶
func (o *SellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the sell user entitlement params
func (*SellUserEntitlementParams) SetNamespace ¶
func (o *SellUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the sell user entitlement params
func (*SellUserEntitlementParams) SetTimeout ¶
func (o *SellUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sell user entitlement params
func (*SellUserEntitlementParams) SetUserID ¶
func (o *SellUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the sell user entitlement params
func (*SellUserEntitlementParams) WithBody ¶
func (o *SellUserEntitlementParams) WithBody(body *platformclientmodels.AdminEntitlementSoldRequest) *SellUserEntitlementParams
WithBody adds the body to the sell user entitlement params
func (*SellUserEntitlementParams) WithContext ¶
func (o *SellUserEntitlementParams) WithContext(ctx context.Context) *SellUserEntitlementParams
WithContext adds the context to the sell user entitlement params
func (*SellUserEntitlementParams) WithEntitlementID ¶
func (o *SellUserEntitlementParams) WithEntitlementID(entitlementID string) *SellUserEntitlementParams
WithEntitlementID adds the entitlementID to the sell user entitlement params
func (*SellUserEntitlementParams) WithHTTPClient ¶
func (o *SellUserEntitlementParams) WithHTTPClient(client *http.Client) *SellUserEntitlementParams
WithHTTPClient adds the HTTPClient to the sell user entitlement params
func (*SellUserEntitlementParams) WithNamespace ¶
func (o *SellUserEntitlementParams) WithNamespace(namespace string) *SellUserEntitlementParams
WithNamespace adds the namespace to the sell user entitlement params
func (*SellUserEntitlementParams) WithTimeout ¶
func (o *SellUserEntitlementParams) WithTimeout(timeout time.Duration) *SellUserEntitlementParams
WithTimeout adds the timeout to the sell user entitlement params
func (*SellUserEntitlementParams) WithUserID ¶
func (o *SellUserEntitlementParams) WithUserID(userID string) *SellUserEntitlementParams
WithUserID adds the userID to the sell user entitlement params
func (*SellUserEntitlementParams) WriteToRequest ¶
func (o *SellUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SellUserEntitlementReader ¶
type SellUserEntitlementReader struct {
// contains filtered or unexported fields
}
SellUserEntitlementReader is a Reader for the SellUserEntitlement structure.
func (*SellUserEntitlementReader) ReadResponse ¶
func (o *SellUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SellUserEntitlementResponse ¶
type SellUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementSoldResult Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity }
func (*SellUserEntitlementResponse) Unpack ¶
func (m *SellUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementSoldResult, *platformclientmodels.ApiError)
type UpdatePlatformEntitlementConfigNotFound ¶
type UpdatePlatformEntitlementConfigNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UpdatePlatformEntitlementConfigNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31147</td><td>Origin [Steam] and System need exist in allowPlatformOrigin</td></tr></table>
func NewUpdatePlatformEntitlementConfigNotFound ¶
func NewUpdatePlatformEntitlementConfigNotFound() *UpdatePlatformEntitlementConfigNotFound
NewUpdatePlatformEntitlementConfigNotFound creates a UpdatePlatformEntitlementConfigNotFound with default headers values
func (*UpdatePlatformEntitlementConfigNotFound) Error ¶
func (o *UpdatePlatformEntitlementConfigNotFound) Error() string
func (*UpdatePlatformEntitlementConfigNotFound) GetPayload ¶
func (o *UpdatePlatformEntitlementConfigNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdatePlatformEntitlementConfigNotFound) ToJSONString ¶
func (o *UpdatePlatformEntitlementConfigNotFound) ToJSONString() string
type UpdatePlatformEntitlementConfigOK ¶
type UpdatePlatformEntitlementConfigOK struct {
Payload *platformclientmodels.EntitlementPlatformConfigInfo
}
UpdatePlatformEntitlementConfigOK handles this case with default header values.
successful operation
func NewUpdatePlatformEntitlementConfigOK ¶
func NewUpdatePlatformEntitlementConfigOK() *UpdatePlatformEntitlementConfigOK
NewUpdatePlatformEntitlementConfigOK creates a UpdatePlatformEntitlementConfigOK with default headers values
func (*UpdatePlatformEntitlementConfigOK) Error ¶
func (o *UpdatePlatformEntitlementConfigOK) Error() string
func (*UpdatePlatformEntitlementConfigOK) GetPayload ¶
func (o *UpdatePlatformEntitlementConfigOK) GetPayload() *platformclientmodels.EntitlementPlatformConfigInfo
func (*UpdatePlatformEntitlementConfigOK) ToJSONString ¶
func (o *UpdatePlatformEntitlementConfigOK) ToJSONString() string
type UpdatePlatformEntitlementConfigParams ¶
type UpdatePlatformEntitlementConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.EntitlementPlatformConfigUpdate /*Namespace Namespace */ Namespace string /*Platform*/ Platform string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdatePlatformEntitlementConfigParams contains all the parameters to send to the API endpoint for the update platform entitlement config operation typically these are written to a http.Request
func NewUpdatePlatformEntitlementConfigParams ¶
func NewUpdatePlatformEntitlementConfigParams() *UpdatePlatformEntitlementConfigParams
NewUpdatePlatformEntitlementConfigParams creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized.
func NewUpdatePlatformEntitlementConfigParamsWithContext ¶
func NewUpdatePlatformEntitlementConfigParamsWithContext(ctx context.Context) *UpdatePlatformEntitlementConfigParams
NewUpdatePlatformEntitlementConfigParamsWithContext creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePlatformEntitlementConfigParamsWithHTTPClient ¶
func NewUpdatePlatformEntitlementConfigParamsWithHTTPClient(client *http.Client) *UpdatePlatformEntitlementConfigParams
NewUpdatePlatformEntitlementConfigParamsWithHTTPClient creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePlatformEntitlementConfigParamsWithTimeout ¶
func NewUpdatePlatformEntitlementConfigParamsWithTimeout(timeout time.Duration) *UpdatePlatformEntitlementConfigParams
NewUpdatePlatformEntitlementConfigParamsWithTimeout creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePlatformEntitlementConfigParams) SetAuthInfoWriter ¶
func (o *UpdatePlatformEntitlementConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetBody ¶
func (o *UpdatePlatformEntitlementConfigParams) SetBody(body *platformclientmodels.EntitlementPlatformConfigUpdate)
SetBody adds the body to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetContext ¶
func (o *UpdatePlatformEntitlementConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetFlightId ¶
func (o *UpdatePlatformEntitlementConfigParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdatePlatformEntitlementConfigParams) SetHTTPClient ¶
func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport ¶
func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetNamespace ¶
func (o *UpdatePlatformEntitlementConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetPlatform ¶
func (o *UpdatePlatformEntitlementConfigParams) SetPlatform(platform string)
SetPlatform adds the platform to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) SetTimeout ¶
func (o *UpdatePlatformEntitlementConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WithBody ¶
func (o *UpdatePlatformEntitlementConfigParams) WithBody(body *platformclientmodels.EntitlementPlatformConfigUpdate) *UpdatePlatformEntitlementConfigParams
WithBody adds the body to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WithContext ¶
func (o *UpdatePlatformEntitlementConfigParams) WithContext(ctx context.Context) *UpdatePlatformEntitlementConfigParams
WithContext adds the context to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WithHTTPClient ¶
func (o *UpdatePlatformEntitlementConfigParams) WithHTTPClient(client *http.Client) *UpdatePlatformEntitlementConfigParams
WithHTTPClient adds the HTTPClient to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WithNamespace ¶
func (o *UpdatePlatformEntitlementConfigParams) WithNamespace(namespace string) *UpdatePlatformEntitlementConfigParams
WithNamespace adds the namespace to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WithPlatform ¶
func (o *UpdatePlatformEntitlementConfigParams) WithPlatform(platform string) *UpdatePlatformEntitlementConfigParams
WithPlatform adds the platform to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WithTimeout ¶
func (o *UpdatePlatformEntitlementConfigParams) WithTimeout(timeout time.Duration) *UpdatePlatformEntitlementConfigParams
WithTimeout adds the timeout to the update platform entitlement config params
func (*UpdatePlatformEntitlementConfigParams) WriteToRequest ¶
func (o *UpdatePlatformEntitlementConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePlatformEntitlementConfigReader ¶
type UpdatePlatformEntitlementConfigReader struct {
// contains filtered or unexported fields
}
UpdatePlatformEntitlementConfigReader is a Reader for the UpdatePlatformEntitlementConfig structure.
func (*UpdatePlatformEntitlementConfigReader) ReadResponse ¶
func (o *UpdatePlatformEntitlementConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePlatformEntitlementConfigResponse ¶
type UpdatePlatformEntitlementConfigResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementPlatformConfigInfo Error404 *platformclientmodels.ErrorEntity }
type UpdateUserEntitlementConflict ¶
type UpdateUserEntitlementConflict struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateUserEntitlementConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewUpdateUserEntitlementConflict ¶
func NewUpdateUserEntitlementConflict() *UpdateUserEntitlementConflict
NewUpdateUserEntitlementConflict creates a UpdateUserEntitlementConflict with default headers values
func (*UpdateUserEntitlementConflict) Error ¶
func (o *UpdateUserEntitlementConflict) Error() string
func (*UpdateUserEntitlementConflict) GetPayload ¶
func (o *UpdateUserEntitlementConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateUserEntitlementConflict) ToJSONString ¶
func (o *UpdateUserEntitlementConflict) ToJSONString() string
type UpdateUserEntitlementNotFound ¶
type UpdateUserEntitlementNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateUserEntitlementNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUpdateUserEntitlementNotFound ¶
func NewUpdateUserEntitlementNotFound() *UpdateUserEntitlementNotFound
NewUpdateUserEntitlementNotFound creates a UpdateUserEntitlementNotFound with default headers values
func (*UpdateUserEntitlementNotFound) Error ¶
func (o *UpdateUserEntitlementNotFound) Error() string
func (*UpdateUserEntitlementNotFound) GetPayload ¶
func (o *UpdateUserEntitlementNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateUserEntitlementNotFound) ToJSONString ¶
func (o *UpdateUserEntitlementNotFound) ToJSONString() string
type UpdateUserEntitlementOK ¶
type UpdateUserEntitlementOK struct {
Payload *platformclientmodels.EntitlementInfo
}
UpdateUserEntitlementOK handles this case with default header values.
successful operation
func NewUpdateUserEntitlementOK ¶
func NewUpdateUserEntitlementOK() *UpdateUserEntitlementOK
NewUpdateUserEntitlementOK creates a UpdateUserEntitlementOK with default headers values
func (*UpdateUserEntitlementOK) Error ¶
func (o *UpdateUserEntitlementOK) Error() string
func (*UpdateUserEntitlementOK) GetPayload ¶
func (o *UpdateUserEntitlementOK) GetPayload() *platformclientmodels.EntitlementInfo
func (*UpdateUserEntitlementOK) ToJSONString ¶
func (o *UpdateUserEntitlementOK) ToJSONString() string
type UpdateUserEntitlementParams ¶
type UpdateUserEntitlementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.EntitlementUpdate /*EntitlementID*/ EntitlementID string /*Namespace*/ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
UpdateUserEntitlementParams contains all the parameters to send to the API endpoint for the update user entitlement operation typically these are written to a http.Request
func NewUpdateUserEntitlementParams ¶
func NewUpdateUserEntitlementParams() *UpdateUserEntitlementParams
NewUpdateUserEntitlementParams creates a new UpdateUserEntitlementParams object with the default values initialized.
func NewUpdateUserEntitlementParamsWithContext ¶
func NewUpdateUserEntitlementParamsWithContext(ctx context.Context) *UpdateUserEntitlementParams
NewUpdateUserEntitlementParamsWithContext creates a new UpdateUserEntitlementParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserEntitlementParamsWithHTTPClient ¶
func NewUpdateUserEntitlementParamsWithHTTPClient(client *http.Client) *UpdateUserEntitlementParams
NewUpdateUserEntitlementParamsWithHTTPClient creates a new UpdateUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserEntitlementParamsWithTimeout ¶
func NewUpdateUserEntitlementParamsWithTimeout(timeout time.Duration) *UpdateUserEntitlementParams
NewUpdateUserEntitlementParamsWithTimeout creates a new UpdateUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserEntitlementParams) SetAuthInfoWriter ¶
func (o *UpdateUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update user entitlement params
func (*UpdateUserEntitlementParams) SetBody ¶
func (o *UpdateUserEntitlementParams) SetBody(body *platformclientmodels.EntitlementUpdate)
SetBody adds the body to the update user entitlement params
func (*UpdateUserEntitlementParams) SetContext ¶
func (o *UpdateUserEntitlementParams) SetContext(ctx context.Context)
SetContext adds the context to the update user entitlement params
func (*UpdateUserEntitlementParams) SetEntitlementID ¶
func (o *UpdateUserEntitlementParams) SetEntitlementID(entitlementID string)
SetEntitlementID adds the entitlementId to the update user entitlement params
func (*UpdateUserEntitlementParams) SetFlightId ¶
func (o *UpdateUserEntitlementParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*UpdateUserEntitlementParams) SetHTTPClient ¶
func (o *UpdateUserEntitlementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user entitlement params
func (*UpdateUserEntitlementParams) SetHTTPClientTransport ¶
func (o *UpdateUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update user entitlement params
func (*UpdateUserEntitlementParams) SetNamespace ¶
func (o *UpdateUserEntitlementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update user entitlement params
func (*UpdateUserEntitlementParams) SetTimeout ¶
func (o *UpdateUserEntitlementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user entitlement params
func (*UpdateUserEntitlementParams) SetUserID ¶
func (o *UpdateUserEntitlementParams) SetUserID(userID string)
SetUserID adds the userId to the update user entitlement params
func (*UpdateUserEntitlementParams) WithBody ¶
func (o *UpdateUserEntitlementParams) WithBody(body *platformclientmodels.EntitlementUpdate) *UpdateUserEntitlementParams
WithBody adds the body to the update user entitlement params
func (*UpdateUserEntitlementParams) WithContext ¶
func (o *UpdateUserEntitlementParams) WithContext(ctx context.Context) *UpdateUserEntitlementParams
WithContext adds the context to the update user entitlement params
func (*UpdateUserEntitlementParams) WithEntitlementID ¶
func (o *UpdateUserEntitlementParams) WithEntitlementID(entitlementID string) *UpdateUserEntitlementParams
WithEntitlementID adds the entitlementID to the update user entitlement params
func (*UpdateUserEntitlementParams) WithHTTPClient ¶
func (o *UpdateUserEntitlementParams) WithHTTPClient(client *http.Client) *UpdateUserEntitlementParams
WithHTTPClient adds the HTTPClient to the update user entitlement params
func (*UpdateUserEntitlementParams) WithNamespace ¶
func (o *UpdateUserEntitlementParams) WithNamespace(namespace string) *UpdateUserEntitlementParams
WithNamespace adds the namespace to the update user entitlement params
func (*UpdateUserEntitlementParams) WithTimeout ¶
func (o *UpdateUserEntitlementParams) WithTimeout(timeout time.Duration) *UpdateUserEntitlementParams
WithTimeout adds the timeout to the update user entitlement params
func (*UpdateUserEntitlementParams) WithUserID ¶
func (o *UpdateUserEntitlementParams) WithUserID(userID string) *UpdateUserEntitlementParams
WithUserID adds the userID to the update user entitlement params
func (*UpdateUserEntitlementParams) WriteToRequest ¶
func (o *UpdateUserEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserEntitlementReader ¶
type UpdateUserEntitlementReader struct {
// contains filtered or unexported fields
}
UpdateUserEntitlementReader is a Reader for the UpdateUserEntitlement structure.
func (*UpdateUserEntitlementReader) ReadResponse ¶
func (o *UpdateUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserEntitlementResponse ¶
type UpdateUserEntitlementResponse struct { platformclientmodels.ApiResponse Data *platformclientmodels.EntitlementInfo Error404 *platformclientmodels.ErrorEntity Error409 *platformclientmodels.ErrorEntity Error422 *platformclientmodels.ValidationErrorEntity }
func (*UpdateUserEntitlementResponse) Unpack ¶
func (m *UpdateUserEntitlementResponse) Unpack() (*platformclientmodels.EntitlementInfo, *platformclientmodels.ApiError)
type UpdateUserEntitlementUnprocessableEntity ¶
type UpdateUserEntitlementUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UpdateUserEntitlementUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewUpdateUserEntitlementUnprocessableEntity ¶
func NewUpdateUserEntitlementUnprocessableEntity() *UpdateUserEntitlementUnprocessableEntity
NewUpdateUserEntitlementUnprocessableEntity creates a UpdateUserEntitlementUnprocessableEntity with default headers values
func (*UpdateUserEntitlementUnprocessableEntity) Error ¶
func (o *UpdateUserEntitlementUnprocessableEntity) Error() string
func (*UpdateUserEntitlementUnprocessableEntity) GetPayload ¶
func (o *UpdateUserEntitlementUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*UpdateUserEntitlementUnprocessableEntity) ToJSONString ¶
func (o *UpdateUserEntitlementUnprocessableEntity) ToJSONString() string
Source Files ¶
- consume_user_entitlement_parameters.go
- consume_user_entitlement_responses.go
- disable_user_entitlement_parameters.go
- disable_user_entitlement_responses.go
- enable_entitlement_origin_feature_parameters.go
- enable_entitlement_origin_feature_responses.go
- enable_user_entitlement_parameters.go
- enable_user_entitlement_responses.go
- entitlement_client.go
- exists_any_user_active_entitlement_by_item_ids_parameters.go
- exists_any_user_active_entitlement_by_item_ids_responses.go
- exists_any_user_active_entitlement_parameters.go
- exists_any_user_active_entitlement_responses.go
- get_entitlement_config_info_parameters.go
- get_entitlement_config_info_responses.go
- get_entitlement_parameters.go
- get_entitlement_responses.go
- get_platform_entitlement_config_parameters.go
- get_platform_entitlement_config_responses.go
- get_user_active_entitlements_by_item_ids_parameters.go
- get_user_active_entitlements_by_item_ids_responses.go
- get_user_app_entitlement_by_app_id_parameters.go
- get_user_app_entitlement_by_app_id_responses.go
- get_user_app_entitlement_ownership_by_app_id_parameters.go
- get_user_app_entitlement_ownership_by_app_id_responses.go
- get_user_entitlement_by_item_id_parameters.go
- get_user_entitlement_by_item_id_responses.go
- get_user_entitlement_by_sku_parameters.go
- get_user_entitlement_by_sku_responses.go
- get_user_entitlement_histories_parameters.go
- get_user_entitlement_histories_responses.go
- get_user_entitlement_ownership_by_item_id_parameters.go
- get_user_entitlement_ownership_by_item_id_responses.go
- get_user_entitlement_ownership_by_item_ids_parameters.go
- get_user_entitlement_ownership_by_item_ids_responses.go
- get_user_entitlement_ownership_by_sku_parameters.go
- get_user_entitlement_ownership_by_sku_responses.go
- get_user_entitlement_parameters.go
- get_user_entitlement_responses.go
- get_user_entitlements_by_ids_parameters.go
- get_user_entitlements_by_ids_responses.go
- grant_entitlements_parameters.go
- grant_entitlements_responses.go
- grant_user_entitlement_parameters.go
- grant_user_entitlement_responses.go
- pre_check_revoke_user_entitlement_by_use_count_parameters.go
- pre_check_revoke_user_entitlement_by_use_count_responses.go
- public_consume_user_entitlement_parameters.go
- public_consume_user_entitlement_responses.go
- public_exists_any_my_active_entitlement_parameters.go
- public_exists_any_my_active_entitlement_responses.go
- public_exists_any_user_active_entitlement_parameters.go
- public_exists_any_user_active_entitlement_responses.go
- public_get_entitlement_ownership_token_parameters.go
- public_get_entitlement_ownership_token_responses.go
- public_get_my_app_entitlement_ownership_by_app_id_parameters.go
- public_get_my_app_entitlement_ownership_by_app_id_responses.go
- public_get_my_entitlement_ownership_by_item_id_parameters.go
- public_get_my_entitlement_ownership_by_item_id_responses.go
- public_get_my_entitlement_ownership_by_sku_parameters.go
- public_get_my_entitlement_ownership_by_sku_responses.go
- public_get_user_app_entitlement_by_app_id_parameters.go
- public_get_user_app_entitlement_by_app_id_responses.go
- public_get_user_app_entitlement_ownership_by_app_id_parameters.go
- public_get_user_app_entitlement_ownership_by_app_id_responses.go
- public_get_user_entitlement_by_item_id_parameters.go
- public_get_user_entitlement_by_item_id_responses.go
- public_get_user_entitlement_by_sku_parameters.go
- public_get_user_entitlement_by_sku_responses.go
- public_get_user_entitlement_ownership_by_item_id_parameters.go
- public_get_user_entitlement_ownership_by_item_id_responses.go
- public_get_user_entitlement_ownership_by_item_ids_parameters.go
- public_get_user_entitlement_ownership_by_item_ids_responses.go
- public_get_user_entitlement_ownership_by_sku_parameters.go
- public_get_user_entitlement_ownership_by_sku_responses.go
- public_get_user_entitlement_parameters.go
- public_get_user_entitlement_responses.go
- public_get_user_entitlements_by_ids_parameters.go
- public_get_user_entitlements_by_ids_responses.go
- public_query_user_entitlements_by_app_type_parameters.go
- public_query_user_entitlements_by_app_type_responses.go
- public_query_user_entitlements_parameters.go
- public_query_user_entitlements_responses.go
- public_sell_user_entitlement_parameters.go
- public_sell_user_entitlement_responses.go
- public_split_user_entitlement_parameters.go
- public_split_user_entitlement_responses.go
- public_transfer_user_entitlement_parameters.go
- public_transfer_user_entitlement_responses.go
- public_user_entitlement_history_parameters.go
- public_user_entitlement_history_responses.go
- query_entitlements_1_parameters.go
- query_entitlements_1_responses.go
- query_entitlements_parameters.go
- query_entitlements_responses.go
- query_user_entitlements_by_app_type_parameters.go
- query_user_entitlements_by_app_type_responses.go
- query_user_entitlements_parameters.go
- query_user_entitlements_responses.go
- revoke_all_entitlements_parameters.go
- revoke_all_entitlements_responses.go
- revoke_entitlements_parameters.go
- revoke_entitlements_responses.go
- revoke_use_count_parameters.go
- revoke_use_count_responses.go
- revoke_user_entitlement_by_use_count_parameters.go
- revoke_user_entitlement_by_use_count_responses.go
- revoke_user_entitlement_parameters.go
- revoke_user_entitlement_responses.go
- revoke_user_entitlements_parameters.go
- revoke_user_entitlements_responses.go
- sell_user_entitlement_parameters.go
- sell_user_entitlement_responses.go
- update_platform_entitlement_config_parameters.go
- update_platform_entitlement_config_responses.go
- update_user_entitlement_parameters.go
- update_user_entitlement_responses.go