entitlement

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GetUserEntitlementByItemIDAPPConstant          = "APP"
	GetUserEntitlementByItemIDCODEConstant         = "CODE"
	GetUserEntitlementByItemIDENTITLEMENTConstant  = "ENTITLEMENT"
	GetUserEntitlementByItemIDMEDIAConstant        = "MEDIA"
	GetUserEntitlementByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in GetUserEntitlementByItemIDParams

View Source
const (
	GetUserEntitlementBySkuAPPConstant          = "APP"
	GetUserEntitlementBySkuCODEConstant         = "CODE"
	GetUserEntitlementBySkuENTITLEMENTConstant  = "ENTITLEMENT"
	GetUserEntitlementBySkuMEDIAConstant        = "MEDIA"
	GetUserEntitlementBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in GetUserEntitlementBySkuParams

View Source
const (
	GetUserEntitlementOwnershipByItemIDAPPConstant          = "APP"
	GetUserEntitlementOwnershipByItemIDCODEConstant         = "CODE"
	GetUserEntitlementOwnershipByItemIDENTITLEMENTConstant  = "ENTITLEMENT"
	GetUserEntitlementOwnershipByItemIDMEDIAConstant        = "MEDIA"
	GetUserEntitlementOwnershipByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in GetUserEntitlementOwnershipByItemIDParams

View Source
const (
	GetUserEntitlementOwnershipBySkuAPPConstant          = "APP"
	GetUserEntitlementOwnershipBySkuCODEConstant         = "CODE"
	GetUserEntitlementOwnershipBySkuENTITLEMENTConstant  = "ENTITLEMENT"
	GetUserEntitlementOwnershipBySkuMEDIAConstant        = "MEDIA"
	GetUserEntitlementOwnershipBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in GetUserEntitlementOwnershipBySkuParams

View Source
const (
	PublicGetMyEntitlementOwnershipByItemIDAPPConstant          = "APP"
	PublicGetMyEntitlementOwnershipByItemIDCODEConstant         = "CODE"
	PublicGetMyEntitlementOwnershipByItemIDENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetMyEntitlementOwnershipByItemIDMEDIAConstant        = "MEDIA"
	PublicGetMyEntitlementOwnershipByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicGetMyEntitlementOwnershipByItemIDParams

View Source
const (
	PublicGetMyEntitlementOwnershipBySkuAPPConstant          = "APP"
	PublicGetMyEntitlementOwnershipBySkuCODEConstant         = "CODE"
	PublicGetMyEntitlementOwnershipBySkuENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetMyEntitlementOwnershipBySkuMEDIAConstant        = "MEDIA"
	PublicGetMyEntitlementOwnershipBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicGetMyEntitlementOwnershipBySkuParams

View Source
const (
	PublicGetUserEntitlementByItemIDAPPConstant          = "APP"
	PublicGetUserEntitlementByItemIDCODEConstant         = "CODE"
	PublicGetUserEntitlementByItemIDENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetUserEntitlementByItemIDMEDIAConstant        = "MEDIA"
	PublicGetUserEntitlementByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicGetUserEntitlementByItemIDParams

View Source
const (
	PublicGetUserEntitlementBySkuAPPConstant          = "APP"
	PublicGetUserEntitlementBySkuCODEConstant         = "CODE"
	PublicGetUserEntitlementBySkuENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetUserEntitlementBySkuMEDIAConstant        = "MEDIA"
	PublicGetUserEntitlementBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicGetUserEntitlementBySkuParams

View Source
const (
	PublicGetUserEntitlementOwnershipByItemIDAPPConstant          = "APP"
	PublicGetUserEntitlementOwnershipByItemIDCODEConstant         = "CODE"
	PublicGetUserEntitlementOwnershipByItemIDENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetUserEntitlementOwnershipByItemIDMEDIAConstant        = "MEDIA"
	PublicGetUserEntitlementOwnershipByItemIDSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicGetUserEntitlementOwnershipByItemIDParams

View Source
const (
	PublicGetUserEntitlementOwnershipBySkuAPPConstant          = "APP"
	PublicGetUserEntitlementOwnershipBySkuCODEConstant         = "CODE"
	PublicGetUserEntitlementOwnershipBySkuENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetUserEntitlementOwnershipBySkuMEDIAConstant        = "MEDIA"
	PublicGetUserEntitlementOwnershipBySkuSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicGetUserEntitlementOwnershipBySkuParams

View Source
const (
	PublicQueryUserEntitlementsByAppTypeDEMOConstant     = "DEMO"
	PublicQueryUserEntitlementsByAppTypeDLCConstant      = "DLC"
	PublicQueryUserEntitlementsByAppTypeGAMEConstant     = "GAME"
	PublicQueryUserEntitlementsByAppTypeSOFTWAREConstant = "SOFTWARE"
)

Get the enum in PublicQueryUserEntitlementsByAppTypeParams

View Source
const (
	PublicQueryUserEntitlementsDEMOConstant     = "DEMO"
	PublicQueryUserEntitlementsDLCConstant      = "DLC"
	PublicQueryUserEntitlementsGAMEConstant     = "GAME"
	PublicQueryUserEntitlementsSOFTWAREConstant = "SOFTWARE"
)

Get the enum in PublicQueryUserEntitlementsParams

View Source
const (
	PublicQueryUserEntitlementsAPPConstant          = "APP"
	PublicQueryUserEntitlementsCODEConstant         = "CODE"
	PublicQueryUserEntitlementsENTITLEMENTConstant  = "ENTITLEMENT"
	PublicQueryUserEntitlementsMEDIAConstant        = "MEDIA"
	PublicQueryUserEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicQueryUserEntitlementsParams

View Source
const (
	QueryEntitlementsDEMOConstant     = "DEMO"
	QueryEntitlementsDLCConstant      = "DLC"
	QueryEntitlementsGAMEConstant     = "GAME"
	QueryEntitlementsSOFTWAREConstant = "SOFTWARE"
)

Get the enum in QueryEntitlementsParams

View Source
const (
	QueryEntitlementsAPPConstant          = "APP"
	QueryEntitlementsCODEConstant         = "CODE"
	QueryEntitlementsENTITLEMENTConstant  = "ENTITLEMENT"
	QueryEntitlementsMEDIAConstant        = "MEDIA"
	QueryEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in QueryEntitlementsParams

View Source
const (
	QueryUserEntitlementsByAppTypeDEMOConstant     = "DEMO"
	QueryUserEntitlementsByAppTypeDLCConstant      = "DLC"
	QueryUserEntitlementsByAppTypeGAMEConstant     = "GAME"
	QueryUserEntitlementsByAppTypeSOFTWAREConstant = "SOFTWARE"
)

Get the enum in QueryUserEntitlementsByAppTypeParams

View Source
const (
	QueryUserEntitlementsDEMOConstant     = "DEMO"
	QueryUserEntitlementsDLCConstant      = "DLC"
	QueryUserEntitlementsGAMEConstant     = "GAME"
	QueryUserEntitlementsSOFTWAREConstant = "SOFTWARE"
)

Get the enum in QueryUserEntitlementsParams

View Source
const (
	QueryUserEntitlementsAPPConstant          = "APP"
	QueryUserEntitlementsCODEConstant         = "CODE"
	QueryUserEntitlementsENTITLEMENTConstant  = "ENTITLEMENT"
	QueryUserEntitlementsMEDIAConstant        = "MEDIA"
	QueryUserEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in QueryUserEntitlementsParams

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) ConsumeUserEntitlementShort added in v0.8.0

func (a *Client) ConsumeUserEntitlementShort(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementOK, error)

func (*Client) DisableUserEntitlement

DisableUserEntitlement disables user entitlement

Disable user entitlement if entitlement, only active entitlement can be disable, disabled entitlement can't consume.<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) DisableUserEntitlementShort added in v0.8.0

func (a *Client) DisableUserEntitlementShort(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementOK, error)

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) EnableUserEntitlementShort added in v0.8.0

func (a *Client) EnableUserEntitlementShort(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementOK, error)

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) ExistsAnyUserActiveEntitlementByItemIdsShort added in v0.8.0

func (a *Client) ExistsAnyUserActiveEntitlementByItemIdsShort(params *ExistsAnyUserActiveEntitlementByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementByItemIdsOK, error)

func (*Client) ExistsAnyUserActiveEntitlementShort added in v0.8.0

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

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) GetEntitlementShort added in v0.8.0

func (a *Client) GetEntitlementShort(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementOK, error)

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) GetUserAppEntitlementByAppIDShort added in v0.8.0

func (a *Client) GetUserAppEntitlementByAppIDShort(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDOK, error)

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) GetUserAppEntitlementOwnershipByAppIDShort added in v0.8.0

func (a *Client) GetUserAppEntitlementOwnershipByAppIDShort(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDOK, error)

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) GetUserEntitlementByItemIDShort added in v0.8.0

func (a *Client) GetUserEntitlementByItemIDShort(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDOK, error)

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) GetUserEntitlementBySkuShort added in v0.8.0

func (a *Client) GetUserEntitlementBySkuShort(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuOK, error)

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) GetUserEntitlementHistoriesShort added in v0.8.0

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

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) GetUserEntitlementOwnershipByItemIDShort added in v0.8.0

func (a *Client) GetUserEntitlementOwnershipByItemIDShort(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDOK, error)

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) GetUserEntitlementOwnershipBySkuShort added in v0.8.0

func (a *Client) GetUserEntitlementOwnershipBySkuShort(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuOK, error)

func (*Client) GetUserEntitlementShort added in v0.8.0

func (a *Client) GetUserEntitlementShort(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOK, error)

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) GrantUserEntitlementShort added in v0.8.0

