entitlement

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 13 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

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) ConsumeUserEntitlement

ConsumeUserEntitlement consumes user entitlement

Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: consumed entitlement</li></ul>

func (*Client) CreateUserDistributionReceiver

CreateUserDistributionReceiver creates distribution receiver

Create distribution receiver for a specific user by dedicated server. Once user distribution receiver created, user can distribute distribution to receiver.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=1 (CREATE)</li></ul>

func (*Client) DeleteUserDistributionReceiver

DeleteUserDistributionReceiver deletes distribution receiver

Delete a distribution receiver for a specific user by dedicated server.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=8 (DELETE)</li></ul>

func (*Client) DisableUserEntitlement

DisableUserEntitlement disables user entitlement

Disable user entitlement if entitlement, only active entitlement can be disable, disabled entitlement can't consume/distribute.<br><b>Like revoke, it will lose the entitlement ownership, except disabled entitlement can enable.</b><br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: disable entitlement</li></ul>

func (*Client) EnableUserEntitlement

EnableUserEntitlement enables user entitlement

Enable user entitlement.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: enable entitlement</li></ul>

func (*Client) ExistsAnyUserActiveEntitlement

func (a *Client) ExistsAnyUserActiveEntitlement(params *ExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementOK, error)

ExistsAnyUserActiveEntitlement exists any user active entitlement

Exists any user active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) ExistsAnyUserActiveEntitlementByItemIds

ExistsAnyUserActiveEntitlementByItemIds exists any user active entitlement

Exists any user active entitlement of specified items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GetEntitlement

GetEntitlement gets entitlement

Get entitlement.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement</li></ul>

func (*Client) GetUserAppEntitlementByAppID

GetUserAppEntitlementByAppID gets user app entitlement by app Id

Get user app entitlement by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GetUserAppEntitlementOwnershipByAppID

GetUserAppEntitlementOwnershipByAppID gets user app entitlement ownership by app Id

Get user app entitlement ownership by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GetUserDistributionReceivers

GetUserDistributionReceivers gets distribution receivers

Get distribution receivers for a specific game user by dedicated server.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=2 (READ)</li><li><i>Returns</i>: distribution receiver info list</li></ul>

func (*Client) GetUserEntitlement

GetUserEntitlement gets user entitlement

Get user entitlement.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement</li></ul>

func (*Client) GetUserEntitlementByItemID added in v0.7.0

GetUserEntitlementByItemID gets user entitlement by item Id

Get user entitlement by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GetUserEntitlementBySku

GetUserEntitlementBySku gets user entitlement by sku

Get user entitlement by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GetUserEntitlementHistories

func (a *Client) GetUserEntitlementHistories(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesOK, error)

GetUserEntitlementHistories gets user entitlement history

Get user entitlement histories.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: list of entitlement history</li></ul>

func (*Client) GetUserEntitlementOwnershipByItemID added in v0.7.0

GetUserEntitlementOwnershipByItemID gets user entitlement ownership by item Id

Get user entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GetUserEntitlementOwnershipBySku

GetUserEntitlementOwnershipBySku gets user entitlement ownership by sku

Get user entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) GrantUserEntitlement

GrantUserEntitlement grants user entitlement

Grant user entitlement.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=1 (CREATE)</li><li><i>Returns</i>: granted entitlement</li></ul>

func (*Client) PublicConsumeUserEntitlement

PublicConsumeUserEntitlement consumes user entitlement

Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: consumed entitlement</li></ul>

func (*Client) PublicCreateUserDistributionReceiver

PublicCreateUserDistributionReceiver creates user distribution receiver

Create distribution receiver for a specific user. Once user distribution receiver created, user can distribute distribution to receiver.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=1 (CREATE)</li></ul>

func (*Client) PublicDeleteUserDistributionReceiver

PublicDeleteUserDistributionReceiver deletes a user distribution receiver

Delete a distribution receiver for a specific user.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=8 (DELETE)</li></ul>

func (*Client) PublicDistributeUserDistribution

  PublicDistributeUserDistribution distributes my distribution

  Distribute my distribution with my user credentials. After successfully distributed, a notification will be send to configured web hook<br><p><strong>Notification Body:</strong></p><pre><table><tr><td>Parameter</td><td>Type</td><td>Description</td></tr><tr><td>payload</td><td>String</td><td>Business object in compact json string </td></tr><tr><td>sign</td><td>String</td><td>Sha1 hex signature for payload and private key</td></tr></table><p><strong>Notification Body Example:</strong></p><pre><code style='overflow: auto'>{
       "payload":"{
           \"namespace\": \"publisherNamespace\",
           \"targetNamespace\": \"game1\",
           \"targetUserId\": \"94451623768940d58416ca33ca767ec3\",
           \"issuedAt\": \"2018-07-26T07:11:16.547Z\",
           \"type\": \"distribution\",
           \"extUserId\": \"1234abcd\",
           \"sku\": \"1234asdf\",
           \"quantity\": 1,
           \"nonceStr\": \"34c1dcf3eb58455eb161465bbfc0b590\"
       }",
       "sign":"e31fb92516cc9faaf50ad70343e1293acec6f3d5"
}</pre></code></pre></code><p><strong>Payload Parameters:</strong></p><pre><table><tr><td>Parameter</td><td>Type</td><td>Description</td></tr><tr><td>namespace</td><td>String</td><td>The publisher namespace</td></tr><tr><td>targetNamespace</td><td>String</td><td>The target game namespace</td></tr><tr><td>targetUserId</td><td>String</td><td>The user id in target game namespace</td></tr><tr><td>issuedAt</td><td>String</td><td>Issue time</td></tr><tr><td>type</td><td>String</td><td>Notification type, it is a fixed value 'distribution'</td></tr><tr><td>extUserId</td><td>String</td><td>Unique identity, e.g. character id</td></tr><tr><td>sku</td><td>String</td><td>Item unique identity</td></tr><tr><td>quantity</td><td>Integer</td><td>quantity</td></tr><tr><td>nonceStr</td><td>String</td><td>Random string, max length is 32, can be timestamp or uuid</td></tr></table></pre><h4>Encryption Rule:</h4><p>Concat payload json string and private key and then do sha1Hex.</p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=4 (UPDATE)</li></ul>

func (*Client) PublicExistsAnyMyActiveEntitlement

PublicExistsAnyMyActiveEntitlement exists any my active entitlement

Exists any my active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicExistsAnyUserActiveEntitlement

PublicExistsAnyUserActiveEntitlement exists any user active entitlement