func (a *Client) GrantUserEntitlementShort(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementCreated, error)

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) PublicConsumeUserEntitlementShort added in v0.8.0

func (a *Client) PublicConsumeUserEntitlementShort(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementOK, error)

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) PublicExistsAnyMyActiveEntitlementShort added in v0.8.0

func (a *Client) PublicExistsAnyMyActiveEntitlementShort(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementOK, error)

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) PublicExistsAnyUserActiveEntitlementShort added in v0.8.0

func (a *Client) PublicExistsAnyUserActiveEntitlementShort(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementOK, error)

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) PublicGetEntitlementOwnershipTokenShort added in v0.8.0

func (a *Client) PublicGetEntitlementOwnershipTokenShort(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenOK, error)

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) PublicGetMyAppEntitlementOwnershipByAppIDShort added in v0.8.0

func (a *Client) PublicGetMyAppEntitlementOwnershipByAppIDShort(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyAppEntitlementOwnershipByAppIDOK, error)

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) PublicGetMyEntitlementOwnershipByItemIDShort added in v0.8.0

func (a *Client) PublicGetMyEntitlementOwnershipByItemIDShort(params *PublicGetMyEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipByItemIDOK, error)

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) PublicGetMyEntitlementOwnershipBySkuShort added in v0.8.0