Exists any user active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetEntitlementOwnershipToken added in v0.7.0

  PublicGetEntitlementOwnershipToken gets an entitlement ownership token

  Gets an entitlement ownership token of specified itemIds, skus and appIds<p>The decoded ownership token header like below:<p><pre><code>{
  "kid": "9fd4cd5f991cebe3323605cd12d3b8bfdfc73fa4",
  "typ": "JWT",
  "alg": "RS256"
}
</code></pre>That you can get the jwks by api <baseUrl>/platform/jwks, if the configured private key is same as IAM, <p>you can also get jwks from IAM endpoint. <p>The decoded ownership token payload like below:<p><pre><code>{
 "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 } </code></pre><b>if there's no active entitlement for the specific params, the entitlements section will be omitted</b>.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetMyAppEntitlementOwnershipByAppID

PublicGetMyAppEntitlementOwnershipByAppID gets my app entitlement ownership by app Id

Get my app entitlement ownership by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace app entitlement ownership</b></li></ul></li></ul>

func (*Client) PublicGetMyEntitlementOwnershipByItemID added in v0.7.0

PublicGetMyEntitlementOwnershipByItemID gets my entitlement ownership by item Id

Get my entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace entitlement ownership by sku</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game namespace entitlement ownership by sku</b></li></ul></li></ul>

func (*Client) PublicGetMyEntitlementOwnershipBySku

PublicGetMyEntitlementOwnershipBySku gets my entitlement ownership by sku

Get my entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace entitlement ownership by sku</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game namespace entitlement ownership by sku</b></li></ul></li></ul>

func (*Client) PublicGetUserAppEntitlementByAppID

PublicGetUserAppEntitlementByAppID gets user app entitlement by app Id

Get user app entitlement by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetUserAppEntitlementOwnershipByAppID

PublicGetUserAppEntitlementOwnershipByAppID gets user app entitlement ownership by app Id

Get user app entitlement ownership by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetUserDistributionReceivers

PublicGetUserDistributionReceivers gets distribution receivers

Get distribution receivers in a specific namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=2 (READ)</li><li><i>Returns</i>: distribution receiver info list</li></ul>

func (*Client) PublicGetUserEntitlement

PublicGetUserEntitlement gets user entitlement

Get user entitlement.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement</li></ul>

func (*Client) PublicGetUserEntitlementByItemID added in v0.7.0

PublicGetUserEntitlementByItemID gets user entitlement by item Id

Get user entitlement by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetUserEntitlementBySku

PublicGetUserEntitlementBySku gets user entitlement by sku

Get user entitlement by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetUserEntitlementOwnershipByItemID added in v0.7.0

PublicGetUserEntitlementOwnershipByItemID gets user entitlement ownership by item Id

Get user entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicGetUserEntitlementOwnershipBySku

PublicGetUserEntitlementOwnershipBySku gets user entitlement ownership by sku

Get user entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>

func (*Client) PublicQueryUserEntitlements

func (a *Client) PublicQueryUserEntitlements(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsOK, error)

PublicQueryUserEntitlements queries user entitlements

Query user entitlements for a specific user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement list</li></ul>

func (*Client) PublicQueryUserEntitlementsByAppType

PublicQueryUserEntitlementsByAppType queries app entitlements by app type

Query app entitlements by appType.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: app entitlement pagination</li></ul>

func (*Client) PublicUpdateUserDistributionReceiver

PublicUpdateUserDistributionReceiver updates user distribution receiver

Update distribution receiver for a specific user. It will create a new one if not exist.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=4 (UPDATE)</li></ul>

func (*Client) QueryEntitlements

func (a *Client) QueryEntitlements(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsOK, error)

QueryEntitlements queries entitlements

Query entitlements.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement list</li></ul>

func (*Client) QueryUserEntitlements

func (a *Client) QueryUserEntitlements(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsOK, error)

QueryUserEntitlements queries user entitlements

Query entitlements for a specific user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement list</li></ul>

func (*Client) QueryUserEntitlementsByAppType

func (a *Client) QueryUserEntitlementsByAppType(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeOK, error)

QueryUserEntitlementsByAppType queries app entitlements by app type

Query app entitlements by appType.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2<li><i>Returns</i>: app entitlement pagination</li></ul>

func (*Client) RevokeUserEntitlement

RevokeUserEntitlement revokes user entitlement

Revoke user entitlement.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: revoke entitlement</li></ul>

func (*Client) RevokeUserEntitlements

func (a *Client) RevokeUserEntitlements(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsOK, error)

RevokeUserEntitlements revokes user s entitlements by ids

Revoke user's entitlements by ids.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: revoke entitlements count</li></ul>

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateUserDistributionReceiver

UpdateUserDistributionReceiver updates distribution receiver

Update distribution receiver for a specific user by dedicated server. It will create a new one if not exists.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:DISTRIBUTION", action=4 (UPDATE)</li></ul>

func (*Client) UpdateUserEntitlement

UpdateUserEntitlement updates user entitlement

Update user entitlement. If update CONSUMABLE entitlement useCount to 0, the status will be CONSUMED, if update quantity of DISTRIBUTION, the status will be DISTRIBUTED.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: updated entitlement</li></ul>

type ClientService

type ClientService interface {
	ConsumeUserEntitlement(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementOK, *ConsumeUserEntitlementNotFound, *ConsumeUserEntitlementConflict, error)

	CreateUserDistributionReceiver(params *CreateUserDistributionReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserDistributionReceiverCreated, *CreateUserDistributionReceiverConflict, error)

	DeleteUserDistributionReceiver(params *DeleteUserDistributionReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserDistributionReceiverNoContent, *DeleteUserDistributionReceiverNotFound, error)

	DisableUserEntitlement(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementOK, *DisableUserEntitlementNotFound, *DisableUserEntitlementConflict, error)

	EnableUserEntitlement(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementOK, *EnableUserEntitlementNotFound, *EnableUserEntitlementConflict, error)

	ExistsAnyUserActiveEntitlement(params *ExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementOK, error)

	ExistsAnyUserActiveEntitlementByItemIds(params *ExistsAnyUserActiveEntitlementByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementByItemIdsOK, error)

	GetEntitlement(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementOK, *GetEntitlementNotFound, error)

	GetUserAppEntitlementByAppID(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDOK, *GetUserAppEntitlementByAppIDNotFound, error)

	GetUserAppEntitlementOwnershipByAppID(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDOK, error)

	GetUserDistributionReceivers(params *GetUserDistributionReceiversParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserDistributionReceiversOK, *GetUserDistributionReceiversBadRequest, error)

	GetUserEntitlement(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOK, *GetUserEntitlementNotFound, error)

	GetUserEntitlementByItemID(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDOK, *GetUserEntitlementByItemIDNotFound, error)

	GetUserEntitlementBySku(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuOK, *GetUserEntitlementBySkuNotFound, error)

	GetUserEntitlementHistories(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesOK, error)

	GetUserEntitlementOwnershipByItemID(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDOK, error)

	GetUserEntitlementOwnershipBySku(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuOK, error)

	GrantUserEntitlement(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementCreated, *GrantUserEntitlementNotFound, *GrantUserEntitlementUnprocessableEntity, error)

	PublicConsumeUserEntitlement(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementOK, *PublicConsumeUserEntitlementNotFound, *PublicConsumeUserEntitlementConflict, error)

	PublicCreateUserDistributionReceiver(params *PublicCreateUserDistributionReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserDistributionReceiverCreated, *PublicCreateUserDistributionReceiverConflict, error)

	PublicDeleteUserDistributionReceiver(params *PublicDeleteUserDistributionReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteUserDistributionReceiverNoContent, *PublicDeleteUserDistributionReceiverNotFound, error)

	PublicDistributeUserDistribution(params *PublicDistributeUserDistributionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDistributeUserDistributionOK, *PublicDistributeUserDistributionBadRequest, *PublicDistributeUserDistributionNotFound, error)

	PublicExistsAnyMyActiveEntitlement(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementOK, error)

	PublicExistsAnyUserActiveEntitlement(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementOK, error)

	PublicGetEntitlementOwnershipToken(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenOK, error)

	PublicGetMyAppEntitlementOwnershipByAppID(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyAppEntitlementOwnershipByAppIDOK, error)

	PublicGetMyEntitlementOwnershipByItemID(params *PublicGetMyEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipByItemIDOK, error)

	PublicGetMyEntitlementOwnershipBySku(params *PublicGetMyEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipBySkuOK, error)

	PublicGetUserAppEntitlementByAppID(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDOK, *PublicGetUserAppEntitlementByAppIDNotFound, error)

	PublicGetUserAppEntitlementOwnershipByAppID(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDOK, error)

	PublicGetUserDistributionReceivers(params *PublicGetUserDistributionReceiversParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserDistributionReceiversOK, *PublicGetUserDistributionReceiversBadRequest, *PublicGetUserDistributionReceiversNotFound, error)

	PublicGetUserEntitlement(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOK, *PublicGetUserEntitlementNotFound, error)

	PublicGetUserEntitlementByItemID(params *PublicGetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementByItemIDOK, *PublicGetUserEntitlementByItemIDNotFound, error)

	PublicGetUserEntitlementBySku(params *PublicGetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementBySkuOK, *PublicGetUserEntitlementBySkuNotFound, error)

	PublicGetUserEntitlementOwnershipByItemID(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDOK, error)

	PublicGetUserEntitlementOwnershipBySku(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuOK, error)

	PublicQueryUserEntitlements(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsOK, error)

	PublicQueryUserEntitlementsByAppType(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeOK, error)

	PublicUpdateUserDistributionReceiver(params *PublicUpdateUserDistributionReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserDistributionReceiverNoContent, error)

	QueryEntitlements(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsOK, error)

	QueryUserEntitlements(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsOK, error)

	QueryUserEntitlementsByAppType(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeOK, error)

	RevokeUserEntitlement(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementOK, *RevokeUserEntitlementNotFound, error)

	RevokeUserEntitlements(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsOK, error)

	UpdateUserDistributionReceiver(params *UpdateUserDistributionReceiverParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserDistributionReceiverNoContent, error)

	UpdateUserEntitlement(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementOK, *UpdateUserEntitlementNotFound, *UpdateUserEntitlementConflict, *UpdateUserEntitlementUnprocessableEntity, 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 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>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 (*ConsumeUserEntitlementConflict) GetPayload

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 (*ConsumeUserEntitlementNotFound) GetPayload

type ConsumeUserEntitlementOK

type ConsumeUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

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

type ConsumeUserEntitlementParams

type ConsumeUserEntitlementParams struct {

	/*Body*/
	Body *platformclientmodels.EntitlementDecrement
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetBody

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) SetHTTPClient

func (o *ConsumeUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

WithBody adds the body to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithContext

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

WithHTTPClient adds the HTTPClient to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithUserID

WithUserID adds the userID to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WriteToRequest

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 CreateUserDistributionReceiverConflict

type CreateUserDistributionReceiverConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateUserDistributionReceiverConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31271</td><td>Distribution receiver of user [{userId}] and extUserId [{extUserId}] already exists in namespace [{namespace}]</td></tr></table>

func NewCreateUserDistributionReceiverConflict

func NewCreateUserDistributionReceiverConflict() *CreateUserDistributionReceiverConflict

NewCreateUserDistributionReceiverConflict creates a CreateUserDistributionReceiverConflict with default headers values

func (*CreateUserDistributionReceiverConflict) Error

func (*CreateUserDistributionReceiverConflict) GetPayload

type CreateUserDistributionReceiverCreated

type CreateUserDistributionReceiverCreated struct {
}

CreateUserDistributionReceiverCreated handles this case with default header values.

create distribution receiver successfully

func NewCreateUserDistributionReceiverCreated

func NewCreateUserDistributionReceiverCreated() *CreateUserDistributionReceiverCreated

NewCreateUserDistributionReceiverCreated creates a CreateUserDistributionReceiverCreated with default headers values

func (*CreateUserDistributionReceiverCreated) Error

type CreateUserDistributionReceiverParams

type CreateUserDistributionReceiverParams struct {

	/*Body*/
	Body *platformclientmodels.DistributionReceiverCreate
	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateUserDistributionReceiverParams contains all the parameters to send to the API endpoint for the create user distribution receiver operation typically these are written to a http.Request

func NewCreateUserDistributionReceiverParams

func NewCreateUserDistributionReceiverParams() *CreateUserDistributionReceiverParams

NewCreateUserDistributionReceiverParams creates a new CreateUserDistributionReceiverParams object with the default values initialized.

func NewCreateUserDistributionReceiverParamsWithContext

func NewCreateUserDistributionReceiverParamsWithContext(ctx context.Context) *CreateUserDistributionReceiverParams

NewCreateUserDistributionReceiverParamsWithContext creates a new CreateUserDistributionReceiverParams object with the default values initialized, and the ability to set a context for a request

func NewCreateUserDistributionReceiverParamsWithHTTPClient

func NewCreateUserDistributionReceiverParamsWithHTTPClient(client *http.Client) *CreateUserDistributionReceiverParams

NewCreateUserDistributionReceiverParamsWithHTTPClient creates a new CreateUserDistributionReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateUserDistributionReceiverParamsWithTimeout

func NewCreateUserDistributionReceiverParamsWithTimeout(timeout time.Duration) *CreateUserDistributionReceiverParams

NewCreateUserDistributionReceiverParamsWithTimeout creates a new CreateUserDistributionReceiverParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateUserDistributionReceiverParams) SetBody

SetBody adds the body to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) SetContext

SetContext adds the context to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) SetExtUserID

func (o *CreateUserDistributionReceiverParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) SetHTTPClient

func (o *CreateUserDistributionReceiverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) SetNamespace

func (o *CreateUserDistributionReceiverParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) SetTimeout

func (o *CreateUserDistributionReceiverParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) SetUserID

func (o *CreateUserDistributionReceiverParams) SetUserID(userID string)

SetUserID adds the userId to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithBody

WithBody adds the body to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithContext

WithContext adds the context to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithExtUserID

WithExtUserID adds the extUserID to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithNamespace

WithNamespace adds the namespace to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithTimeout

WithTimeout adds the timeout to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WithUserID

WithUserID adds the userID to the create user distribution receiver params

func (*CreateUserDistributionReceiverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateUserDistributionReceiverReader

type CreateUserDistributionReceiverReader struct {
	// contains filtered or unexported fields
}

CreateUserDistributionReceiverReader is a Reader for the CreateUserDistributionReceiver structure.

func (*CreateUserDistributionReceiverReader) ReadResponse

func (o *CreateUserDistributionReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteUserDistributionReceiverNoContent

type DeleteUserDistributionReceiverNoContent struct {
}

DeleteUserDistributionReceiverNoContent handles this case with default header values.

delete a distribution receiver successfully

func NewDeleteUserDistributionReceiverNoContent

func NewDeleteUserDistributionReceiverNoContent() *DeleteUserDistributionReceiverNoContent

NewDeleteUserDistributionReceiverNoContent creates a DeleteUserDistributionReceiverNoContent with default headers values

func (*DeleteUserDistributionReceiverNoContent) Error

type DeleteUserDistributionReceiverNotFound

type DeleteUserDistributionReceiverNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteUserDistributionReceiverNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31241</td><td>Distribution receiver of user [{userId}] and extUserId [{extUserId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDeleteUserDistributionReceiverNotFound

func NewDeleteUserDistributionReceiverNotFound() *DeleteUserDistributionReceiverNotFound

NewDeleteUserDistributionReceiverNotFound creates a DeleteUserDistributionReceiverNotFound with default headers values

func (*DeleteUserDistributionReceiverNotFound) Error

func (*DeleteUserDistributionReceiverNotFound) GetPayload

type DeleteUserDistributionReceiverParams

type DeleteUserDistributionReceiverParams struct {

	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteUserDistributionReceiverParams contains all the parameters to send to the API endpoint for the delete user distribution receiver operation typically these are written to a http.Request

func NewDeleteUserDistributionReceiverParams

func NewDeleteUserDistributionReceiverParams() *DeleteUserDistributionReceiverParams

NewDeleteUserDistributionReceiverParams creates a new DeleteUserDistributionReceiverParams object with the default values initialized.

func NewDeleteUserDistributionReceiverParamsWithContext

func NewDeleteUserDistributionReceiverParamsWithContext(ctx context.Context) *DeleteUserDistributionReceiverParams

NewDeleteUserDistributionReceiverParamsWithContext creates a new DeleteUserDistributionReceiverParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteUserDistributionReceiverParamsWithHTTPClient

func NewDeleteUserDistributionReceiverParamsWithHTTPClient(client *http.Client) *DeleteUserDistributionReceiverParams

NewDeleteUserDistributionReceiverParamsWithHTTPClient creates a new DeleteUserDistributionReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteUserDistributionReceiverParamsWithTimeout

func NewDeleteUserDistributionReceiverParamsWithTimeout(timeout time.Duration) *DeleteUserDistributionReceiverParams

NewDeleteUserDistributionReceiverParamsWithTimeout creates a new DeleteUserDistributionReceiverParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteUserDistributionReceiverParams) SetContext

SetContext adds the context to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) SetExtUserID

func (o *DeleteUserDistributionReceiverParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) SetHTTPClient

func (o *DeleteUserDistributionReceiverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) SetNamespace

func (o *DeleteUserDistributionReceiverParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) SetTimeout

func (o *DeleteUserDistributionReceiverParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) SetUserID

func (o *DeleteUserDistributionReceiverParams) SetUserID(userID string)

SetUserID adds the userId to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WithContext

WithContext adds the context to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WithExtUserID

WithExtUserID adds the extUserID to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WithNamespace

WithNamespace adds the namespace to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WithTimeout

WithTimeout adds the timeout to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WithUserID

WithUserID adds the userID to the delete user distribution receiver params

func (*DeleteUserDistributionReceiverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserDistributionReceiverReader

type DeleteUserDistributionReceiverReader struct {
	// contains filtered or unexported fields
}

DeleteUserDistributionReceiverReader is a Reader for the DeleteUserDistributionReceiver structure.

func (*DeleteUserDistributionReceiverReader) ReadResponse

func (o *DeleteUserDistributionReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*DisableUserEntitlementConflict) GetPayload

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 (*DisableUserEntitlementNotFound) GetPayload

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

type DisableUserEntitlementParams

type DisableUserEntitlementParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *DisableUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

WithHTTPClient adds the HTTPClient to the disable user entitlement params

func (*DisableUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the disable user entitlement params

func (*DisableUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the disable user entitlement params

func (*DisableUserEntitlementParams) WithUserID

WithUserID adds the userID to the disable user entitlement params

func (*DisableUserEntitlementParams) WriteToRequest

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 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>31175</td><td>Entitlement [{entitlementId}] already distributed</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 (*EnableUserEntitlementConflict) GetPayload

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 (*EnableUserEntitlementNotFound) GetPayload

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

type EnableUserEntitlementParams

type EnableUserEntitlementParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *EnableUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

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

WithTimeout adds the timeout to the enable user entitlement params

func (*EnableUserEntitlementParams) WithUserID

WithUserID adds the userID to the enable user entitlement params

func (*EnableUserEntitlementParams) WriteToRequest

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 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 (*ExistsAnyUserActiveEntitlementByItemIdsOK) GetPayload

type ExistsAnyUserActiveEntitlementByItemIdsParams

type ExistsAnyUserActiveEntitlementByItemIdsParams struct {

	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the exists any user active entitlement by item ids params

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) 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) SetTimeout

SetTimeout adds the timeout to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetUserID

SetUserID adds the userId to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithContext

WithContext adds the context to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithItemIds

WithItemIds adds the itemIds to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithNamespace

WithNamespace adds the namespace to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithTimeout

WithTimeout adds the timeout to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WithUserID

WithUserID adds the userID to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) WriteToRequest

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 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 (*ExistsAnyUserActiveEntitlementOK) GetPayload

type ExistsAnyUserActiveEntitlementParams

type ExistsAnyUserActiveEntitlementParams struct {

	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) SetHTTPClient

func (o *ExistsAnyUserActiveEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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) 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

WithAppIds adds the appIds to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithContext

WithContext adds the context to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithItemIds

WithItemIds adds the itemIds to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithNamespace

WithNamespace adds the namespace to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithSkus

WithSkus adds the skus to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithTimeout

WithTimeout adds the timeout to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WithUserID

WithUserID adds the userID to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) WriteToRequest

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 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

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

type GetEntitlementParams

type GetEntitlementParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *GetEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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 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 (*GetUserAppEntitlementByAppIDNotFound) GetPayload

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 (*GetUserAppEntitlementByAppIDOK) GetPayload

type GetUserAppEntitlementByAppIDParams

type GetUserAppEntitlementByAppIDParams struct {

	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the get user app entitlement by app Id params

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) 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

WithActiveOnly adds the activeOnly to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WithAppID

WithAppID adds the appID to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WithContext

WithContext adds the context to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WithNamespace

WithNamespace adds the namespace to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WithTimeout

WithTimeout adds the timeout to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WithUserID

WithUserID adds the userID to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) WriteToRequest

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 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 (*GetUserAppEntitlementOwnershipByAppIDOK) GetPayload

type GetUserAppEntitlementOwnershipByAppIDParams

type GetUserAppEntitlementOwnershipByAppIDParams struct {

	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

SetAppID adds the appId to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetContext

SetContext adds the context to the get user app entitlement ownership by app Id params

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) 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

SetTimeout adds the timeout to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetUserID

SetUserID adds the userId to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithAppID

WithAppID adds the appID to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithContext

WithContext adds the context to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithNamespace

WithNamespace adds the namespace to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithTimeout

WithTimeout adds the timeout to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithUserID

WithUserID adds the userID to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest

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 GetUserDistributionReceiversBadRequest

type GetUserDistributionReceiversBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

GetUserDistributionReceiversBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31123</td><td>Publisher namespace [{namespace}] is not distributable</td></tr></table>

func NewGetUserDistributionReceiversBadRequest

func NewGetUserDistributionReceiversBadRequest() *GetUserDistributionReceiversBadRequest

NewGetUserDistributionReceiversBadRequest creates a GetUserDistributionReceiversBadRequest with default headers values

func (*GetUserDistributionReceiversBadRequest) Error

func (*GetUserDistributionReceiversBadRequest) GetPayload

type GetUserDistributionReceiversOK

type GetUserDistributionReceiversOK struct {
	Payload []*platformclientmodels.DistributionReceiverInfo
}

GetUserDistributionReceiversOK handles this case with default header values.

successful operation

func NewGetUserDistributionReceiversOK

func NewGetUserDistributionReceiversOK() *GetUserDistributionReceiversOK

NewGetUserDistributionReceiversOK creates a GetUserDistributionReceiversOK with default headers values

func (*GetUserDistributionReceiversOK) Error

func (*GetUserDistributionReceiversOK) GetPayload

type GetUserDistributionReceiversParams

type GetUserDistributionReceiversParams struct {

	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserDistributionReceiversParams contains all the parameters to send to the API endpoint for the get user distribution receivers operation typically these are written to a http.Request

func NewGetUserDistributionReceiversParams

func NewGetUserDistributionReceiversParams() *GetUserDistributionReceiversParams

NewGetUserDistributionReceiversParams creates a new GetUserDistributionReceiversParams object with the default values initialized.

func NewGetUserDistributionReceiversParamsWithContext

func NewGetUserDistributionReceiversParamsWithContext(ctx context.Context) *GetUserDistributionReceiversParams

NewGetUserDistributionReceiversParamsWithContext creates a new GetUserDistributionReceiversParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserDistributionReceiversParamsWithHTTPClient

func NewGetUserDistributionReceiversParamsWithHTTPClient(client *http.Client) *GetUserDistributionReceiversParams

NewGetUserDistributionReceiversParamsWithHTTPClient creates a new GetUserDistributionReceiversParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserDistributionReceiversParamsWithTimeout

func NewGetUserDistributionReceiversParamsWithTimeout(timeout time.Duration) *GetUserDistributionReceiversParams

NewGetUserDistributionReceiversParamsWithTimeout creates a new GetUserDistributionReceiversParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserDistributionReceiversParams) SetContext

SetContext adds the context to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) SetHTTPClient

func (o *GetUserDistributionReceiversParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) SetNamespace

func (o *GetUserDistributionReceiversParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) SetTimeout

func (o *GetUserDistributionReceiversParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) SetUserID

func (o *GetUserDistributionReceiversParams) SetUserID(userID string)

SetUserID adds the userId to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) WithContext

WithContext adds the context to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) WithNamespace

WithNamespace adds the namespace to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) WithTimeout

WithTimeout adds the timeout to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) WithUserID

WithUserID adds the userID to the get user distribution receivers params

func (*GetUserDistributionReceiversParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserDistributionReceiversReader

type GetUserDistributionReceiversReader struct {
	// contains filtered or unexported fields
}

GetUserDistributionReceiversReader is a Reader for the GetUserDistributionReceivers structure.

func (*GetUserDistributionReceiversReader) ReadResponse

func (o *GetUserDistributionReceiversReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserEntitlementByItemIDNotFound added in v0.7.0

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 added in v0.7.0

func NewGetUserEntitlementByItemIDNotFound() *GetUserEntitlementByItemIDNotFound

NewGetUserEntitlementByItemIDNotFound creates a GetUserEntitlementByItemIDNotFound with default headers values

func (*GetUserEntitlementByItemIDNotFound) Error added in v0.7.0

func (*GetUserEntitlementByItemIDNotFound) GetPayload added in v0.7.0

type GetUserEntitlementByItemIDOK added in v0.7.0

type GetUserEntitlementByItemIDOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

GetUserEntitlementByItemIDOK handles this case with default header values.

successful operation

func NewGetUserEntitlementByItemIDOK added in v0.7.0

func NewGetUserEntitlementByItemIDOK() *GetUserEntitlementByItemIDOK

NewGetUserEntitlementByItemIDOK creates a GetUserEntitlementByItemIDOK with default headers values

func (*GetUserEntitlementByItemIDOK) Error added in v0.7.0

func (*GetUserEntitlementByItemIDOK) GetPayload added in v0.7.0

type GetUserEntitlementByItemIDParams added in v0.7.0

type GetUserEntitlementByItemIDParams struct {

	/*ActiveOnly*/
	ActiveOnly *bool
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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 added in v0.7.0

func NewGetUserEntitlementByItemIDParams() *GetUserEntitlementByItemIDParams

NewGetUserEntitlementByItemIDParams creates a new GetUserEntitlementByItemIDParams object with the default values initialized.

func NewGetUserEntitlementByItemIDParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetContext added in v0.7.0

SetContext adds the context to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetEntitlementClazz added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetHTTPClient added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetItemID added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetItemID(itemID string)

SetItemID adds the itemId to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetNamespace added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetTimeout added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) SetUserID added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithActiveOnly added in v0.7.0

WithActiveOnly adds the activeOnly to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithContext added in v0.7.0

WithContext adds the context to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithEntitlementClazz added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *GetUserEntitlementByItemIDParams

WithEntitlementClazz adds the entitlementClazz to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithItemID added in v0.7.0

WithItemID adds the itemID to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WithUserID added in v0.7.0

WithUserID adds the userID to the get user entitlement by item Id params

func (*GetUserEntitlementByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type GetUserEntitlementByItemIDReader added in v0.7.0

type GetUserEntitlementByItemIDReader struct {
	// contains filtered or unexported fields
}

GetUserEntitlementByItemIDReader is a Reader for the GetUserEntitlementByItemID structure.

func (*GetUserEntitlementByItemIDReader) ReadResponse added in v0.7.0

func (o *GetUserEntitlementByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*GetUserEntitlementBySkuNotFound) GetPayload

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

type GetUserEntitlementBySkuParams

type GetUserEntitlementBySkuParams struct {

	/*ActiveOnly*/
	ActiveOnly *bool
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *GetUserEntitlementBySkuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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) 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

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

WithHTTPClient adds the HTTPClient to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) WithNamespace

WithNamespace adds the namespace to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) WithSku

WithSku adds the sku to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) WithTimeout