func (a *Client) PublicGetMyEntitlementOwnershipBySkuShort(params *PublicGetMyEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipBySkuOK, error)

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) PublicGetUserAppEntitlementByAppIDShort added in v0.8.0

func (a *Client) PublicGetUserAppEntitlementByAppIDShort(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDOK, error)

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) PublicGetUserAppEntitlementOwnershipByAppIDShort added in v0.8.0

func (a *Client) PublicGetUserAppEntitlementOwnershipByAppIDShort(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDOK, error)

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) PublicGetUserEntitlementByItemIDShort added in v0.8.0

func (a *Client) PublicGetUserEntitlementByItemIDShort(params *PublicGetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementByItemIDOK, error)

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) PublicGetUserEntitlementBySkuShort added in v0.8.0

func (a *Client) PublicGetUserEntitlementBySkuShort(params *PublicGetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementBySkuOK, error)

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) PublicGetUserEntitlementOwnershipByItemIDShort added in v0.8.0

func (a *Client) PublicGetUserEntitlementOwnershipByItemIDShort(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDOK, error)

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) PublicGetUserEntitlementOwnershipBySkuShort added in v0.8.0

func (a *Client) PublicGetUserEntitlementOwnershipBySkuShort(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuOK, error)

func (*Client) PublicGetUserEntitlementShort added in v0.8.0

func (a *Client) PublicGetUserEntitlementShort(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOK, error)

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) PublicQueryUserEntitlementsByAppTypeShort added in v0.8.0

func (a *Client) PublicQueryUserEntitlementsByAppTypeShort(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeOK, error)

func (*Client) PublicQueryUserEntitlementsShort added in v0.8.0

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

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) QueryEntitlementsShort added in v0.8.0

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

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) QueryUserEntitlementsByAppTypeShort added in v0.8.0

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

func (*Client) QueryUserEntitlementsShort added in v0.8.0

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

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) RevokeUserEntitlementShort added in v0.8.0

func (a *Client) RevokeUserEntitlementShort(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementOK, error)

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) RevokeUserEntitlementsShort added in v0.8.0

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateUserEntitlement

UpdateUserEntitlement updates user entitlement

Update user entitlement. If update CONSUMABLE entitlement useCount to 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>: updated entitlement</li></ul>

func (*Client) UpdateUserEntitlementShort added in v0.8.0

func (a *Client) UpdateUserEntitlementShort(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementOK, error)

type ClientService

type ClientService interface {
	ConsumeUserEntitlement(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementOK, *ConsumeUserEntitlementNotFound, *ConsumeUserEntitlementConflict, error)
	ConsumeUserEntitlementShort(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementOK, error)
	DisableUserEntitlement(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementOK, *DisableUserEntitlementNotFound, *DisableUserEntitlementConflict, error)
	DisableUserEntitlementShort(params *DisableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserEntitlementOK, error)
	EnableUserEntitlement(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementOK, *EnableUserEntitlementNotFound, *EnableUserEntitlementConflict, error)
	EnableUserEntitlementShort(params *EnableUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserEntitlementOK, error)
	ExistsAnyUserActiveEntitlement(params *ExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementOK, error)
	ExistsAnyUserActiveEntitlementShort(params *ExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementOK, error)
	ExistsAnyUserActiveEntitlementByItemIds(params *ExistsAnyUserActiveEntitlementByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementByItemIdsOK, error)
	ExistsAnyUserActiveEntitlementByItemIdsShort(params *ExistsAnyUserActiveEntitlementByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*ExistsAnyUserActiveEntitlementByItemIdsOK, error)
	GetEntitlement(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementOK, *GetEntitlementNotFound, error)
	GetEntitlementShort(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementOK, error)
	GetUserAppEntitlementByAppID(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDOK, *GetUserAppEntitlementByAppIDNotFound, error)
	GetUserAppEntitlementByAppIDShort(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDOK, error)
	GetUserAppEntitlementOwnershipByAppID(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDOK, error)
	GetUserAppEntitlementOwnershipByAppIDShort(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDOK, error)
	GetUserEntitlement(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOK, *GetUserEntitlementNotFound, error)
	GetUserEntitlementShort(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOK, error)
	GetUserEntitlementByItemID(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDOK, *GetUserEntitlementByItemIDNotFound, error)
	GetUserEntitlementByItemIDShort(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDOK, error)
	GetUserEntitlementBySku(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuOK, *GetUserEntitlementBySkuNotFound, error)
	GetUserEntitlementBySkuShort(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuOK, error)
	GetUserEntitlementHistories(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesOK, error)
	GetUserEntitlementHistoriesShort(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesOK, error)
	GetUserEntitlementOwnershipByItemID(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDOK, error)
	GetUserEntitlementOwnershipByItemIDShort(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDOK, error)
	GetUserEntitlementOwnershipBySku(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuOK, error)
	GetUserEntitlementOwnershipBySkuShort(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuOK, error)
	GrantUserEntitlement(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementCreated, *GrantUserEntitlementNotFound, *GrantUserEntitlementUnprocessableEntity, error)
	GrantUserEntitlementShort(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementCreated, error)
	PublicConsumeUserEntitlement(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementOK, *PublicConsumeUserEntitlementNotFound, *PublicConsumeUserEntitlementConflict, error)
	PublicConsumeUserEntitlementShort(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementOK, error)
	PublicExistsAnyMyActiveEntitlement(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementOK, error)
	PublicExistsAnyMyActiveEntitlementShort(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementOK, error)
	PublicExistsAnyUserActiveEntitlement(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementOK, error)
	PublicExistsAnyUserActiveEntitlementShort(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementOK, error)
	PublicGetEntitlementOwnershipToken(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenOK, error)
	PublicGetEntitlementOwnershipTokenShort(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenOK, error)
	PublicGetMyAppEntitlementOwnershipByAppID(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyAppEntitlementOwnershipByAppIDOK, error)
	PublicGetMyAppEntitlementOwnershipByAppIDShort(params *PublicGetMyAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyAppEntitlementOwnershipByAppIDOK, error)
	PublicGetMyEntitlementOwnershipByItemID(params *PublicGetMyEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipByItemIDOK, error)
	PublicGetMyEntitlementOwnershipByItemIDShort(params *PublicGetMyEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipByItemIDOK, error)
	PublicGetMyEntitlementOwnershipBySku(params *PublicGetMyEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipBySkuOK, error)
	PublicGetMyEntitlementOwnershipBySkuShort(params *PublicGetMyEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyEntitlementOwnershipBySkuOK, error)
	PublicGetUserAppEntitlementByAppID(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDOK, *PublicGetUserAppEntitlementByAppIDNotFound, error)
	PublicGetUserAppEntitlementByAppIDShort(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDOK, error)
	PublicGetUserAppEntitlementOwnershipByAppID(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDOK, error)
	PublicGetUserAppEntitlementOwnershipByAppIDShort(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDOK, error)
	PublicGetUserEntitlement(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOK, *PublicGetUserEntitlementNotFound, error)
	PublicGetUserEntitlementShort(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOK, error)
	PublicGetUserEntitlementByItemID(params *PublicGetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementByItemIDOK, *PublicGetUserEntitlementByItemIDNotFound, error)
	PublicGetUserEntitlementByItemIDShort(params *PublicGetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementByItemIDOK, error)
	PublicGetUserEntitlementBySku(params *PublicGetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementBySkuOK, *PublicGetUserEntitlementBySkuNotFound, error)
	PublicGetUserEntitlementBySkuShort(params *PublicGetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementBySkuOK, error)
	PublicGetUserEntitlementOwnershipByItemID(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDOK, error)
	PublicGetUserEntitlementOwnershipByItemIDShort(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDOK, error)
	PublicGetUserEntitlementOwnershipBySku(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuOK, error)
	PublicGetUserEntitlementOwnershipBySkuShort(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuOK, error)
	PublicQueryUserEntitlements(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsOK, error)
	PublicQueryUserEntitlementsShort(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsOK, error)
	PublicQueryUserEntitlementsByAppType(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeOK, error)
	PublicQueryUserEntitlementsByAppTypeShort(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeOK, error)
	QueryEntitlements(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsOK, error)
	QueryEntitlementsShort(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsOK, error)
	QueryUserEntitlements(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsOK, error)
	QueryUserEntitlementsShort(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsOK, error)
	QueryUserEntitlementsByAppType(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeOK, error)
	QueryUserEntitlementsByAppTypeShort(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeOK, error)
	RevokeUserEntitlement(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementOK, *RevokeUserEntitlementNotFound, error)
	RevokeUserEntitlementShort(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementOK, error)
	RevokeUserEntitlements(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsOK, error)
	RevokeUserEntitlementsShort(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsOK, error)
	UpdateUserEntitlement(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementOK, *UpdateUserEntitlementNotFound, *UpdateUserEntitlementConflict, *UpdateUserEntitlementUnprocessableEntity, error)
	UpdateUserEntitlementShort(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementOK, 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.EntitlementDecrement
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *ConsumeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the consume user entitlement params

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) SetHTTPClientTransport added in v0.19.0

func (o *ConsumeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetNamespace

func (o *ConsumeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetUserID

func (o *ConsumeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithBody

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *DisableUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the disable user entitlement params

func (*DisableUserEntitlementParams) SetContext

func (o *DisableUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the disable user entitlement params

func (*DisableUserEntitlementParams) SetEntitlementID

func (o *DisableUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the disable user entitlement params

func (*DisableUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable user entitlement params

func (*DisableUserEntitlementParams) SetHTTPClientTransport added in v0.19.0

func (o *DisableUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the disable user entitlement params

func (*DisableUserEntitlementParams) SetNamespace

func (o *DisableUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the disable user entitlement params

func (*DisableUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the disable user entitlement params

func (*DisableUserEntitlementParams) SetUserID

func (o *DisableUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the disable user entitlement params

func (*DisableUserEntitlementParams) WithContext

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *EnableUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the enable user entitlement params

func (*EnableUserEntitlementParams) SetContext

func (o *EnableUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the enable user entitlement params

func (*EnableUserEntitlementParams) SetEntitlementID

func (o *EnableUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the enable user entitlement params

func (*EnableUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable user entitlement params

func (*EnableUserEntitlementParams) SetHTTPClientTransport added in v0.19.0

func (o *EnableUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the enable user entitlement params

func (*EnableUserEntitlementParams) SetNamespace

func (o *EnableUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable user entitlement params

func (*EnableUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the enable user entitlement params

func (*EnableUserEntitlementParams) SetUserID

func (o *EnableUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the enable user entitlement params

func (*EnableUserEntitlementParams) WithContext

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetContext

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) SetHTTPClientTransport added in v0.19.0

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetItemIds

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace(namespace string)

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *ExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *ExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) SetItemIds

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetNamespace

func (o *ExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)

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

func (*ExistsAnyUserActiveEntitlementParams) 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get entitlement params

func (*GetEntitlementParams) SetContext

func (o *GetEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the get entitlement params

func (*GetEntitlementParams) SetEntitlementID

func (o *GetEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get entitlement params

func (*GetEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get entitlement params

func (*GetEntitlementParams) SetHTTPClientTransport added in v0.19.0

func (o *GetEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get entitlement params

func (*GetEntitlementParams) SetNamespace

func (o *GetEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get entitlement params

func (*GetEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the get entitlement params

func (*GetEntitlementParams) WithContext

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserAppEntitlementByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *GetUserAppEntitlementByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user app entitlement by app Id params

func (*GetUserAppEntitlementByAppIDParams) SetNamespace

func (o *GetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)

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

func (*GetUserAppEntitlementByAppIDParams) SetTimeout

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

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

func (*GetUserAppEntitlementByAppIDParams) SetUserID

func (o *GetUserAppEntitlementByAppIDParams) SetUserID(userID string)

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

func (*GetUserAppEntitlementByAppIDParams) WithActiveOnly

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user app entitlement ownership by app Id params

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetContext

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) SetHTTPClientTransport added in v0.19.0

func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetTimeout

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly*/
	ActiveOnly *bool
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEntitlementByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEntitlementByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly*/
	ActiveOnly *bool
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEntitlementBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) SetContext

func (o *GetUserEntitlementBySkuParams) SetContext(ctx context.Context)

SetContext adds the context to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) SetEntitlementClazz

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

SetEntitlementClazz adds the entitlementClazz to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) SetHTTPClient

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

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

func (*GetUserEntitlementBySkuParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEntitlementBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) SetNamespace

func (o *GetUserEntitlementBySkuParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementBySkuParams) 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEntitlementHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement histories params

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) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEntitlementHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetNamespace

func (o *GetUserEntitlementHistoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetUserID

func (o *GetUserEntitlementHistoriesParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithContext

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement ownership by item Id params

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) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetItemID 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement ownership by sku params

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) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) SetNamespace

func (o *GetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipBySkuParams) 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GetUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement params

func (*GetUserEntitlementParams) SetContext

func (o *GetUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the get user entitlement params

func (*GetUserEntitlementParams) SetEntitlementID

func (o *GetUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get user entitlement params

func (*GetUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user entitlement params

func (*GetUserEntitlementParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user entitlement params

func (*GetUserEntitlementParams) SetNamespace

func (o *GetUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement params

func (*GetUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the get user entitlement params

func (*GetUserEntitlementParams) SetUserID

func (o *GetUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement params

func (*GetUserEntitlementParams) WithContext

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*platformclientmodels.EntitlementGrant
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *GrantUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the grant user entitlement params

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) SetHTTPClientTransport added in v0.19.0

func (o *GrantUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the grant user entitlement params

func (*GrantUserEntitlementParams) SetNamespace

func (o *GrantUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the grant user entitlement params

func (*GrantUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the grant user entitlement params

func (*GrantUserEntitlementParams) SetUserID

func (o *GrantUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the grant user entitlement params

func (*GrantUserEntitlementParams) WithBody

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.EntitlementDecrement
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicConsumeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public consume user entitlement params

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicConsumeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetNamespace

func (o *PublicConsumeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetUserID

func (o *PublicConsumeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithBody

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicExistsAnyMyActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicExistsAnyMyActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) SetItemIds

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetNamespace

func (o *PublicExistsAnyMyActiveEntitlementParams) SetNamespace(namespace string)

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetSkus

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) SetItemIds

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetNamespace

func (o *PublicExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetSkus

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppIds*/
	AppIds []string
	/*ItemIds*/
	ItemIds []string
	/*Namespace*/
	Namespace string
	/*Skus*/
	Skus []string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetTimeout

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get my entitlement ownership by item Id params

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetContext 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get my entitlement ownership by sku params

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetSku

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserAppEntitlementByAppIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user app entitlement by app Id params

func (*PublicGetUserAppEntitlementByAppIDParams) SetContext

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserAppEntitlementByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetNamespace

func (o *PublicGetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetTimeout

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppID*/
	AppID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetTimeout

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserEntitlementByItemIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement by item Id params

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserEntitlementByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetUserEntitlementByItemIDParams) SetItemID 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserEntitlementBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement by sku params

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserEntitlementBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get user entitlement by sku params

func (*PublicGetUserEntitlementBySkuParams) SetNamespace

func (o *PublicGetUserEntitlementBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementBySkuParams) SetSku

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement ownership by item Id params

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Namespace*/
	Namespace string
	/*Sku*/
	Sku string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement ownership by sku params

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) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetSku

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetContext

func (o *PublicGetUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetEntitlementID

func (o *PublicGetUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetNamespace

func (o *PublicGetUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetUserID

func (o *PublicGetUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithContext

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppType*/
	AppType string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicQueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetLimit

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AppType*/
	AppType *string
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*EntitlementName*/
	EntitlementName *string
	/*ItemID*/
	ItemID []string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *PublicQueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *PublicQueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetItemID

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

SetItemID adds the itemId to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetLimit

func (o *PublicQueryUserEntitlementsParams) SetLimit(limit *int32)

SetLimit adds the limit to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetNamespace

func (o *PublicQueryUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetOffset

func (o *PublicQueryUserEntitlementsParams) SetOffset(offset *int32)

SetOffset adds the offset to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetUserID

func (o *PublicQueryUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithAppType

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *QueryEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query entitlements params

func (*QueryEntitlementsParams) SetContext

func (o *QueryEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the query entitlements params

func (*QueryEntitlementsParams) 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) SetHTTPClientTransport added in v0.19.0

func (o *QueryEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppType*/
	AppType string
	/*Limit*/
	Limit *int32
	/*Namespace*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *QueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *QueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetLimit

func (o *QueryUserEntitlementsByAppTypeParams) SetLimit(limit *int32)

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

func (*QueryUserEntitlementsByAppTypeParams) SetNamespace

func (o *QueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)

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

func (*QueryUserEntitlementsByAppTypeParams) SetOffset

func (o *QueryUserEntitlementsByAppTypeParams) SetOffset(offset *int32)

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

func (*QueryUserEntitlementsByAppTypeParams) SetTimeout

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetUserID

func (o *QueryUserEntitlementsByAppTypeParams) SetUserID(userID string)

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

func (*QueryUserEntitlementsByAppTypeParams) WithActiveOnly

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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *QueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport added in v0.19.0

func (o *QueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *RevokeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetContext

func (o *RevokeUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetEntitlementID

func (o *RevokeUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetHTTPClientTransport added in v0.19.0

func (o *RevokeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetNamespace

func (o *RevokeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetUserID

func (o *RevokeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlement params

func (*RevokeUserEntitlementParams) 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 {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*EntitlementIds
	  separate multiple value by commas parameter.

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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) SetAuthInfoWriter added in v0.17.0

func (o *RevokeUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetContext

func (o *RevokeUserEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetEntitlementIds

func (o *RevokeUserEntitlementsParams) SetEntitlementIds(entitlementIds string)

SetEntitlementIds adds the entitlementIds to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetHTTPClientTransport added in v0.19.0

func (o *RevokeUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetNamespace

func (o *RevokeUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetUserID

func (o *RevokeUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithContext

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

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.EntitlementUpdate
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

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

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

func NewUpdateUserEntitlementParams

func NewUpdateUserEntitlementParams() *UpdateUserEntitlementParams

NewUpdateUserEntitlementParams creates a new UpdateUserEntitlementParams object with the default values initialized.

func NewUpdateUserEntitlementParamsWithContext

func NewUpdateUserEntitlementParamsWithContext(ctx context.Context) *UpdateUserEntitlementParams

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

func NewUpdateUserEntitlementParamsWithHTTPClient

func NewUpdateUserEntitlementParamsWithHTTPClient(client *http.Client) *UpdateUserEntitlementParams

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

func NewUpdateUserEntitlementParamsWithTimeout

func NewUpdateUserEntitlementParamsWithTimeout(timeout time.Duration) *UpdateUserEntitlementParams

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

func (*UpdateUserEntitlementParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdateUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update user entitlement params

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) SetHTTPClientTransport added in v0.19.0

func (o *UpdateUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update user entitlement params

func (*UpdateUserEntitlementParams) SetNamespace

func (o *UpdateUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user entitlement params

func (*UpdateUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the update user entitlement params

func (*UpdateUserEntitlementParams) SetUserID

func (o *UpdateUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the update user entitlement params

func (*UpdateUserEntitlementParams) WithBody

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