WithTimeout adds the timeout to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) WithUserID

WithUserID adds the userID to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) WriteToRequest

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 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 (*GetUserEntitlementHistoriesOK) GetPayload

type GetUserEntitlementHistoriesParams

type GetUserEntitlementHistoriesParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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) SetHTTPClient

func (o *GetUserEntitlementHistoriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

WithHTTPClient adds the HTTPClient to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithNamespace

WithNamespace adds the namespace to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithTimeout

WithTimeout adds the timeout to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithUserID

WithUserID adds the userID to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WriteToRequest

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 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 (*GetUserEntitlementNotFound) GetPayload

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

type GetUserEntitlementOwnershipByItemIDOK added in v0.7.0

type GetUserEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

GetUserEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewGetUserEntitlementOwnershipByItemIDOK added in v0.7.0

func NewGetUserEntitlementOwnershipByItemIDOK() *GetUserEntitlementOwnershipByItemIDOK

NewGetUserEntitlementOwnershipByItemIDOK creates a GetUserEntitlementOwnershipByItemIDOK with default headers values

func (*GetUserEntitlementOwnershipByItemIDOK) Error added in v0.7.0

func (*GetUserEntitlementOwnershipByItemIDOK) GetPayload added in v0.7.0

type GetUserEntitlementOwnershipByItemIDParams added in v0.7.0

type GetUserEntitlementOwnershipByItemIDParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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 added in v0.7.0

func NewGetUserEntitlementOwnershipByItemIDParams() *GetUserEntitlementOwnershipByItemIDParams

NewGetUserEntitlementOwnershipByItemIDParams creates a new GetUserEntitlementOwnershipByItemIDParams object with the default values initialized.

func NewGetUserEntitlementOwnershipByItemIDParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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) SetContext added in v0.7.0

SetContext adds the context to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz added in v0.7.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient added in v0.7.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetItemID added in v0.7.0

SetItemID adds the itemId to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetNamespace added in v0.7.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetTimeout added in v0.7.0

SetTimeout adds the timeout to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetUserID added in v0.7.0

SetUserID adds the userId to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithContext added in v0.7.0

WithContext adds the context to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz added in v0.7.0

WithEntitlementClazz adds the entitlementClazz to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithItemID added in v0.7.0

WithItemID adds the itemID to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithUserID added in v0.7.0

WithUserID adds the userID to the get user entitlement ownership by item Id params

func (*GetUserEntitlementOwnershipByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type GetUserEntitlementOwnershipByItemIDReader added in v0.7.0

type GetUserEntitlementOwnershipByItemIDReader struct {
	// contains filtered or unexported fields
}

GetUserEntitlementOwnershipByItemIDReader is a Reader for the GetUserEntitlementOwnershipByItemID structure.

func (*GetUserEntitlementOwnershipByItemIDReader) ReadResponse added in v0.7.0

func (o *GetUserEntitlementOwnershipByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*GetUserEntitlementOwnershipBySkuOK) GetPayload

type GetUserEntitlementOwnershipBySkuParams

type GetUserEntitlementOwnershipBySkuParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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) SetHTTPClient

func (o *GetUserEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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) SetSku

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

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

WithHTTPClient adds the HTTPClient to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) WithNamespace

WithNamespace adds the namespace to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) WithSku

WithSku adds the sku to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) WithTimeout

WithTimeout adds the timeout to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) WithUserID

WithUserID adds the userID to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) WriteToRequest

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 GetUserEntitlementParams

type GetUserEntitlementParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *GetUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

WithTimeout adds the timeout to the get user entitlement params

func (*GetUserEntitlementParams) WithUserID

WithUserID adds the userID to the get user entitlement params

func (*GetUserEntitlementParams) WriteToRequest

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 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 (*GrantUserEntitlementCreated) GetPayload

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 (*GrantUserEntitlementNotFound) GetPayload

type GrantUserEntitlementParams

type GrantUserEntitlementParams struct {

	/*Body*/
	Body []*platformclientmodels.EntitlementGrant
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetBody

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) SetHTTPClient

func (o *GrantUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

WithBody adds the body to the grant user entitlement params

func (*GrantUserEntitlementParams) WithContext

WithContext adds the context to the grant user entitlement params

func (*GrantUserEntitlementParams) WithHTTPClient

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

WithTimeout adds the timeout to the grant user entitlement params

func (*GrantUserEntitlementParams) WithUserID

WithUserID adds the userID to the grant user entitlement params

func (*GrantUserEntitlementParams) WriteToRequest

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 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 (*GrantUserEntitlementUnprocessableEntity) GetPayload

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>20006</td><td>optimistic lock</td></tr></table>

func NewPublicConsumeUserEntitlementConflict

func NewPublicConsumeUserEntitlementConflict() *PublicConsumeUserEntitlementConflict

NewPublicConsumeUserEntitlementConflict creates a PublicConsumeUserEntitlementConflict with default headers values

func (*PublicConsumeUserEntitlementConflict) Error

func (*PublicConsumeUserEntitlementConflict) GetPayload

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></table>

func NewPublicConsumeUserEntitlementNotFound

func NewPublicConsumeUserEntitlementNotFound() *PublicConsumeUserEntitlementNotFound

NewPublicConsumeUserEntitlementNotFound creates a PublicConsumeUserEntitlementNotFound with default headers values

func (*PublicConsumeUserEntitlementNotFound) Error

func (*PublicConsumeUserEntitlementNotFound) GetPayload

type PublicConsumeUserEntitlementOK

type PublicConsumeUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

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 (*PublicConsumeUserEntitlementOK) GetPayload

type PublicConsumeUserEntitlementParams

type PublicConsumeUserEntitlementParams struct {

	/*Body*/
	Body *platformclientmodels.EntitlementDecrement
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetBody

SetBody adds the body to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetContext

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) SetHTTPClient

func (o *PublicConsumeUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

WithBody adds the body to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithContext

WithContext adds the context to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithUserID

WithUserID adds the userID to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WriteToRequest

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 PublicCreateUserDistributionReceiverConflict

type PublicCreateUserDistributionReceiverConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicCreateUserDistributionReceiverConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31271</td><td>Distribution receiver of user [{userId}] and extUserId [{extUserId}] already exists in namespace [{namespace}]</td></tr></table>

func NewPublicCreateUserDistributionReceiverConflict

func NewPublicCreateUserDistributionReceiverConflict() *PublicCreateUserDistributionReceiverConflict

NewPublicCreateUserDistributionReceiverConflict creates a PublicCreateUserDistributionReceiverConflict with default headers values

func (*PublicCreateUserDistributionReceiverConflict) Error

func (*PublicCreateUserDistributionReceiverConflict) GetPayload

type PublicCreateUserDistributionReceiverCreated

type PublicCreateUserDistributionReceiverCreated struct {
}

PublicCreateUserDistributionReceiverCreated handles this case with default header values.

create distribution receiver successfully

func NewPublicCreateUserDistributionReceiverCreated

func NewPublicCreateUserDistributionReceiverCreated() *PublicCreateUserDistributionReceiverCreated

NewPublicCreateUserDistributionReceiverCreated creates a PublicCreateUserDistributionReceiverCreated with default headers values

func (*PublicCreateUserDistributionReceiverCreated) Error

type PublicCreateUserDistributionReceiverParams

type PublicCreateUserDistributionReceiverParams struct {

	/*Body*/
	Body *platformclientmodels.DistributionReceiverCreate
	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicCreateUserDistributionReceiverParams contains all the parameters to send to the API endpoint for the public create user distribution receiver operation typically these are written to a http.Request

func NewPublicCreateUserDistributionReceiverParams

func NewPublicCreateUserDistributionReceiverParams() *PublicCreateUserDistributionReceiverParams

NewPublicCreateUserDistributionReceiverParams creates a new PublicCreateUserDistributionReceiverParams object with the default values initialized.

func NewPublicCreateUserDistributionReceiverParamsWithContext

func NewPublicCreateUserDistributionReceiverParamsWithContext(ctx context.Context) *PublicCreateUserDistributionReceiverParams

NewPublicCreateUserDistributionReceiverParamsWithContext creates a new PublicCreateUserDistributionReceiverParams object with the default values initialized, and the ability to set a context for a request

func NewPublicCreateUserDistributionReceiverParamsWithHTTPClient

func NewPublicCreateUserDistributionReceiverParamsWithHTTPClient(client *http.Client) *PublicCreateUserDistributionReceiverParams

NewPublicCreateUserDistributionReceiverParamsWithHTTPClient creates a new PublicCreateUserDistributionReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicCreateUserDistributionReceiverParamsWithTimeout

func NewPublicCreateUserDistributionReceiverParamsWithTimeout(timeout time.Duration) *PublicCreateUserDistributionReceiverParams

NewPublicCreateUserDistributionReceiverParamsWithTimeout creates a new PublicCreateUserDistributionReceiverParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicCreateUserDistributionReceiverParams) SetBody

SetBody adds the body to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) SetContext

SetContext adds the context to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) SetExtUserID

func (o *PublicCreateUserDistributionReceiverParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) SetHTTPClient

func (o *PublicCreateUserDistributionReceiverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) SetNamespace

func (o *PublicCreateUserDistributionReceiverParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) SetTimeout

SetTimeout adds the timeout to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) SetUserID

SetUserID adds the userId to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithBody

WithBody adds the body to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithContext

WithContext adds the context to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithExtUserID

WithExtUserID adds the extUserID to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithNamespace

WithNamespace adds the namespace to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithTimeout

WithTimeout adds the timeout to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WithUserID

WithUserID adds the userID to the public create user distribution receiver params

func (*PublicCreateUserDistributionReceiverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCreateUserDistributionReceiverReader

type PublicCreateUserDistributionReceiverReader struct {
	// contains filtered or unexported fields
}

PublicCreateUserDistributionReceiverReader is a Reader for the PublicCreateUserDistributionReceiver structure.

func (*PublicCreateUserDistributionReceiverReader) ReadResponse

func (o *PublicCreateUserDistributionReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicDeleteUserDistributionReceiverNoContent

type PublicDeleteUserDistributionReceiverNoContent struct {
}

PublicDeleteUserDistributionReceiverNoContent handles this case with default header values.

delete a distribution receiver successfully

func NewPublicDeleteUserDistributionReceiverNoContent

func NewPublicDeleteUserDistributionReceiverNoContent() *PublicDeleteUserDistributionReceiverNoContent

NewPublicDeleteUserDistributionReceiverNoContent creates a PublicDeleteUserDistributionReceiverNoContent with default headers values

func (*PublicDeleteUserDistributionReceiverNoContent) Error

type PublicDeleteUserDistributionReceiverNotFound

type PublicDeleteUserDistributionReceiverNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicDeleteUserDistributionReceiverNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31241</td><td>Distribution receiver of user [{userId}] and extUserId [{extUserId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicDeleteUserDistributionReceiverNotFound

func NewPublicDeleteUserDistributionReceiverNotFound() *PublicDeleteUserDistributionReceiverNotFound

NewPublicDeleteUserDistributionReceiverNotFound creates a PublicDeleteUserDistributionReceiverNotFound with default headers values

func (*PublicDeleteUserDistributionReceiverNotFound) Error

func (*PublicDeleteUserDistributionReceiverNotFound) GetPayload

type PublicDeleteUserDistributionReceiverParams

type PublicDeleteUserDistributionReceiverParams struct {

	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicDeleteUserDistributionReceiverParams contains all the parameters to send to the API endpoint for the public delete user distribution receiver operation typically these are written to a http.Request

func NewPublicDeleteUserDistributionReceiverParams

func NewPublicDeleteUserDistributionReceiverParams() *PublicDeleteUserDistributionReceiverParams

NewPublicDeleteUserDistributionReceiverParams creates a new PublicDeleteUserDistributionReceiverParams object with the default values initialized.

func NewPublicDeleteUserDistributionReceiverParamsWithContext

func NewPublicDeleteUserDistributionReceiverParamsWithContext(ctx context.Context) *PublicDeleteUserDistributionReceiverParams

NewPublicDeleteUserDistributionReceiverParamsWithContext creates a new PublicDeleteUserDistributionReceiverParams object with the default values initialized, and the ability to set a context for a request

func NewPublicDeleteUserDistributionReceiverParamsWithHTTPClient

func NewPublicDeleteUserDistributionReceiverParamsWithHTTPClient(client *http.Client) *PublicDeleteUserDistributionReceiverParams

NewPublicDeleteUserDistributionReceiverParamsWithHTTPClient creates a new PublicDeleteUserDistributionReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicDeleteUserDistributionReceiverParamsWithTimeout

func NewPublicDeleteUserDistributionReceiverParamsWithTimeout(timeout time.Duration) *PublicDeleteUserDistributionReceiverParams

NewPublicDeleteUserDistributionReceiverParamsWithTimeout creates a new PublicDeleteUserDistributionReceiverParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicDeleteUserDistributionReceiverParams) SetContext

SetContext adds the context to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) SetExtUserID

func (o *PublicDeleteUserDistributionReceiverParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) SetHTTPClient

func (o *PublicDeleteUserDistributionReceiverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) SetNamespace

func (o *PublicDeleteUserDistributionReceiverParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) SetTimeout

SetTimeout adds the timeout to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) SetUserID

SetUserID adds the userId to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WithContext

WithContext adds the context to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WithExtUserID

WithExtUserID adds the extUserID to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WithNamespace

WithNamespace adds the namespace to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WithTimeout

WithTimeout adds the timeout to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WithUserID

WithUserID adds the userID to the public delete user distribution receiver params

func (*PublicDeleteUserDistributionReceiverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeleteUserDistributionReceiverReader

type PublicDeleteUserDistributionReceiverReader struct {
	// contains filtered or unexported fields
}

PublicDeleteUserDistributionReceiverReader is a Reader for the PublicDeleteUserDistributionReceiver structure.

func (*PublicDeleteUserDistributionReceiverReader) ReadResponse

func (o *PublicDeleteUserDistributionReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicDistributeUserDistributionBadRequest

type PublicDistributeUserDistributionBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicDistributeUserDistributionBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31121</td><td>Entitlement [{entitlementId}] is not distributable</td></tr><tr><td>31122</td><td>Exceed entitlement available distribute quantity</td></tr><tr><td>31123</td><td>Publisher namespace [{namespace}] is not distributable</td></tr></table>

func NewPublicDistributeUserDistributionBadRequest

func NewPublicDistributeUserDistributionBadRequest() *PublicDistributeUserDistributionBadRequest

NewPublicDistributeUserDistributionBadRequest creates a PublicDistributeUserDistributionBadRequest with default headers values

func (*PublicDistributeUserDistributionBadRequest) Error

func (*PublicDistributeUserDistributionBadRequest) GetPayload

type PublicDistributeUserDistributionNotFound

type PublicDistributeUserDistributionNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicDistributeUserDistributionNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20017</td><td>user [{userId}] in namespace [{namespaceA}] does not linked in [{namespaceB}]</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr><tr><td>31241</td><td>Distribution receiver of user [{userId}] and extUserId [{extUserId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicDistributeUserDistributionNotFound

func NewPublicDistributeUserDistributionNotFound() *PublicDistributeUserDistributionNotFound

NewPublicDistributeUserDistributionNotFound creates a PublicDistributeUserDistributionNotFound with default headers values

func (*PublicDistributeUserDistributionNotFound) Error

func (*PublicDistributeUserDistributionNotFound) GetPayload

type PublicDistributeUserDistributionOK

type PublicDistributeUserDistributionOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

PublicDistributeUserDistributionOK handles this case with default header values.

successful operation

func NewPublicDistributeUserDistributionOK

func NewPublicDistributeUserDistributionOK() *PublicDistributeUserDistributionOK

NewPublicDistributeUserDistributionOK creates a PublicDistributeUserDistributionOK with default headers values

func (*PublicDistributeUserDistributionOK) Error

func (*PublicDistributeUserDistributionOK) GetPayload

type PublicDistributeUserDistributionParams

type PublicDistributeUserDistributionParams struct {

	/*EntitlementID
	  distributable entitlement id

	*/
	EntitlementID string
	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  publisher namespace

	*/
	Namespace string
	/*Quantity*/
	Quantity *int32
	/*TargetNamespace
	  target game namespace

	*/
	TargetNamespace string
	/*UserID
	  publisher user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicDistributeUserDistributionParams contains all the parameters to send to the API endpoint for the public distribute user distribution operation typically these are written to a http.Request

func NewPublicDistributeUserDistributionParams

func NewPublicDistributeUserDistributionParams() *PublicDistributeUserDistributionParams

NewPublicDistributeUserDistributionParams creates a new PublicDistributeUserDistributionParams object with the default values initialized.

func NewPublicDistributeUserDistributionParamsWithContext

func NewPublicDistributeUserDistributionParamsWithContext(ctx context.Context) *PublicDistributeUserDistributionParams

NewPublicDistributeUserDistributionParamsWithContext creates a new PublicDistributeUserDistributionParams object with the default values initialized, and the ability to set a context for a request

func NewPublicDistributeUserDistributionParamsWithHTTPClient

func NewPublicDistributeUserDistributionParamsWithHTTPClient(client *http.Client) *PublicDistributeUserDistributionParams

NewPublicDistributeUserDistributionParamsWithHTTPClient creates a new PublicDistributeUserDistributionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicDistributeUserDistributionParamsWithTimeout

func NewPublicDistributeUserDistributionParamsWithTimeout(timeout time.Duration) *PublicDistributeUserDistributionParams

NewPublicDistributeUserDistributionParamsWithTimeout creates a new PublicDistributeUserDistributionParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicDistributeUserDistributionParams) SetContext

SetContext adds the context to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetEntitlementID

func (o *PublicDistributeUserDistributionParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetExtUserID

func (o *PublicDistributeUserDistributionParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetHTTPClient

func (o *PublicDistributeUserDistributionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetNamespace

func (o *PublicDistributeUserDistributionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetQuantity

func (o *PublicDistributeUserDistributionParams) SetQuantity(quantity *int32)

SetQuantity adds the quantity to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetTargetNamespace

func (o *PublicDistributeUserDistributionParams) SetTargetNamespace(targetNamespace string)

SetTargetNamespace adds the targetNamespace to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetTimeout

func (o *PublicDistributeUserDistributionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) SetUserID

func (o *PublicDistributeUserDistributionParams) SetUserID(userID string)

SetUserID adds the userId to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithContext

WithContext adds the context to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithExtUserID

WithExtUserID adds the extUserID to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithNamespace

WithNamespace adds the namespace to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithQuantity

WithQuantity adds the quantity to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithTargetNamespace

WithTargetNamespace adds the targetNamespace to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithTimeout

WithTimeout adds the timeout to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WithUserID

WithUserID adds the userID to the public distribute user distribution params

func (*PublicDistributeUserDistributionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDistributeUserDistributionReader

type PublicDistributeUserDistributionReader struct {
	// contains filtered or unexported fields
}

PublicDistributeUserDistributionReader is a Reader for the PublicDistributeUserDistribution structure.

func (*PublicDistributeUserDistributionReader) ReadResponse

func (o *PublicDistributeUserDistributionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*PublicExistsAnyMyActiveEntitlementOK) GetPayload

type PublicExistsAnyMyActiveEntitlementParams

type PublicExistsAnyMyActiveEntitlementParams struct {

	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the public exists any my active entitlement params

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) 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

SetSkus adds the skus to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) SetTimeout

SetTimeout adds the timeout to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithAppIds

WithAppIds adds the appIds to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithContext

WithContext adds the context to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithItemIds

WithItemIds adds the itemIds to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithSkus

WithSkus adds the skus to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) WriteToRequest

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 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 (*PublicExistsAnyUserActiveEntitlementOK) GetPayload

type PublicExistsAnyUserActiveEntitlementParams

type PublicExistsAnyUserActiveEntitlementParams struct {

	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the public exists any user active entitlement params

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) 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

SetSkus adds the skus to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) SetTimeout

SetTimeout adds the timeout to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) SetUserID

SetUserID adds the userId to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithAppIds

WithAppIds adds the appIds to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithContext

WithContext adds the context to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithItemIds

WithItemIds adds the itemIds to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithSkus

WithSkus adds the skus to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WithUserID

WithUserID adds the userID to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) WriteToRequest

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 PublicGetEntitlementOwnershipTokenOK added in v0.7.0

type PublicGetEntitlementOwnershipTokenOK struct {
	Payload *platformclientmodels.OwnershipToken
}

PublicGetEntitlementOwnershipTokenOK handles this case with default header values.

successful operation

func NewPublicGetEntitlementOwnershipTokenOK added in v0.7.0

func NewPublicGetEntitlementOwnershipTokenOK() *PublicGetEntitlementOwnershipTokenOK

NewPublicGetEntitlementOwnershipTokenOK creates a PublicGetEntitlementOwnershipTokenOK with default headers values

func (*PublicGetEntitlementOwnershipTokenOK) Error added in v0.7.0

func (*PublicGetEntitlementOwnershipTokenOK) GetPayload added in v0.7.0

type PublicGetEntitlementOwnershipTokenParams added in v0.7.0

type PublicGetEntitlementOwnershipTokenParams struct {

	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string

	Context    context.Context
	HTTPClient *http.Client
	// 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 added in v0.7.0

func NewPublicGetEntitlementOwnershipTokenParams() *PublicGetEntitlementOwnershipTokenParams

NewPublicGetEntitlementOwnershipTokenParams creates a new PublicGetEntitlementOwnershipTokenParams object with the default values initialized.

func NewPublicGetEntitlementOwnershipTokenParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetAppIds(appIds []string)

SetAppIds adds the appIds to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetContext added in v0.7.0

SetContext adds the context to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClient added in v0.7.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetItemIds added in v0.7.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetItemIds(itemIds []string)

SetItemIds adds the itemIds to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetNamespace added in v0.7.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetSkus added in v0.7.0

SetSkus adds the skus to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetTimeout added in v0.7.0

SetTimeout adds the timeout to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithAppIds added in v0.7.0

WithAppIds adds the appIds to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithContext added in v0.7.0

WithContext adds the context to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithItemIds added in v0.7.0

WithItemIds adds the itemIds to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithSkus added in v0.7.0

WithSkus adds the skus to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetEntitlementOwnershipTokenReader added in v0.7.0

type PublicGetEntitlementOwnershipTokenReader struct {
	// contains filtered or unexported fields
}

PublicGetEntitlementOwnershipTokenReader is a Reader for the PublicGetEntitlementOwnershipToken structure.

func (*PublicGetEntitlementOwnershipTokenReader) ReadResponse added in v0.7.0

func (o *PublicGetEntitlementOwnershipTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*PublicGetMyAppEntitlementOwnershipByAppIDOK) GetPayload

type PublicGetMyAppEntitlementOwnershipByAppIDParams

type PublicGetMyAppEntitlementOwnershipByAppIDParams struct {

	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// 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

SetAppID adds the appId to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetContext

SetContext adds the context to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient 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

SetTimeout adds the timeout to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithAppID

WithAppID adds the appID to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithContext

WithContext adds the context to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithNamespace

WithNamespace adds the namespace to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithTimeout

WithTimeout adds the timeout to the public get my app entitlement ownership by app Id params

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WriteToRequest

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 PublicGetMyEntitlementOwnershipByItemIDOK added in v0.7.0

type PublicGetMyEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetMyEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetMyEntitlementOwnershipByItemIDOK added in v0.7.0

func NewPublicGetMyEntitlementOwnershipByItemIDOK() *PublicGetMyEntitlementOwnershipByItemIDOK

NewPublicGetMyEntitlementOwnershipByItemIDOK creates a PublicGetMyEntitlementOwnershipByItemIDOK with default headers values

func (*PublicGetMyEntitlementOwnershipByItemIDOK) Error added in v0.7.0

func (*PublicGetMyEntitlementOwnershipByItemIDOK) GetPayload added in v0.7.0

type PublicGetMyEntitlementOwnershipByItemIDParams added in v0.7.0

type PublicGetMyEntitlementOwnershipByItemIDParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// 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 added in v0.7.0

func NewPublicGetMyEntitlementOwnershipByItemIDParams() *PublicGetMyEntitlementOwnershipByItemIDParams

NewPublicGetMyEntitlementOwnershipByItemIDParams creates a new PublicGetMyEntitlementOwnershipByItemIDParams object with the default values initialized.

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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) SetContext added in v0.7.0

SetContext adds the context to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz added in v0.7.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient added in v0.7.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID added in v0.7.0

SetItemID adds the itemId to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace added in v0.7.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetTimeout added in v0.7.0

SetTimeout adds the timeout to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithContext added in v0.7.0

WithContext adds the context to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithEntitlementClazz added in v0.7.0

WithEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithItemID added in v0.7.0

WithItemID adds the itemID to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetMyEntitlementOwnershipByItemIDReader added in v0.7.0

type PublicGetMyEntitlementOwnershipByItemIDReader struct {
	// contains filtered or unexported fields
}

PublicGetMyEntitlementOwnershipByItemIDReader is a Reader for the PublicGetMyEntitlementOwnershipByItemID structure.

func (*PublicGetMyEntitlementOwnershipByItemIDReader) ReadResponse added in v0.7.0

func (o *PublicGetMyEntitlementOwnershipByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*PublicGetMyEntitlementOwnershipBySkuOK) GetPayload

type PublicGetMyEntitlementOwnershipBySkuParams

type PublicGetMyEntitlementOwnershipBySkuParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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) SetHTTPClient

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

SetSku adds the sku to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetTimeout

SetTimeout adds the timeout to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithContext

WithContext adds the context to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithEntitlementClazz

WithEntitlementClazz adds the entitlementClazz to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithNamespace

WithNamespace adds the namespace to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithSku

WithSku adds the sku to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithTimeout

WithTimeout adds the timeout to the public get my entitlement ownership by sku params

func (*PublicGetMyEntitlementOwnershipBySkuParams) WriteToRequest

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 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 (*PublicGetUserAppEntitlementByAppIDNotFound) GetPayload

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 (*PublicGetUserAppEntitlementByAppIDOK) GetPayload

type PublicGetUserAppEntitlementByAppIDParams

type PublicGetUserAppEntitlementByAppIDParams struct {

	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

SetAppID adds the appId to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) SetContext

SetContext adds the context to the public get user app entitlement by app Id params

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) 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

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

WithAppID adds the appID to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) WithContext

WithContext adds the context to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) WithNamespace

WithNamespace adds the namespace to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) WithTimeout

WithTimeout adds the timeout to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) WithUserID

WithUserID adds the userID to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) WriteToRequest

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 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 (*PublicGetUserAppEntitlementOwnershipByAppIDOK) GetPayload

type PublicGetUserAppEntitlementOwnershipByAppIDParams

type PublicGetUserAppEntitlementOwnershipByAppIDParams struct {

	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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

SetAppID adds the appId to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetContext

SetContext adds the context to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient 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

SetTimeout adds the timeout to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetUserID

SetUserID adds the userId to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithAppID

WithAppID adds the appID to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithContext

WithContext adds the context to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithNamespace

WithNamespace adds the namespace to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithTimeout

WithTimeout adds the timeout to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithUserID

WithUserID adds the userID to the public get user app entitlement ownership by app Id params

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest

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 PublicGetUserDistributionReceiversBadRequest

type PublicGetUserDistributionReceiversBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserDistributionReceiversBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31123</td><td>Publisher namespace [{namespace}] is not distributable</td></tr></table>

func NewPublicGetUserDistributionReceiversBadRequest

func NewPublicGetUserDistributionReceiversBadRequest() *PublicGetUserDistributionReceiversBadRequest

NewPublicGetUserDistributionReceiversBadRequest creates a PublicGetUserDistributionReceiversBadRequest with default headers values

func (*PublicGetUserDistributionReceiversBadRequest) Error

func (*PublicGetUserDistributionReceiversBadRequest) GetPayload

type PublicGetUserDistributionReceiversNotFound

type PublicGetUserDistributionReceiversNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserDistributionReceiversNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20017</td><td>user [{userId}] in namespace [{namespaceA}] does not linked in [{namespaceB}]</td></tr></table>

func NewPublicGetUserDistributionReceiversNotFound

func NewPublicGetUserDistributionReceiversNotFound() *PublicGetUserDistributionReceiversNotFound

NewPublicGetUserDistributionReceiversNotFound creates a PublicGetUserDistributionReceiversNotFound with default headers values

func (*PublicGetUserDistributionReceiversNotFound) Error

func (*PublicGetUserDistributionReceiversNotFound) GetPayload

type PublicGetUserDistributionReceiversOK

type PublicGetUserDistributionReceiversOK struct {
	Payload []*platformclientmodels.DistributionReceiverInfo
}

PublicGetUserDistributionReceiversOK handles this case with default header values.

successful operation

func NewPublicGetUserDistributionReceiversOK

func NewPublicGetUserDistributionReceiversOK() *PublicGetUserDistributionReceiversOK

NewPublicGetUserDistributionReceiversOK creates a PublicGetUserDistributionReceiversOK with default headers values

func (*PublicGetUserDistributionReceiversOK) Error

func (*PublicGetUserDistributionReceiversOK) GetPayload

type PublicGetUserDistributionReceiversParams

type PublicGetUserDistributionReceiversParams struct {

	/*Namespace
	  publisher namespace

	*/
	Namespace string
	/*TargetNamespace
	  target game namespace

	*/
	TargetNamespace string
	/*UserID
	  publisher user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicGetUserDistributionReceiversParams contains all the parameters to send to the API endpoint for the public get user distribution receivers operation typically these are written to a http.Request

func NewPublicGetUserDistributionReceiversParams

func NewPublicGetUserDistributionReceiversParams() *PublicGetUserDistributionReceiversParams

NewPublicGetUserDistributionReceiversParams creates a new PublicGetUserDistributionReceiversParams object with the default values initialized.

func NewPublicGetUserDistributionReceiversParamsWithContext

func NewPublicGetUserDistributionReceiversParamsWithContext(ctx context.Context) *PublicGetUserDistributionReceiversParams

NewPublicGetUserDistributionReceiversParamsWithContext creates a new PublicGetUserDistributionReceiversParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetUserDistributionReceiversParamsWithHTTPClient

func NewPublicGetUserDistributionReceiversParamsWithHTTPClient(client *http.Client) *PublicGetUserDistributionReceiversParams

NewPublicGetUserDistributionReceiversParamsWithHTTPClient creates a new PublicGetUserDistributionReceiversParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetUserDistributionReceiversParamsWithTimeout

func NewPublicGetUserDistributionReceiversParamsWithTimeout(timeout time.Duration) *PublicGetUserDistributionReceiversParams

NewPublicGetUserDistributionReceiversParamsWithTimeout creates a new PublicGetUserDistributionReceiversParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetUserDistributionReceiversParams) SetContext

SetContext adds the context to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) SetHTTPClient

func (o *PublicGetUserDistributionReceiversParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) SetNamespace

func (o *PublicGetUserDistributionReceiversParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) SetTargetNamespace

func (o *PublicGetUserDistributionReceiversParams) SetTargetNamespace(targetNamespace string)

SetTargetNamespace adds the targetNamespace to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) SetTimeout

SetTimeout adds the timeout to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) SetUserID

func (o *PublicGetUserDistributionReceiversParams) SetUserID(userID string)

SetUserID adds the userId to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WithContext

WithContext adds the context to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WithNamespace

WithNamespace adds the namespace to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WithTargetNamespace

WithTargetNamespace adds the targetNamespace to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WithTimeout

WithTimeout adds the timeout to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WithUserID

WithUserID adds the userID to the public get user distribution receivers params

func (*PublicGetUserDistributionReceiversParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserDistributionReceiversReader

type PublicGetUserDistributionReceiversReader struct {
	// contains filtered or unexported fields
}

PublicGetUserDistributionReceiversReader is a Reader for the PublicGetUserDistributionReceivers structure.

func (*PublicGetUserDistributionReceiversReader) ReadResponse

func (o *PublicGetUserDistributionReceiversReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementByItemIDNotFound added in v0.7.0

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 added in v0.7.0

func NewPublicGetUserEntitlementByItemIDNotFound() *PublicGetUserEntitlementByItemIDNotFound

NewPublicGetUserEntitlementByItemIDNotFound creates a PublicGetUserEntitlementByItemIDNotFound with default headers values

func (*PublicGetUserEntitlementByItemIDNotFound) Error added in v0.7.0

func (*PublicGetUserEntitlementByItemIDNotFound) GetPayload added in v0.7.0

type PublicGetUserEntitlementByItemIDOK added in v0.7.0

type PublicGetUserEntitlementByItemIDOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

PublicGetUserEntitlementByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementByItemIDOK added in v0.7.0

func NewPublicGetUserEntitlementByItemIDOK() *PublicGetUserEntitlementByItemIDOK

NewPublicGetUserEntitlementByItemIDOK creates a PublicGetUserEntitlementByItemIDOK with default headers values

func (*PublicGetUserEntitlementByItemIDOK) Error added in v0.7.0

func (*PublicGetUserEntitlementByItemIDOK) GetPayload added in v0.7.0

type PublicGetUserEntitlementByItemIDParams added in v0.7.0

type PublicGetUserEntitlementByItemIDParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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 added in v0.7.0

func NewPublicGetUserEntitlementByItemIDParams() *PublicGetUserEntitlementByItemIDParams

NewPublicGetUserEntitlementByItemIDParams creates a new PublicGetUserEntitlementByItemIDParams object with the default values initialized.

func NewPublicGetUserEntitlementByItemIDParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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) SetContext added in v0.7.0

SetContext adds the context to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClient added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) SetItemID added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetItemID(itemID string)

SetItemID adds the itemId to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) SetNamespace added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) SetTimeout added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) SetUserID added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetUserID(userID string)

SetUserID adds the userId to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithContext added in v0.7.0

WithContext adds the context to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz(entitlementClazz *string) *PublicGetUserEntitlementByItemIDParams

WithEntitlementClazz adds the entitlementClazz to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithItemID added in v0.7.0

WithItemID adds the itemID to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WithUserID added in v0.7.0

WithUserID adds the userID to the public get user entitlement by item Id params

func (*PublicGetUserEntitlementByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementByItemIDReader added in v0.7.0

type PublicGetUserEntitlementByItemIDReader struct {
	// contains filtered or unexported fields
}

PublicGetUserEntitlementByItemIDReader is a Reader for the PublicGetUserEntitlementByItemID structure.

func (*PublicGetUserEntitlementByItemIDReader) ReadResponse added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*PublicGetUserEntitlementBySkuNotFound) GetPayload

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 (*PublicGetUserEntitlementBySkuOK) GetPayload

type PublicGetUserEntitlementBySkuParams

type PublicGetUserEntitlementBySkuParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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) SetHTTPClient

func (o *PublicGetUserEntitlementBySkuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

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

WithHTTPClient adds the HTTPClient to the public get user entitlement by sku params

func (*PublicGetUserEntitlementBySkuParams) WithNamespace

WithNamespace adds the namespace to the public get user entitlement by sku params

func (*PublicGetUserEntitlementBySkuParams) WithSku

WithSku adds the sku to the public get user entitlement by sku params

func (*PublicGetUserEntitlementBySkuParams) WithTimeout

WithTimeout adds the timeout to the public get user entitlement by sku params

func (*PublicGetUserEntitlementBySkuParams) WithUserID

WithUserID adds the userID to the public get user entitlement by sku params

func (*PublicGetUserEntitlementBySkuParams) WriteToRequest

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 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 (*PublicGetUserEntitlementNotFound) GetPayload

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 (*PublicGetUserEntitlementOK) GetPayload

type PublicGetUserEntitlementOwnershipByItemIDOK added in v0.7.0

type PublicGetUserEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetUserEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementOwnershipByItemIDOK added in v0.7.0

func NewPublicGetUserEntitlementOwnershipByItemIDOK() *PublicGetUserEntitlementOwnershipByItemIDOK

NewPublicGetUserEntitlementOwnershipByItemIDOK creates a PublicGetUserEntitlementOwnershipByItemIDOK with default headers values

func (*PublicGetUserEntitlementOwnershipByItemIDOK) Error added in v0.7.0

func (*PublicGetUserEntitlementOwnershipByItemIDOK) GetPayload added in v0.7.0

type PublicGetUserEntitlementOwnershipByItemIDParams added in v0.7.0

type PublicGetUserEntitlementOwnershipByItemIDParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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 added in v0.7.0

func NewPublicGetUserEntitlementOwnershipByItemIDParams() *PublicGetUserEntitlementOwnershipByItemIDParams

NewPublicGetUserEntitlementOwnershipByItemIDParams creates a new PublicGetUserEntitlementOwnershipByItemIDParams object with the default values initialized.

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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) SetContext added in v0.7.0

SetContext adds the context to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz added in v0.7.0

func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClient added in v0.7.0

SetHTTPClient adds the HTTPClient to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID added in v0.7.0

SetItemID adds the itemId to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace added in v0.7.0

func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetTimeout added in v0.7.0

SetTimeout adds the timeout to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetUserID added in v0.7.0

SetUserID adds the userId to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithContext added in v0.7.0

WithContext adds the context to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz added in v0.7.0

WithEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithItemID added in v0.7.0

WithItemID adds the itemID to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithUserID added in v0.7.0

WithUserID adds the userID to the public get user entitlement ownership by item Id params

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementOwnershipByItemIDReader added in v0.7.0

type PublicGetUserEntitlementOwnershipByItemIDReader struct {
	// contains filtered or unexported fields
}

PublicGetUserEntitlementOwnershipByItemIDReader is a Reader for the PublicGetUserEntitlementOwnershipByItemID structure.

func (*PublicGetUserEntitlementOwnershipByItemIDReader) ReadResponse added in v0.7.0

func (o *PublicGetUserEntitlementOwnershipByItemIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*PublicGetUserEntitlementOwnershipBySkuOK) GetPayload

type PublicGetUserEntitlementOwnershipBySkuParams

type PublicGetUserEntitlementOwnershipBySkuParams struct {

	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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) SetHTTPClient

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

SetSku adds the sku to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetTimeout

SetTimeout adds the timeout to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetUserID

SetUserID adds the userId to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithContext

WithContext adds the context to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz

WithEntitlementClazz adds the entitlementClazz to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithNamespace

WithNamespace adds the namespace to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithSku

WithSku adds the sku to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithTimeout

WithTimeout adds the timeout to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithUserID

WithUserID adds the userID to the public get user entitlement ownership by sku params

func (*PublicGetUserEntitlementOwnershipBySkuParams) WriteToRequest

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 PublicGetUserEntitlementParams

type PublicGetUserEntitlementParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *PublicGetUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

WithHTTPClient adds the HTTPClient to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithUserID

WithUserID adds the userID to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WriteToRequest

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 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 (*PublicQueryUserEntitlementsByAppTypeOK) GetPayload

type PublicQueryUserEntitlementsByAppTypeParams

type PublicQueryUserEntitlementsByAppTypeParams struct {

	/*AppType*/
	AppType string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the public query user entitlements by app type params

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) SetLimit

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

SetTimeout adds the timeout to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) SetUserID

SetUserID adds the userId to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithAppType

WithAppType adds the appType to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithContext

WithContext adds the context to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithLimit

WithLimit adds the limit to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithNamespace

WithNamespace adds the namespace to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithOffset

WithOffset adds the offset to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithTimeout

WithTimeout adds the timeout to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WithUserID

WithUserID adds the userID to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) WriteToRequest

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 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 (*PublicQueryUserEntitlementsOK) GetPayload

type PublicQueryUserEntitlementsParams

type PublicQueryUserEntitlementsParams struct {

	/*AppType*/
	AppType *string
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*EntitlementName*/
	EntitlementName *string
	/*ItemID*/
	ItemID []string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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) SetHTTPClient

func (o *PublicQueryUserEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

WithAppType adds the appType to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithContext

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) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithItemID

WithItemID adds the itemID to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithLimit

WithLimit adds the limit to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithNamespace

WithNamespace adds the namespace to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithOffset

WithOffset adds the offset to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithUserID

WithUserID adds the userID to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WriteToRequest

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 PublicUpdateUserDistributionReceiverNoContent

type PublicUpdateUserDistributionReceiverNoContent struct {
}

PublicUpdateUserDistributionReceiverNoContent handles this case with default header values.

update distribution receiver successfully

func NewPublicUpdateUserDistributionReceiverNoContent

func NewPublicUpdateUserDistributionReceiverNoContent() *PublicUpdateUserDistributionReceiverNoContent

NewPublicUpdateUserDistributionReceiverNoContent creates a PublicUpdateUserDistributionReceiverNoContent with default headers values

func (*PublicUpdateUserDistributionReceiverNoContent) Error

type PublicUpdateUserDistributionReceiverParams

type PublicUpdateUserDistributionReceiverParams struct {

	/*Body*/
	Body *platformclientmodels.DistributionReceiverCreate
	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicUpdateUserDistributionReceiverParams contains all the parameters to send to the API endpoint for the public update user distribution receiver operation typically these are written to a http.Request

func NewPublicUpdateUserDistributionReceiverParams

func NewPublicUpdateUserDistributionReceiverParams() *PublicUpdateUserDistributionReceiverParams

NewPublicUpdateUserDistributionReceiverParams creates a new PublicUpdateUserDistributionReceiverParams object with the default values initialized.

func NewPublicUpdateUserDistributionReceiverParamsWithContext

func NewPublicUpdateUserDistributionReceiverParamsWithContext(ctx context.Context) *PublicUpdateUserDistributionReceiverParams

NewPublicUpdateUserDistributionReceiverParamsWithContext creates a new PublicUpdateUserDistributionReceiverParams object with the default values initialized, and the ability to set a context for a request

func NewPublicUpdateUserDistributionReceiverParamsWithHTTPClient

func NewPublicUpdateUserDistributionReceiverParamsWithHTTPClient(client *http.Client) *PublicUpdateUserDistributionReceiverParams

NewPublicUpdateUserDistributionReceiverParamsWithHTTPClient creates a new PublicUpdateUserDistributionReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicUpdateUserDistributionReceiverParamsWithTimeout

func NewPublicUpdateUserDistributionReceiverParamsWithTimeout(timeout time.Duration) *PublicUpdateUserDistributionReceiverParams

NewPublicUpdateUserDistributionReceiverParamsWithTimeout creates a new PublicUpdateUserDistributionReceiverParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicUpdateUserDistributionReceiverParams) SetBody

SetBody adds the body to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) SetContext

SetContext adds the context to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) SetExtUserID

func (o *PublicUpdateUserDistributionReceiverParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) SetHTTPClient

func (o *PublicUpdateUserDistributionReceiverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) SetNamespace

func (o *PublicUpdateUserDistributionReceiverParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) SetTimeout

SetTimeout adds the timeout to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) SetUserID

SetUserID adds the userId to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithBody

WithBody adds the body to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithContext

WithContext adds the context to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithExtUserID

WithExtUserID adds the extUserID to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithNamespace

WithNamespace adds the namespace to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithTimeout

WithTimeout adds the timeout to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WithUserID

WithUserID adds the userID to the public update user distribution receiver params

func (*PublicUpdateUserDistributionReceiverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateUserDistributionReceiverReader

type PublicUpdateUserDistributionReceiverReader struct {
	// contains filtered or unexported fields
}

PublicUpdateUserDistributionReceiverReader is a Reader for the PublicUpdateUserDistributionReceiver structure.

func (*PublicUpdateUserDistributionReceiverReader) ReadResponse

func (o *PublicUpdateUserDistributionReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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

type QueryEntitlementsParams

type QueryEntitlementsParams struct {

	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppType*/
	AppType *string
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*EntitlementName*/
	EntitlementName *string
	/*ItemID*/
	ItemID []string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID *string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetAppType

func (o *QueryEntitlementsParams) SetAppType(appType *string)

SetAppType adds the appType 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) SetEntitlementClazz

func (o *QueryEntitlementsParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the query entitlements params

func (*QueryEntitlementsParams) SetEntitlementName

func (o *QueryEntitlementsParams) SetEntitlementName(entitlementName *string)

SetEntitlementName adds the entitlementName to the query entitlements params

func (*QueryEntitlementsParams) SetHTTPClient

func (o *QueryEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query entitlements params

func (*QueryEntitlementsParams) SetItemID

func (o *QueryEntitlementsParams) SetItemID(itemID []string)

SetItemID adds the itemId 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) SetUserID

func (o *QueryEntitlementsParams) SetUserID(userID *string)

SetUserID adds the userId 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) WithAppType

func (o *QueryEntitlementsParams) WithAppType(appType *string) *QueryEntitlementsParams

WithAppType adds the appType to the query entitlements params

func (*QueryEntitlementsParams) WithContext

WithContext adds the context to the query entitlements params

func (*QueryEntitlementsParams) WithEntitlementClazz

func (o *QueryEntitlementsParams) WithEntitlementClazz(entitlementClazz *string) *QueryEntitlementsParams

WithEntitlementClazz adds the entitlementClazz to the query entitlements params

func (*QueryEntitlementsParams) WithEntitlementName

func (o *QueryEntitlementsParams) WithEntitlementName(entitlementName *string) *QueryEntitlementsParams

WithEntitlementName adds the entitlementName 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) WithItemID

func (o *QueryEntitlementsParams) WithItemID(itemID []string) *QueryEntitlementsParams

WithItemID adds the itemID to the query entitlements params

func (*QueryEntitlementsParams) WithLimit

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

WithTimeout adds the timeout to the query entitlements params

func (*QueryEntitlementsParams) WithUserID

func (o *QueryEntitlementsParams) WithUserID(userID *string) *QueryEntitlementsParams

WithUserID adds the userID to the query entitlements params

func (*QueryEntitlementsParams) WriteToRequest

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 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 (*QueryUserEntitlementsByAppTypeOK) GetPayload

type QueryUserEntitlementsByAppTypeParams

type QueryUserEntitlementsByAppTypeParams struct {

	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppType*/
	AppType string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

SetContext adds the context to the query user entitlements by app type params

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) 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

WithActiveOnly adds the activeOnly to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithAppType

WithAppType adds the appType to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithContext

WithContext adds the context to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithLimit

WithLimit adds the limit to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithNamespace

WithNamespace adds the namespace to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithOffset

WithOffset adds the offset to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithTimeout

WithTimeout adds the timeout to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithUserID

WithUserID adds the userID to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WriteToRequest

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 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

type QueryUserEntitlementsParams

type QueryUserEntitlementsParams struct {

	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppType*/
	AppType *string
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*EntitlementName*/
	EntitlementName *string
	/*ItemID*/
	ItemID []string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *QueryUserEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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) 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

WithAppType adds the appType to the query user entitlements params

func (*QueryUserEntitlementsParams) WithContext

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) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query user entitlements params

func (*QueryUserEntitlementsParams) WithItemID

WithItemID adds the itemID to the query user entitlements params

func (*QueryUserEntitlementsParams) WithLimit

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

WithOffset adds the offset to the query user entitlements params

func (*QueryUserEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the query user entitlements params

func (*QueryUserEntitlementsParams) WithUserID

WithUserID adds the userID to the query user entitlements params

func (*QueryUserEntitlementsParams) WriteToRequest

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 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 (*RevokeUserEntitlementNotFound) GetPayload

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

type RevokeUserEntitlementParams

type RevokeUserEntitlementParams struct {

	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *RevokeUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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) WithContext

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

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

WithTimeout adds the timeout to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithUserID

WithUserID adds the userID to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WriteToRequest

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 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

type RevokeUserEntitlementsParams

type RevokeUserEntitlementsParams struct {

	/*EntitlementIds
	  separate multiple value by commas parameter.

	*/
	EntitlementIds string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) 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) SetHTTPClient

func (o *RevokeUserEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

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

WithHTTPClient adds the HTTPClient to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithNamespace

WithNamespace adds the namespace to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithUserID

WithUserID adds the userID to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WriteToRequest

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 UpdateUserDistributionReceiverNoContent

type UpdateUserDistributionReceiverNoContent struct {
}

UpdateUserDistributionReceiverNoContent handles this case with default header values.

create distribution receiver successfully

func NewUpdateUserDistributionReceiverNoContent

func NewUpdateUserDistributionReceiverNoContent() *UpdateUserDistributionReceiverNoContent

NewUpdateUserDistributionReceiverNoContent creates a UpdateUserDistributionReceiverNoContent with default headers values

func (*UpdateUserDistributionReceiverNoContent) Error

type UpdateUserDistributionReceiverParams

type UpdateUserDistributionReceiverParams struct {

	/*Body*/
	Body *platformclientmodels.DistributionReceiverCreate
	/*ExtUserID*/
	ExtUserID string
	/*Namespace
	  game namespace

	*/
	Namespace string
	/*UserID
	  game user id

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateUserDistributionReceiverParams contains all the parameters to send to the API endpoint for the update user distribution receiver operation typically these are written to a http.Request

func NewUpdateUserDistributionReceiverParams

func NewUpdateUserDistributionReceiverParams() *UpdateUserDistributionReceiverParams

NewUpdateUserDistributionReceiverParams creates a new UpdateUserDistributionReceiverParams object with the default values initialized.

func NewUpdateUserDistributionReceiverParamsWithContext

func NewUpdateUserDistributionReceiverParamsWithContext(ctx context.Context) *UpdateUserDistributionReceiverParams

NewUpdateUserDistributionReceiverParamsWithContext creates a new UpdateUserDistributionReceiverParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateUserDistributionReceiverParamsWithHTTPClient

func NewUpdateUserDistributionReceiverParamsWithHTTPClient(client *http.Client) *UpdateUserDistributionReceiverParams

NewUpdateUserDistributionReceiverParamsWithHTTPClient creates a new UpdateUserDistributionReceiverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateUserDistributionReceiverParamsWithTimeout

func NewUpdateUserDistributionReceiverParamsWithTimeout(timeout time.Duration) *UpdateUserDistributionReceiverParams

NewUpdateUserDistributionReceiverParamsWithTimeout creates a new UpdateUserDistributionReceiverParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateUserDistributionReceiverParams) SetBody

SetBody adds the body to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) SetContext

SetContext adds the context to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) SetExtUserID

func (o *UpdateUserDistributionReceiverParams) SetExtUserID(extUserID string)

SetExtUserID adds the extUserId to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) SetHTTPClient

func (o *UpdateUserDistributionReceiverParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) SetNamespace

func (o *UpdateUserDistributionReceiverParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) SetTimeout

func (o *UpdateUserDistributionReceiverParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) SetUserID

func (o *UpdateUserDistributionReceiverParams) SetUserID(userID string)

SetUserID adds the userId to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithBody

WithBody adds the body to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithContext

WithContext adds the context to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithExtUserID

WithExtUserID adds the extUserID to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithNamespace

WithNamespace adds the namespace to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithTimeout

WithTimeout adds the timeout to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WithUserID

WithUserID adds the userID to the update user distribution receiver params

func (*UpdateUserDistributionReceiverParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserDistributionReceiverReader

type UpdateUserDistributionReceiverReader struct {
	// contains filtered or unexported fields
}

UpdateUserDistributionReceiverReader is a Reader for the UpdateUserDistributionReceiver structure.

func (*UpdateUserDistributionReceiverReader) ReadResponse

func (o *UpdateUserDistributionReceiverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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 (*UpdateUserEntitlementConflict) GetPayload

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 (*UpdateUserEntitlementNotFound) GetPayload

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

type UpdateUserEntitlementParams

type UpdateUserEntitlementParams struct {

	/*Body*/
	Body *platformclientmodels.EntitlementUpdate
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// 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) SetBody

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) SetHTTPClient

func (o *UpdateUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient 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

WithBody adds the body to the update user entitlement params

func (*UpdateUserEntitlementParams) WithContext

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

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

WithTimeout adds the timeout to the update user entitlement params

func (*UpdateUserEntitlementParams) WithUserID

WithUserID adds the userID to the update user entitlement params

func (*UpdateUserEntitlementParams) WriteToRequest

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 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 (*UpdateUserEntitlementUnprocessableEntity) GetPayload

Source Files

Jump to

Keyboard shortcuts

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