entitlement

package
v0.1.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GetPlatformEntitlementConfigEpicConstant        = "Epic"
	GetPlatformEntitlementConfigGooglePlayConstant  = "GooglePlay"
	GetPlatformEntitlementConfigIOSConstant         = "IOS"
	GetPlatformEntitlementConfigNintendoConstant    = "Nintendo"
	GetPlatformEntitlementConfigOculusConstant      = "Oculus"
	GetPlatformEntitlementConfigOtherConstant       = "Other"
	GetPlatformEntitlementConfigPlaystationConstant = "Playstation"
	GetPlatformEntitlementConfigSteamConstant       = "Steam"
	GetPlatformEntitlementConfigXboxConstant        = "Xbox"
)

Get the enum in GetPlatformEntitlementConfigParams

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

Get the enum in GetUserEntitlementByItemIDParams

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

Get the enum in GetUserEntitlementBySkuParams

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

Get the enum in GetUserEntitlementOwnershipByItemIDParams

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

Get the enum in GetUserEntitlementOwnershipBySkuParams

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

Get the enum in PublicGetMyEntitlementOwnershipByItemIDParams

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

Get the enum in PublicGetMyEntitlementOwnershipBySkuParams

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

Get the enum in PublicGetUserEntitlementByItemIDParams

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

Get the enum in PublicGetUserEntitlementBySkuParams

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

Get the enum in PublicGetUserEntitlementOwnershipByItemIDParams

View Source
const (
	PublicGetUserEntitlementOwnershipBySkuAPPConstant          = "APP"
	PublicGetUserEntitlementOwnershipBySkuCODEConstant         = "CODE"
	PublicGetUserEntitlementOwnershipBySkuENTITLEMENTConstant  = "ENTITLEMENT"
	PublicGetUserEntitlementOwnershipBySkuLOOTBOXConstant      = "LOOTBOX"
	PublicGetUserEntitlementOwnershipBySkuMEDIAConstant        = "MEDIA"
	PublicGetUserEntitlementOwnershipBySkuOPTIONBOXConstant    = "OPTIONBOX"
	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"
	PublicQueryUserEntitlementsLOOTBOXConstant      = "LOOTBOX"
	PublicQueryUserEntitlementsMEDIAConstant        = "MEDIA"
	PublicQueryUserEntitlementsOPTIONBOXConstant    = "OPTIONBOX"
	PublicQueryUserEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicQueryUserEntitlementsParams

View Source
const (
	PublicUserEntitlementHistoryAPPConstant          = "APP"
	PublicUserEntitlementHistoryCODEConstant         = "CODE"
	PublicUserEntitlementHistoryENTITLEMENTConstant  = "ENTITLEMENT"
	PublicUserEntitlementHistoryLOOTBOXConstant      = "LOOTBOX"
	PublicUserEntitlementHistoryMEDIAConstant        = "MEDIA"
	PublicUserEntitlementHistoryOPTIONBOXConstant    = "OPTIONBOX"
	PublicUserEntitlementHistorySUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicUserEntitlementHistoryParams

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"
	QueryEntitlementsLOOTBOXConstant      = "LOOTBOX"
	QueryEntitlementsMEDIAConstant        = "MEDIA"
	QueryEntitlementsOPTIONBOXConstant    = "OPTIONBOX"
	QueryEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in QueryEntitlementsParams

View Source
const (
	QueryEntitlementsEpicConstant        = "Epic"
	QueryEntitlementsGooglePlayConstant  = "GooglePlay"
	QueryEntitlementsIOSConstant         = "IOS"
	QueryEntitlementsNintendoConstant    = "Nintendo"
	QueryEntitlementsOculusConstant      = "Oculus"
	QueryEntitlementsOtherConstant       = "Other"
	QueryEntitlementsPlaystationConstant = "Playstation"
	QueryEntitlementsSteamConstant       = "Steam"
	QueryEntitlementsSystemConstant      = "System"
	QueryEntitlementsTwitchConstant      = "Twitch"
	QueryEntitlementsXboxConstant        = "Xbox"
)

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"
	QueryUserEntitlementsLOOTBOXConstant      = "LOOTBOX"
	QueryUserEntitlementsMEDIAConstant        = "MEDIA"
	QueryUserEntitlementsOPTIONBOXConstant    = "OPTIONBOX"
	QueryUserEntitlementsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in QueryUserEntitlementsParams

View Source
const (
	QueryUserEntitlementsEpicConstant        = "Epic"
	QueryUserEntitlementsGooglePlayConstant  = "GooglePlay"
	QueryUserEntitlementsIOSConstant         = "IOS"
	QueryUserEntitlementsNintendoConstant    = "Nintendo"
	QueryUserEntitlementsOculusConstant      = "Oculus"
	QueryUserEntitlementsOtherConstant       = "Other"
	QueryUserEntitlementsPlaystationConstant = "Playstation"
	QueryUserEntitlementsSteamConstant       = "Steam"
	QueryUserEntitlementsSystemConstant      = "System"
	QueryUserEntitlementsTwitchConstant      = "Twitch"
	QueryUserEntitlementsXboxConstant        = "Xbox"
)

Get the enum in QueryUserEntitlementsParams

View Source
const (
	UpdatePlatformEntitlementConfigEpicConstant        = "Epic"
	UpdatePlatformEntitlementConfigGooglePlayConstant  = "GooglePlay"
	UpdatePlatformEntitlementConfigIOSConstant         = "IOS"
	UpdatePlatformEntitlementConfigNintendoConstant    = "Nintendo"
	UpdatePlatformEntitlementConfigOculusConstant      = "Oculus"
	UpdatePlatformEntitlementConfigOtherConstant       = "Other"
	UpdatePlatformEntitlementConfigPlaystationConstant = "Playstation"
	UpdatePlatformEntitlementConfigSteamConstant       = "Steam"
	UpdatePlatformEntitlementConfigXboxConstant        = "Xbox"
)

Get the enum in UpdatePlatformEntitlementConfigParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for entitlement API

func (*Client) ConsumeUserEntitlement deprecated

Deprecated: 2022-08-10 - Use ConsumeUserEntitlementShort instead.

ConsumeUserEntitlement consume user entitlement Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : consumed entitlement

func (*Client) ConsumeUserEntitlementShort

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

ConsumeUserEntitlementShort consume user entitlement Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : consumed entitlement

func (*Client) DisableUserEntitlement deprecated

Deprecated: 2022-08-10 - Use DisableUserEntitlementShort instead.

DisableUserEntitlement disable user entitlement Disable user entitlement if entitlement, only active entitlement can be disable, disabled entitlement can't consume.

Like revoke, it will lose the entitlement ownership, except disabled entitlement can enable.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : disable entitlement

func (*Client) DisableUserEntitlementShort

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

DisableUserEntitlementShort disable user entitlement Disable user entitlement if entitlement, only active entitlement can be disable, disabled entitlement can't consume.

Like revoke, it will lose the entitlement ownership, except disabled entitlement can enable.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : disable entitlement

func (*Client) EnableEntitlementOriginFeature deprecated

func (a *Client) EnableEntitlementOriginFeature(params *EnableEntitlementOriginFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*EnableEntitlementOriginFeatureOK, error)

Deprecated: 2022-08-10 - Use EnableEntitlementOriginFeatureShort instead.

EnableEntitlementOriginFeature enable entitlement origin feature Enable Entitlement origin feature. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=4 (READ)
  • Returns : entitlement info

func (*Client) EnableEntitlementOriginFeatureShort

func (a *Client) EnableEntitlementOriginFeatureShort(params *EnableEntitlementOriginFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*EnableEntitlementOriginFeatureOK, error)

EnableEntitlementOriginFeatureShort enable entitlement origin feature Enable Entitlement origin feature. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=4 (READ)
  • Returns : entitlement info

func (*Client) EnableUserEntitlement deprecated

Deprecated: 2022-08-10 - Use EnableUserEntitlementShort instead.

EnableUserEntitlement enable user entitlement Enable user entitlement. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : enable entitlement

func (*Client) EnableUserEntitlementShort

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

EnableUserEntitlementShort enable user entitlement Enable user entitlement. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : enable entitlement

func (*Client) ExistsAnyUserActiveEntitlement deprecated

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

Deprecated: 2022-08-10 - Use ExistsAnyUserActiveEntitlementShort instead.

ExistsAnyUserActiveEntitlement exists any user active entitlement Exists any user active entitlement of specified itemIds, skus and appIds

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) ExistsAnyUserActiveEntitlementByItemIds deprecated

Deprecated: 2022-08-10 - Use ExistsAnyUserActiveEntitlementByItemIdsShort instead.

ExistsAnyUserActiveEntitlementByItemIds exists any user active entitlement Exists any user active entitlement of specified items.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) ExistsAnyUserActiveEntitlementByItemIdsShort

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

ExistsAnyUserActiveEntitlementByItemIdsShort exists any user active entitlement Exists any user active entitlement of specified items.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) ExistsAnyUserActiveEntitlementShort

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

ExistsAnyUserActiveEntitlementShort exists any user active entitlement Exists any user active entitlement of specified itemIds, skus and appIds

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetEntitlement deprecated

Deprecated: 2022-08-10 - Use GetEntitlementShort instead.

GetEntitlement get entitlement Get entitlement.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement

func (*Client) GetEntitlementConfigInfo deprecated

func (a *Client) GetEntitlementConfigInfo(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoOK, error)

Deprecated: 2022-08-10 - Use GetEntitlementConfigInfoShort instead.

GetEntitlementConfigInfo get entitlement config info Get entitlement config info. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=2 (READ)
  • Returns : entitlement info

func (*Client) GetEntitlementConfigInfoShort

func (a *Client) GetEntitlementConfigInfoShort(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoOK, error)

GetEntitlementConfigInfoShort get entitlement config info Get entitlement config info. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=2 (READ)
  • Returns : entitlement info

func (*Client) GetEntitlementShort

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

GetEntitlementShort get entitlement Get entitlement.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement

func (*Client) GetPlatformEntitlementConfig deprecated

func (a *Client) GetPlatformEntitlementConfig(params *GetPlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformEntitlementConfigOK, error)

Deprecated: 2022-08-10 - Use GetPlatformEntitlementConfigShort instead.

GetPlatformEntitlementConfig get platform entitlement config list Get platform entitlement config list. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=2 (READ)
  • Returns : entitlement info

func (*Client) GetPlatformEntitlementConfigShort

func (a *Client) GetPlatformEntitlementConfigShort(params *GetPlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformEntitlementConfigOK, error)

GetPlatformEntitlementConfigShort get platform entitlement config list Get platform entitlement config list. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=2 (READ)
  • Returns : entitlement info

func (*Client) GetUserActiveEntitlementsByItemIds deprecated

Deprecated: 2022-08-10 - Use GetUserActiveEntitlementsByItemIdsShort instead.

GetUserActiveEntitlementsByItemIds get user entitlements by itemids Get user entitlements by itemIds.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserActiveEntitlementsByItemIdsShort

func (a *Client) GetUserActiveEntitlementsByItemIdsShort(params *GetUserActiveEntitlementsByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserActiveEntitlementsByItemIdsOK, error)

GetUserActiveEntitlementsByItemIdsShort get user entitlements by itemids Get user entitlements by itemIds.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserAppEntitlementByAppID deprecated

Deprecated: 2022-08-10 - Use GetUserAppEntitlementByAppIDShort instead.

GetUserAppEntitlementByAppID get user app entitlement by appid Get user app entitlement by appId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserAppEntitlementByAppIDShort

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

GetUserAppEntitlementByAppIDShort get user app entitlement by appid Get user app entitlement by appId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserAppEntitlementOwnershipByAppID deprecated

Deprecated: 2022-08-10 - Use GetUserAppEntitlementOwnershipByAppIDShort instead.

GetUserAppEntitlementOwnershipByAppID get user app entitlement ownership by appid Get user app entitlement ownership by appId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserAppEntitlementOwnershipByAppIDShort

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

GetUserAppEntitlementOwnershipByAppIDShort get user app entitlement ownership by appid Get user app entitlement ownership by appId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlement deprecated

Deprecated: 2022-08-10 - Use GetUserEntitlementShort instead.

GetUserEntitlement get user entitlement Get user entitlement.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement

func (*Client) GetUserEntitlementByItemID deprecated

Deprecated: 2022-08-10 - Use GetUserEntitlementByItemIDShort instead.

GetUserEntitlementByItemID get user entitlement by itemid Get user entitlement by itemId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementByItemIDShort

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

GetUserEntitlementByItemIDShort get user entitlement by itemid Get user entitlement by itemId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementBySku deprecated

Deprecated: 2022-08-10 - Use GetUserEntitlementBySkuShort instead.

GetUserEntitlementBySku get user entitlement by sku Get user entitlement by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementBySkuShort

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

GetUserEntitlementBySkuShort get user entitlement by sku Get user entitlement by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementHistories deprecated

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

Deprecated: 2022-08-10 - Use GetUserEntitlementHistoriesShort instead.

GetUserEntitlementHistories get user entitlement history Get user entitlement histories.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : list of entitlement history

func (*Client) GetUserEntitlementHistoriesShort

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

GetUserEntitlementHistoriesShort get user entitlement history Get user entitlement histories.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : list of entitlement history

func (*Client) GetUserEntitlementOwnershipByItemID deprecated

Deprecated: 2022-08-10 - Use GetUserEntitlementOwnershipByItemIDShort instead.

GetUserEntitlementOwnershipByItemID get user entitlement ownership by itemid Get user entitlement ownership by itemId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementOwnershipByItemIDShort

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

GetUserEntitlementOwnershipByItemIDShort get user entitlement ownership by itemid Get user entitlement ownership by itemId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementOwnershipByItemIds deprecated

Deprecated: 2022-08-10 - Use GetUserEntitlementOwnershipByItemIdsShort instead.

GetUserEntitlementOwnershipByItemIds get user entitlement ownership by itemids Get user entitlement ownership by itemIds.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementOwnershipByItemIdsShort

func (a *Client) GetUserEntitlementOwnershipByItemIdsShort(params *GetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIdsOK, error)

GetUserEntitlementOwnershipByItemIdsShort get user entitlement ownership by itemids Get user entitlement ownership by itemIds.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementOwnershipBySku deprecated

Deprecated: 2022-08-10 - Use GetUserEntitlementOwnershipBySkuShort instead.

GetUserEntitlementOwnershipBySku get user entitlement ownership by sku Get user entitlement ownership by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementOwnershipBySkuShort

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

GetUserEntitlementOwnershipBySkuShort get user entitlement ownership by sku Get user entitlement ownership by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) GetUserEntitlementShort

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

GetUserEntitlementShort get user entitlement Get user entitlement.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement

func (*Client) GrantEntitlements deprecated

Deprecated: 2022-08-10 - Use GrantEntitlementsShort instead.

GrantEntitlements grant entitlements to different users Grant entitlements to multiple users, skipped granting will be treated as fail.

Notes:

Support Item Types:

  • APP
  • INGAMEITEM
  • CODE
  • SUBSCRIPTION
  • MEDIA
  • OPTIONBOX
  • LOOTBOX

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : bulk grant entitlements result

func (*Client) GrantEntitlementsShort

func (a *Client) GrantEntitlementsShort(params *GrantEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*GrantEntitlementsOK, error)

GrantEntitlementsShort grant entitlements to different users Grant entitlements to multiple users, skipped granting will be treated as fail.

Notes:

Support Item Types:

  • APP
  • INGAMEITEM
  • CODE
  • SUBSCRIPTION
  • MEDIA
  • OPTIONBOX
  • LOOTBOX

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : bulk grant entitlements result

func (*Client) GrantUserEntitlement deprecated

Deprecated: 2022-08-10 - Use GrantUserEntitlementShort instead.

GrantUserEntitlement grant user entitlement Grant user entitlement.

Notes:

will skip un-supported item if input un-supported item types, please use /admin/namespaces/{namespace}/users/{userId}/fulfillment endpoint if want to fulfill other item type, like coin item

Support Item Types:

  • APP
  • INGAMEITEM
  • CODE
  • SUBSCRIPTION
  • MEDIA
  • OPTIONBOX
  • LOOTBOX

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=1 (CREATE)
  • Returns : granted entitlement

func (*Client) GrantUserEntitlementShort

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

GrantUserEntitlementShort grant user entitlement Grant user entitlement.

Notes:

will skip un-supported item if input un-supported item types, please use /admin/namespaces/{namespace}/users/{userId}/fulfillment endpoint if want to fulfill other item type, like coin item

Support Item Types:

  • APP
  • INGAMEITEM
  • CODE
  • SUBSCRIPTION
  • MEDIA
  • OPTIONBOX
  • LOOTBOX

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=1 (CREATE)
  • Returns : granted entitlement

func (*Client) PreCheckRevokeUserEntitlementByUseCount deprecated

Deprecated: 2022-08-10 - Use PreCheckRevokeUserEntitlementByUseCountShort instead.

PreCheckRevokeUserEntitlementByUseCount check if specified count of user entitlement can be revoked Checks if specified use count of user entitlement can be revoked without actually revoking it. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=1 (READ)
  • Returns : true if revokable, false otherwise

func (*Client) PreCheckRevokeUserEntitlementByUseCountShort

func (a *Client) PreCheckRevokeUserEntitlementByUseCountShort(params *PreCheckRevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckRevokeUserEntitlementByUseCountOK, error)

PreCheckRevokeUserEntitlementByUseCountShort check if specified count of user entitlement can be revoked Checks if specified use count of user entitlement can be revoked without actually revoking it. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=1 (READ)
  • Returns : true if revokable, false otherwise

func (*Client) PublicConsumeUserEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicConsumeUserEntitlementShort instead.

PublicConsumeUserEntitlement consume user entitlement Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Client should pass item id in options if entitlement clazz is OPTIONBOX Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : consumed entitlement

func (*Client) PublicConsumeUserEntitlementShort

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

PublicConsumeUserEntitlementShort consume user entitlement Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Client should pass item id in options if entitlement clazz is OPTIONBOX Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : consumed entitlement

func (*Client) PublicExistsAnyMyActiveEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicExistsAnyMyActiveEntitlementShort instead.

PublicExistsAnyMyActiveEntitlement exists any my active entitlement Exists any my active entitlement of specified itemIds, skus and appIds

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicExistsAnyMyActiveEntitlementShort

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

PublicExistsAnyMyActiveEntitlementShort exists any my active entitlement Exists any my active entitlement of specified itemIds, skus and appIds

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicExistsAnyUserActiveEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicExistsAnyUserActiveEntitlementShort instead.

PublicExistsAnyUserActiveEntitlement exists any user active entitlement Exists any user active entitlement of specified itemIds, skus and appIds

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicExistsAnyUserActiveEntitlementShort

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

PublicExistsAnyUserActiveEntitlementShort exists any user active entitlement Exists any user active entitlement of specified itemIds, skus and appIds

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetEntitlementOwnershipToken deprecated

Deprecated: 2022-08-10 - Use PublicGetEntitlementOwnershipTokenShort instead.

PublicGetEntitlementOwnershipToken gets an entitlement ownership token Gets an entitlement ownership token of specified itemIds, skus and appIds

The decoded ownership token header like below:

{

  "kid": "9fd4cd5f991cebe3323605cd12d3b8bfdfc73fa4",

  "typ": "JWT",

  "alg": "RS256"

}

That you can get the jwks by api /platform/jwks, if the configured private key is same as IAM,

you can also get jwks from IAM endpoint.

The decoded ownership token payload like below:

{

 "namespace": "accelbyte",

 "entitlements": [

  {

    "itemId": "4c1296291f604c199f7bb7f0ee02e5f8",

    "appType": null,

    "appId": null,

    "namespace": "accelbyte",

    "itemNamespace": "accelbyte",

    "sku": "prime-plus"

  },

  {

    "itemId": "e8f4974cf45c4e1f8d4f0c6990c518bd",

    "appType": "GAME",

    "appId": "omeganebula",

    "namespace": "accelbyte",

    "itemNamespace": "accelbyte",

    "sku": "APPG005ON"

  }

 ],

"sub": "66459eb6a4e44e6fb0040bd20c1079a5",

"exp": 1619624360,

"iat": 1619624060

}

if there's no active entitlement for the specific params, the entitlements section will be omitted.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetEntitlementOwnershipTokenShort

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

PublicGetEntitlementOwnershipTokenShort gets an entitlement ownership token Gets an entitlement ownership token of specified itemIds, skus and appIds

The decoded ownership token header like below:

{

  "kid": "9fd4cd5f991cebe3323605cd12d3b8bfdfc73fa4",

  "typ": "JWT",

  "alg": "RS256"

}

That you can get the jwks by api /platform/jwks, if the configured private key is same as IAM,

you can also get jwks from IAM endpoint.

The decoded ownership token payload like below:

{

 "namespace": "accelbyte",

 "entitlements": [

  {

    "itemId": "4c1296291f604c199f7bb7f0ee02e5f8",

    "appType": null,

    "appId": null,

    "namespace": "accelbyte",

    "itemNamespace": "accelbyte",

    "sku": "prime-plus"

  },

  {

    "itemId": "e8f4974cf45c4e1f8d4f0c6990c518bd",

    "appType": "GAME",

    "appId": "omeganebula",

    "namespace": "accelbyte",

    "itemNamespace": "accelbyte",

    "sku": "APPG005ON"

  }

 ],

"sub": "66459eb6a4e44e6fb0040bd20c1079a5",

"exp": 1619624360,

"iat": 1619624060

}

if there's no active entitlement for the specific params, the entitlements section will be omitted.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetMyAppEntitlementOwnershipByAppID deprecated

Deprecated: 2022-08-10 - Use PublicGetMyAppEntitlementOwnershipByAppIDShort instead.

PublicGetMyAppEntitlementOwnershipByAppID get my app entitlement ownership by appid Get my app entitlement ownership by appId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Path's namespace :
  • can be filled with publisher namespace in order to get publisher namespace app entitlement ownership

func (*Client) PublicGetMyAppEntitlementOwnershipByAppIDShort

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

PublicGetMyAppEntitlementOwnershipByAppIDShort get my app entitlement ownership by appid Get my app entitlement ownership by appId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Path's namespace :
  • can be filled with publisher namespace in order to get publisher namespace app entitlement ownership

func (*Client) PublicGetMyEntitlementOwnershipByItemID deprecated

Deprecated: 2022-08-10 - Use PublicGetMyEntitlementOwnershipByItemIDShort instead.

PublicGetMyEntitlementOwnershipByItemID get my entitlement ownership by itemid Get my entitlement ownership by itemId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Path's namespace :
  • can be filled with publisher namespace in order to get publisher namespace entitlement ownership by sku
  • can be filled with game namespace in order to get game namespace entitlement ownership by sku

func (*Client) PublicGetMyEntitlementOwnershipByItemIDShort

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

PublicGetMyEntitlementOwnershipByItemIDShort get my entitlement ownership by itemid Get my entitlement ownership by itemId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Path's namespace :
  • can be filled with publisher namespace in order to get publisher namespace entitlement ownership by sku
  • can be filled with game namespace in order to get game namespace entitlement ownership by sku

func (*Client) PublicGetMyEntitlementOwnershipBySku deprecated

Deprecated: 2022-08-10 - Use PublicGetMyEntitlementOwnershipBySkuShort instead.

PublicGetMyEntitlementOwnershipBySku get my entitlement ownership by sku Get my entitlement ownership by sku.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Path's namespace :
  • can be filled with publisher namespace in order to get publisher namespace entitlement ownership by sku
  • can be filled with game namespace in order to get game namespace entitlement ownership by sku

func (*Client) PublicGetMyEntitlementOwnershipBySkuShort

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

PublicGetMyEntitlementOwnershipBySkuShort get my entitlement ownership by sku Get my entitlement ownership by sku.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Path's namespace :
  • can be filled with publisher namespace in order to get publisher namespace entitlement ownership by sku
  • can be filled with game namespace in order to get game namespace entitlement ownership by sku

func (*Client) PublicGetUserAppEntitlementByAppID deprecated

Deprecated: 2022-08-10 - Use PublicGetUserAppEntitlementByAppIDShort instead.

PublicGetUserAppEntitlementByAppID get user app entitlement by appid Get user app entitlement by appId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserAppEntitlementByAppIDShort

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

PublicGetUserAppEntitlementByAppIDShort get user app entitlement by appid Get user app entitlement by appId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserAppEntitlementOwnershipByAppID deprecated

Deprecated: 2022-08-10 - Use PublicGetUserAppEntitlementOwnershipByAppIDShort instead.

PublicGetUserAppEntitlementOwnershipByAppID get user app entitlement ownership by appid Get user app entitlement ownership by appId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserAppEntitlementOwnershipByAppIDShort

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

PublicGetUserAppEntitlementOwnershipByAppIDShort get user app entitlement ownership by appid Get user app entitlement ownership by appId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementShort instead.

PublicGetUserEntitlement get user entitlement Get user entitlement.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement

func (*Client) PublicGetUserEntitlementByItemID deprecated

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementByItemIDShort instead.

PublicGetUserEntitlementByItemID get user entitlement by itemid Get user entitlement by itemId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementByItemIDShort

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

PublicGetUserEntitlementByItemIDShort get user entitlement by itemid Get user entitlement by itemId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementBySku deprecated

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementBySkuShort instead.

PublicGetUserEntitlementBySku get user entitlement by sku Get user entitlement by sku.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementBySkuShort

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

PublicGetUserEntitlementBySkuShort get user entitlement by sku Get user entitlement by sku.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementOwnershipByItemID deprecated

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementOwnershipByItemIDShort instead.

PublicGetUserEntitlementOwnershipByItemID get user entitlement ownership by itemid Get user entitlement ownership by itemId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementOwnershipByItemIDShort

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

PublicGetUserEntitlementOwnershipByItemIDShort get user entitlement ownership by itemid Get user entitlement ownership by itemId.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementOwnershipByItemIds deprecated

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementOwnershipByItemIdsShort instead.

PublicGetUserEntitlementOwnershipByItemIds get user entitlement ownership by itemids Get user entitlement ownership by itemIds.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementOwnershipByItemIdsShort

func (a *Client) PublicGetUserEntitlementOwnershipByItemIdsShort(params *PublicGetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIdsOK, error)

PublicGetUserEntitlementOwnershipByItemIdsShort get user entitlement ownership by itemids Get user entitlement ownership by itemIds.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementOwnershipBySku deprecated

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementOwnershipBySkuShort instead.

PublicGetUserEntitlementOwnershipBySku get user entitlement ownership by sku Get user entitlement ownership by sku.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementOwnershipBySkuShort

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

PublicGetUserEntitlementOwnershipBySkuShort get user entitlement ownership by sku Get user entitlement ownership by sku.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)

func (*Client) PublicGetUserEntitlementShort

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

PublicGetUserEntitlementShort get user entitlement Get user entitlement.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement

func (*Client) PublicGetUserEntitlementsByIds deprecated

func (a *Client) PublicGetUserEntitlementsByIds(params *PublicGetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementsByIdsOK, error)

Deprecated: 2022-08-10 - Use PublicGetUserEntitlementsByIdsShort instead.

PublicGetUserEntitlementsByIds get user entitlements by ids. Get user entitlements by ids..

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) PublicGetUserEntitlementsByIdsShort

func (a *Client) PublicGetUserEntitlementsByIdsShort(params *PublicGetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementsByIdsOK, error)

PublicGetUserEntitlementsByIdsShort get user entitlements by ids. Get user entitlements by ids..

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) PublicQueryUserEntitlements deprecated

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

Deprecated: 2022-08-10 - Use PublicQueryUserEntitlementsShort instead.

PublicQueryUserEntitlements query user entitlements Query user entitlements for a specific user.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) PublicQueryUserEntitlementsByAppType deprecated

Deprecated: 2022-08-10 - Use PublicQueryUserEntitlementsByAppTypeShort instead.

PublicQueryUserEntitlementsByAppType query app entitlements by apptype Query app entitlements by appType.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : app entitlement pagination

func (*Client) PublicQueryUserEntitlementsByAppTypeShort

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

PublicQueryUserEntitlementsByAppTypeShort query app entitlements by apptype Query app entitlements by appType.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : app entitlement pagination

func (*Client) PublicQueryUserEntitlementsShort

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

PublicQueryUserEntitlementsShort query user entitlements Query user entitlements for a specific user.

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) PublicSellUserEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicSellUserEntitlementShort instead.

PublicSellUserEntitlement sell user entitlement Sell user entitlement. If the entitlement is consumable, useCount is 0, the status will be CONSUMED. If the entitlement is durable, the status will be SOLD. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : entitlement

func (*Client) PublicSellUserEntitlementShort

func (a *Client) PublicSellUserEntitlementShort(params *PublicSellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSellUserEntitlementOK, error)

PublicSellUserEntitlementShort sell user entitlement Sell user entitlement. If the entitlement is consumable, useCount is 0, the status will be CONSUMED. If the entitlement is durable, the status will be SOLD. Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : entitlement

func (*Client) PublicSplitUserEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicSplitUserEntitlementShort instead.

PublicSplitUserEntitlement split user entitlement Split a specified use count of entitlement and create a new entitlement with splitting use count.Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : entitlement

func (*Client) PublicSplitUserEntitlementShort

func (a *Client) PublicSplitUserEntitlementShort(params *PublicSplitUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSplitUserEntitlementOK, error)

PublicSplitUserEntitlementShort split user entitlement Split a specified use count of entitlement and create a new entitlement with splitting use count.Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : entitlement

func (*Client) PublicTransferUserEntitlement deprecated

Deprecated: 2022-08-10 - Use PublicTransferUserEntitlementShort instead.

PublicTransferUserEntitlement transfer user entitlement Transfer a specified use count from entitlement A to B..Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : entitlement

func (*Client) PublicTransferUserEntitlementShort

func (a *Client) PublicTransferUserEntitlementShort(params *PublicTransferUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTransferUserEntitlementOK, error)

PublicTransferUserEntitlementShort transfer user entitlement Transfer a specified use count from entitlement A to B..Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : entitlement

func (*Client) PublicUserEntitlementHistory deprecated

func (a *Client) PublicUserEntitlementHistory(params *PublicUserEntitlementHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUserEntitlementHistoryOK, error)

Deprecated: 2022-08-10 - Use PublicUserEntitlementHistoryShort instead.

PublicUserEntitlementHistory get user entitlements histories. Get user entitlement history

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : user entitlement history list

func (*Client) PublicUserEntitlementHistoryShort

func (a *Client) PublicUserEntitlementHistoryShort(params *PublicUserEntitlementHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUserEntitlementHistoryOK, error)

PublicUserEntitlementHistoryShort get user entitlements histories. Get user entitlement history

Other detail info:

  • Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : user entitlement history list

func (*Client) QueryEntitlements deprecated

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

Deprecated: 2022-08-10 - Use QueryEntitlementsShort instead.

QueryEntitlements query entitlements Query entitlements.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) QueryEntitlements1 deprecated

func (a *Client) QueryEntitlements1(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1OK, error)

Deprecated: 2022-08-10 - Use QueryEntitlements1Short instead.

QueryEntitlements1 query entitlements by item ids Query entitlements by Item Ids.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) QueryEntitlements1Short

func (a *Client) QueryEntitlements1Short(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1OK, error)

QueryEntitlements1Short query entitlements by item ids Query entitlements by Item Ids.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) QueryEntitlementsShort

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

QueryEntitlementsShort query entitlements Query entitlements.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) QueryUserEntitlements deprecated

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

Deprecated: 2022-08-10 - Use QueryUserEntitlementsShort instead.

QueryUserEntitlements query user entitlements Query entitlements for a specific user.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) QueryUserEntitlementsByAppType deprecated

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

Deprecated: 2022-08-10 - Use QueryUserEntitlementsByAppTypeShort instead.

QueryUserEntitlementsByAppType query app entitlements by apptype Query app entitlements by appType.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2
  • Returns : app entitlement pagination

func (*Client) QueryUserEntitlementsByAppTypeShort

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

QueryUserEntitlementsByAppTypeShort query app entitlements by apptype Query app entitlements by appType.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2
  • Returns : app entitlement pagination

func (*Client) QueryUserEntitlementsShort

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

QueryUserEntitlementsShort query user entitlements Query entitlements for a specific user.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)
  • Returns : entitlement list

func (*Client) RevokeAllEntitlements deprecated

func (a *Client) RevokeAllEntitlements(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsOK, error)

Deprecated: 2022-08-10 - Use RevokeAllEntitlementsShort instead.

RevokeAllEntitlements revoke all entitlements of a user (this api is for testing purpose only) Revoke all entitlements of a user (This API is for testing purpose only) Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoked entitlements count

func (*Client) RevokeAllEntitlementsShort

func (a *Client) RevokeAllEntitlementsShort(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsOK, error)

RevokeAllEntitlementsShort revoke all entitlements of a user (this api is for testing purpose only) Revoke all entitlements of a user (This API is for testing purpose only) Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoked entitlements count

func (*Client) RevokeEntitlements deprecated

Deprecated: 2022-08-10 - Use RevokeEntitlementsShort instead.

RevokeEntitlements revoke entitlements by ids Revoke entitlements, skipped revocation will be treated as fail. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : bulk revoke entitlements result

func (*Client) RevokeEntitlementsShort

func (a *Client) RevokeEntitlementsShort(params *RevokeEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeEntitlementsOK, error)

RevokeEntitlementsShort revoke entitlements by ids Revoke entitlements, skipped revocation will be treated as fail. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : bulk revoke entitlements result

func (*Client) RevokeUseCount deprecated

Deprecated: 2022-08-10 - Use RevokeUseCountShort instead.

RevokeUseCount revoke specified use count of user entitlement Revoke specified use count of user entitlement. please use /{entitlementId}/revoke/byUseCount endpoint instead of this endpoint Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoke entitlement

func (*Client) RevokeUseCountShort

func (a *Client) RevokeUseCountShort(params *RevokeUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUseCountOK, error)

RevokeUseCountShort revoke specified use count of user entitlement Revoke specified use count of user entitlement. please use /{entitlementId}/revoke/byUseCount endpoint instead of this endpoint Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoke entitlement

func (*Client) RevokeUserEntitlement deprecated

Deprecated: 2022-08-10 - Use RevokeUserEntitlementShort instead.

RevokeUserEntitlement revoke user entitlement Revoke user entitlement. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoke entitlement

func (*Client) RevokeUserEntitlementByUseCount deprecated

Deprecated: 2022-08-10 - Use RevokeUserEntitlementByUseCountShort instead.

RevokeUserEntitlementByUseCount revoke specified count of user entitlement. Revoke specified count of user entitlement. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : The revoked entitlement

func (*Client) RevokeUserEntitlementByUseCountShort

func (a *Client) RevokeUserEntitlementByUseCountShort(params *RevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementByUseCountOK, error)

RevokeUserEntitlementByUseCountShort revoke specified count of user entitlement. Revoke specified count of user entitlement. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : The revoked entitlement

func (*Client) RevokeUserEntitlementShort

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

RevokeUserEntitlementShort revoke user entitlement Revoke user entitlement. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoke entitlement

func (*Client) RevokeUserEntitlements deprecated

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

Deprecated: 2022-08-10 - Use RevokeUserEntitlementsShort instead.

RevokeUserEntitlements revoke user's entitlements by ids Revoke user's entitlements by ids. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoke entitlements count

func (*Client) RevokeUserEntitlementsShort

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

RevokeUserEntitlementsShort revoke user's entitlements by ids Revoke user's entitlements by ids. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : revoke entitlements count

func (*Client) SellUserEntitlement deprecated

Deprecated: 2022-08-10 - Use SellUserEntitlementShort instead.

SellUserEntitlement sell user entitlement Sell user entitlement. If the entitlement is consumable, useCount is 0, the status will be CONSUMED. If the entitlement is durable, the status will be SOLD. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT, action=4 (UPDATE)
  • Returns : entitlement

func (*Client) SellUserEntitlementShort

func (a *Client) SellUserEntitlementShort(params *SellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*SellUserEntitlementOK, error)

SellUserEntitlementShort sell user entitlement Sell user entitlement. If the entitlement is consumable, useCount is 0, the status will be CONSUMED. If the entitlement is durable, the status will be SOLD. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT, action=4 (UPDATE)
  • Returns : entitlement

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePlatformEntitlementConfig deprecated

Deprecated: 2022-08-10 - Use UpdatePlatformEntitlementConfigShort instead.

UpdatePlatformEntitlementConfig update platform entitlement config Update platform entitlement config. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=4 (UPDATE)
  • Returns : platform entitlement config

func (*Client) UpdatePlatformEntitlementConfigShort

func (a *Client) UpdatePlatformEntitlementConfigShort(params *UpdatePlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformEntitlementConfigOK, error)

UpdatePlatformEntitlementConfigShort update platform entitlement config Update platform entitlement config. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ENTITLEMENT:CONFIG", action=4 (UPDATE)
  • Returns : platform entitlement config

func (*Client) UpdateUserEntitlement deprecated

Deprecated: 2022-08-10 - Use UpdateUserEntitlementShort instead.

UpdateUserEntitlement update user entitlement Update user entitlement. If update CONSUMABLE entitlement useCount to 0, the status will be CONSUMED. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : updated entitlement

func (*Client) UpdateUserEntitlementShort

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

UpdateUserEntitlementShort update user entitlement Update user entitlement. If update CONSUMABLE entitlement useCount to 0, the status will be CONSUMED. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)
  • Returns : updated entitlement

type ClientService

type ClientService interface {
	QueryEntitlements(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsOK, error)
	QueryEntitlementsShort(params *QueryEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlementsOK, error)
	QueryEntitlements1(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1OK, error)
	QueryEntitlements1Short(params *QueryEntitlements1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryEntitlements1OK, error)
	EnableEntitlementOriginFeature(params *EnableEntitlementOriginFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*EnableEntitlementOriginFeatureOK, error)
	EnableEntitlementOriginFeatureShort(params *EnableEntitlementOriginFeatureParams, authInfo runtime.ClientAuthInfoWriter) (*EnableEntitlementOriginFeatureOK, error)
	GetEntitlementConfigInfo(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoOK, error)
	GetEntitlementConfigInfoShort(params *GetEntitlementConfigInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementConfigInfoOK, error)
	GrantEntitlements(params *GrantEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*GrantEntitlementsOK, *GrantEntitlementsUnprocessableEntity, error)
	GrantEntitlementsShort(params *GrantEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*GrantEntitlementsOK, error)
	RevokeEntitlements(params *RevokeEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeEntitlementsOK, *RevokeEntitlementsUnprocessableEntity, error)
	RevokeEntitlementsShort(params *RevokeEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeEntitlementsOK, error)
	GetEntitlement(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementOK, *GetEntitlementNotFound, error)
	GetEntitlementShort(params *GetEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetEntitlementOK, error)
	GetPlatformEntitlementConfig(params *GetPlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformEntitlementConfigOK, error)
	GetPlatformEntitlementConfigShort(params *GetPlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformEntitlementConfigOK, error)
	UpdatePlatformEntitlementConfig(params *UpdatePlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformEntitlementConfigOK, *UpdatePlatformEntitlementConfigNotFound, error)
	UpdatePlatformEntitlementConfigShort(params *UpdatePlatformEntitlementConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformEntitlementConfigOK, error)
	QueryUserEntitlements(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsOK, error)
	QueryUserEntitlementsShort(params *QueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsOK, error)
	GrantUserEntitlement(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementCreated, *GrantUserEntitlementNotFound, *GrantUserEntitlementUnprocessableEntity, error)
	GrantUserEntitlementShort(params *GrantUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GrantUserEntitlementCreated, error)
	GetUserAppEntitlementByAppID(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDOK, *GetUserAppEntitlementByAppIDNotFound, error)
	GetUserAppEntitlementByAppIDShort(params *GetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementByAppIDOK, error)
	QueryUserEntitlementsByAppType(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeOK, error)
	QueryUserEntitlementsByAppTypeShort(params *QueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserEntitlementsByAppTypeOK, error)
	GetUserEntitlementByItemID(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDOK, *GetUserEntitlementByItemIDNotFound, error)
	GetUserEntitlementByItemIDShort(params *GetUserEntitlementByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementByItemIDOK, error)
	GetUserActiveEntitlementsByItemIds(params *GetUserActiveEntitlementsByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserActiveEntitlementsByItemIdsOK, error)
	GetUserActiveEntitlementsByItemIdsShort(params *GetUserActiveEntitlementsByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserActiveEntitlementsByItemIdsOK, error)
	GetUserEntitlementBySku(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuOK, *GetUserEntitlementBySkuNotFound, error)
	GetUserEntitlementBySkuShort(params *GetUserEntitlementBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementBySkuOK, 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)
	GetUserAppEntitlementOwnershipByAppID(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDOK, error)
	GetUserAppEntitlementOwnershipByAppIDShort(params *GetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAppEntitlementOwnershipByAppIDOK, error)
	GetUserEntitlementOwnershipByItemID(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDOK, error)
	GetUserEntitlementOwnershipByItemIDShort(params *GetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIDOK, error)
	GetUserEntitlementOwnershipByItemIds(params *GetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIdsOK, error)
	GetUserEntitlementOwnershipByItemIdsShort(params *GetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipByItemIdsOK, error)
	GetUserEntitlementOwnershipBySku(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuOK, error)
	GetUserEntitlementOwnershipBySkuShort(params *GetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOwnershipBySkuOK, error)
	RevokeAllEntitlements(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsOK, error)
	RevokeAllEntitlementsShort(params *RevokeAllEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeAllEntitlementsOK, error)
	RevokeUserEntitlements(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsOK, error)
	RevokeUserEntitlementsShort(params *RevokeUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementsOK, error)
	GetUserEntitlement(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOK, *GetUserEntitlementNotFound, error)
	GetUserEntitlementShort(params *GetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementOK, error)
	UpdateUserEntitlement(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementOK, *UpdateUserEntitlementNotFound, *UpdateUserEntitlementConflict, *UpdateUserEntitlementUnprocessableEntity, error)
	UpdateUserEntitlementShort(params *UpdateUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserEntitlementOK, error)
	ConsumeUserEntitlement(params *ConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*ConsumeUserEntitlementOK, *ConsumeUserEntitlementBadRequest, *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)
	GetUserEntitlementHistories(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesOK, error)
	GetUserEntitlementHistoriesShort(params *GetUserEntitlementHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserEntitlementHistoriesOK, error)
	RevokeUserEntitlement(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementOK, *RevokeUserEntitlementNotFound, error)
	RevokeUserEntitlementShort(params *RevokeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementOK, error)
	RevokeUserEntitlementByUseCount(params *RevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementByUseCountOK, *RevokeUserEntitlementByUseCountNotFound, error)
	RevokeUserEntitlementByUseCountShort(params *RevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUserEntitlementByUseCountOK, error)
	PreCheckRevokeUserEntitlementByUseCount(params *PreCheckRevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckRevokeUserEntitlementByUseCountOK, *PreCheckRevokeUserEntitlementByUseCountNotFound, error)
	PreCheckRevokeUserEntitlementByUseCountShort(params *PreCheckRevokeUserEntitlementByUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckRevokeUserEntitlementByUseCountOK, error)
	RevokeUseCount(params *RevokeUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUseCountOK, *RevokeUseCountNotFound, error)
	RevokeUseCountShort(params *RevokeUseCountParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeUseCountOK, error)
	SellUserEntitlement(params *SellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*SellUserEntitlementOK, *SellUserEntitlementNotFound, *SellUserEntitlementConflict, error)
	SellUserEntitlementShort(params *SellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*SellUserEntitlementOK, error)
	PublicExistsAnyMyActiveEntitlement(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementOK, error)
	PublicExistsAnyMyActiveEntitlementShort(params *PublicExistsAnyMyActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyMyActiveEntitlementOK, 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)
	PublicGetEntitlementOwnershipToken(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenOK, error)
	PublicGetEntitlementOwnershipTokenShort(params *PublicGetEntitlementOwnershipTokenParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEntitlementOwnershipTokenOK, error)
	PublicQueryUserEntitlements(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsOK, error)
	PublicQueryUserEntitlementsShort(params *PublicQueryUserEntitlementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsOK, error)
	PublicGetUserAppEntitlementByAppID(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDOK, *PublicGetUserAppEntitlementByAppIDNotFound, error)
	PublicGetUserAppEntitlementByAppIDShort(params *PublicGetUserAppEntitlementByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementByAppIDOK, error)
	PublicQueryUserEntitlementsByAppType(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeOK, error)
	PublicQueryUserEntitlementsByAppTypeShort(params *PublicQueryUserEntitlementsByAppTypeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryUserEntitlementsByAppTypeOK, error)
	PublicGetUserEntitlementsByIds(params *PublicGetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementsByIdsOK, error)
	PublicGetUserEntitlementsByIdsShort(params *PublicGetUserEntitlementsByIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementsByIdsOK, 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)
	PublicUserEntitlementHistory(params *PublicUserEntitlementHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUserEntitlementHistoryOK, error)
	PublicUserEntitlementHistoryShort(params *PublicUserEntitlementHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUserEntitlementHistoryOK, error)
	PublicExistsAnyUserActiveEntitlement(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementOK, error)
	PublicExistsAnyUserActiveEntitlementShort(params *PublicExistsAnyUserActiveEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicExistsAnyUserActiveEntitlementOK, error)
	PublicGetUserAppEntitlementOwnershipByAppID(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDOK, error)
	PublicGetUserAppEntitlementOwnershipByAppIDShort(params *PublicGetUserAppEntitlementOwnershipByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserAppEntitlementOwnershipByAppIDOK, error)
	PublicGetUserEntitlementOwnershipByItemID(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDOK, error)
	PublicGetUserEntitlementOwnershipByItemIDShort(params *PublicGetUserEntitlementOwnershipByItemIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIDOK, error)
	PublicGetUserEntitlementOwnershipByItemIds(params *PublicGetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIdsOK, error)
	PublicGetUserEntitlementOwnershipByItemIdsShort(params *PublicGetUserEntitlementOwnershipByItemIdsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipByItemIdsOK, error)
	PublicGetUserEntitlementOwnershipBySku(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuOK, error)
	PublicGetUserEntitlementOwnershipBySkuShort(params *PublicGetUserEntitlementOwnershipBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOwnershipBySkuOK, error)
	PublicGetUserEntitlement(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOK, *PublicGetUserEntitlementNotFound, error)
	PublicGetUserEntitlementShort(params *PublicGetUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserEntitlementOK, error)
	PublicConsumeUserEntitlement(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementOK, *PublicConsumeUserEntitlementBadRequest, *PublicConsumeUserEntitlementNotFound, *PublicConsumeUserEntitlementConflict, error)
	PublicConsumeUserEntitlementShort(params *PublicConsumeUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicConsumeUserEntitlementOK, error)
	PublicSellUserEntitlement(params *PublicSellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSellUserEntitlementOK, *PublicSellUserEntitlementNotFound, *PublicSellUserEntitlementConflict, error)
	PublicSellUserEntitlementShort(params *PublicSellUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSellUserEntitlementOK, error)
	PublicSplitUserEntitlement(params *PublicSplitUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSplitUserEntitlementOK, *PublicSplitUserEntitlementNotFound, *PublicSplitUserEntitlementConflict, error)
	PublicSplitUserEntitlementShort(params *PublicSplitUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSplitUserEntitlementOK, error)
	PublicTransferUserEntitlement(params *PublicTransferUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTransferUserEntitlementOK, *PublicTransferUserEntitlementNotFound, *PublicTransferUserEntitlementConflict, error)
	PublicTransferUserEntitlementShort(params *PublicTransferUserEntitlementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicTransferUserEntitlementOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new entitlement API client.

type ConsumeUserEntitlementBadRequest

type ConsumeUserEntitlementBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

ConsumeUserEntitlementBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31123</td><td>Unable to acquire box item, box item [{itemId}] expired</td></tr></table>

func NewConsumeUserEntitlementBadRequest

func NewConsumeUserEntitlementBadRequest() *ConsumeUserEntitlementBadRequest

NewConsumeUserEntitlementBadRequest creates a ConsumeUserEntitlementBadRequest with default headers values

func (*ConsumeUserEntitlementBadRequest) Error

func (*ConsumeUserEntitlementBadRequest) GetPayload

func (*ConsumeUserEntitlementBadRequest) ToJSONString

func (o *ConsumeUserEntitlementBadRequest) ToJSONString() string

type ConsumeUserEntitlementConflict

type ConsumeUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

ConsumeUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31173</td><td>Entitlement [{entitlementId}] is not consumable</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewConsumeUserEntitlementConflict

func NewConsumeUserEntitlementConflict() *ConsumeUserEntitlementConflict

NewConsumeUserEntitlementConflict creates a ConsumeUserEntitlementConflict with default headers values

func (*ConsumeUserEntitlementConflict) Error

func (*ConsumeUserEntitlementConflict) GetPayload

func (*ConsumeUserEntitlementConflict) ToJSONString

func (o *ConsumeUserEntitlementConflict) ToJSONString() string

type ConsumeUserEntitlementNotFound

type ConsumeUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ConsumeUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewConsumeUserEntitlementNotFound

func NewConsumeUserEntitlementNotFound() *ConsumeUserEntitlementNotFound

NewConsumeUserEntitlementNotFound creates a ConsumeUserEntitlementNotFound with default headers values

func (*ConsumeUserEntitlementNotFound) Error

func (*ConsumeUserEntitlementNotFound) GetPayload

func (*ConsumeUserEntitlementNotFound) ToJSONString

func (o *ConsumeUserEntitlementNotFound) ToJSONString() string

type ConsumeUserEntitlementOK

type ConsumeUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementDecrementResult
}

ConsumeUserEntitlementOK handles this case with default header values.

successful operation

func NewConsumeUserEntitlementOK

func NewConsumeUserEntitlementOK() *ConsumeUserEntitlementOK

NewConsumeUserEntitlementOK creates a ConsumeUserEntitlementOK with default headers values

func (*ConsumeUserEntitlementOK) Error

func (o *ConsumeUserEntitlementOK) Error() string

func (*ConsumeUserEntitlementOK) GetPayload

func (*ConsumeUserEntitlementOK) ToJSONString

func (o *ConsumeUserEntitlementOK) ToJSONString() string

type ConsumeUserEntitlementParams

type ConsumeUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewConsumeUserEntitlementParams

func NewConsumeUserEntitlementParams() *ConsumeUserEntitlementParams

NewConsumeUserEntitlementParams creates a new ConsumeUserEntitlementParams object with the default values initialized.

func NewConsumeUserEntitlementParamsWithContext

func NewConsumeUserEntitlementParamsWithContext(ctx context.Context) *ConsumeUserEntitlementParams

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

func NewConsumeUserEntitlementParamsWithHTTPClient

func NewConsumeUserEntitlementParamsWithHTTPClient(client *http.Client) *ConsumeUserEntitlementParams

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

func NewConsumeUserEntitlementParamsWithTimeout

func NewConsumeUserEntitlementParamsWithTimeout(timeout time.Duration) *ConsumeUserEntitlementParams

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

func (*ConsumeUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetBody

SetBody adds the body to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetContext

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

SetContext adds the context to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetEntitlementID

func (o *ConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetFlightId

func (o *ConsumeUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ConsumeUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetNamespace

func (o *ConsumeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetUserID

func (o *ConsumeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithBody

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

func (*DisableUserEntitlementConflict) ToJSONString

func (o *DisableUserEntitlementConflict) ToJSONString() string

type DisableUserEntitlementNotFound

type DisableUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DisableUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDisableUserEntitlementNotFound

func NewDisableUserEntitlementNotFound() *DisableUserEntitlementNotFound

NewDisableUserEntitlementNotFound creates a DisableUserEntitlementNotFound with default headers values

func (*DisableUserEntitlementNotFound) Error

func (*DisableUserEntitlementNotFound) GetPayload

func (*DisableUserEntitlementNotFound) ToJSONString

func (o *DisableUserEntitlementNotFound) ToJSONString() string

type DisableUserEntitlementOK

type DisableUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

DisableUserEntitlementOK handles this case with default header values.

successful operation

func NewDisableUserEntitlementOK

func NewDisableUserEntitlementOK() *DisableUserEntitlementOK

NewDisableUserEntitlementOK creates a DisableUserEntitlementOK with default headers values

func (*DisableUserEntitlementOK) Error

func (o *DisableUserEntitlementOK) Error() string

func (*DisableUserEntitlementOK) GetPayload

func (*DisableUserEntitlementOK) ToJSONString

func (o *DisableUserEntitlementOK) ToJSONString() string

type DisableUserEntitlementParams

type DisableUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewDisableUserEntitlementParams

func NewDisableUserEntitlementParams() *DisableUserEntitlementParams

NewDisableUserEntitlementParams creates a new DisableUserEntitlementParams object with the default values initialized.

func NewDisableUserEntitlementParamsWithContext

func NewDisableUserEntitlementParamsWithContext(ctx context.Context) *DisableUserEntitlementParams

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

func NewDisableUserEntitlementParamsWithHTTPClient

func NewDisableUserEntitlementParamsWithHTTPClient(client *http.Client) *DisableUserEntitlementParams

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

func NewDisableUserEntitlementParamsWithTimeout

func NewDisableUserEntitlementParamsWithTimeout(timeout time.Duration) *DisableUserEntitlementParams

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

func (*DisableUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the disable user entitlement params

func (*DisableUserEntitlementParams) SetContext

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

SetContext adds the context to the disable user entitlement params

func (*DisableUserEntitlementParams) SetEntitlementID

func (o *DisableUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the disable user entitlement params

func (*DisableUserEntitlementParams) SetFlightId

func (o *DisableUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DisableUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable user entitlement params

func (*DisableUserEntitlementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the disable user entitlement params

func (*DisableUserEntitlementParams) SetNamespace

func (o *DisableUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the disable user entitlement params

func (*DisableUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the disable user entitlement params

func (*DisableUserEntitlementParams) SetUserID

func (o *DisableUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the disable user entitlement params

func (*DisableUserEntitlementParams) WithContext

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 EnableEntitlementOriginFeatureOK

type EnableEntitlementOriginFeatureOK struct {
	Payload *platformclientmodels.EntitlementConfigInfo
}

EnableEntitlementOriginFeatureOK handles this case with default header values.

successful operation

func NewEnableEntitlementOriginFeatureOK

func NewEnableEntitlementOriginFeatureOK() *EnableEntitlementOriginFeatureOK

NewEnableEntitlementOriginFeatureOK creates a EnableEntitlementOriginFeatureOK with default headers values

func (*EnableEntitlementOriginFeatureOK) Error

func (*EnableEntitlementOriginFeatureOK) GetPayload

func (*EnableEntitlementOriginFeatureOK) ToJSONString

func (o *EnableEntitlementOriginFeatureOK) ToJSONString() string

type EnableEntitlementOriginFeatureParams

type EnableEntitlementOriginFeatureParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

EnableEntitlementOriginFeatureParams contains all the parameters to send to the API endpoint for the enable entitlement origin feature operation typically these are written to a http.Request

func NewEnableEntitlementOriginFeatureParams

func NewEnableEntitlementOriginFeatureParams() *EnableEntitlementOriginFeatureParams

NewEnableEntitlementOriginFeatureParams creates a new EnableEntitlementOriginFeatureParams object with the default values initialized.

func NewEnableEntitlementOriginFeatureParamsWithContext

func NewEnableEntitlementOriginFeatureParamsWithContext(ctx context.Context) *EnableEntitlementOriginFeatureParams

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

func NewEnableEntitlementOriginFeatureParamsWithHTTPClient

func NewEnableEntitlementOriginFeatureParamsWithHTTPClient(client *http.Client) *EnableEntitlementOriginFeatureParams

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

func NewEnableEntitlementOriginFeatureParamsWithTimeout

func NewEnableEntitlementOriginFeatureParamsWithTimeout(timeout time.Duration) *EnableEntitlementOriginFeatureParams

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

func (*EnableEntitlementOriginFeatureParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetContext

SetContext adds the context to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetFlightId

func (o *EnableEntitlementOriginFeatureParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*EnableEntitlementOriginFeatureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetNamespace

func (o *EnableEntitlementOriginFeatureParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetTimeout

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

SetTimeout adds the timeout to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithContext

WithContext adds the context to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithNamespace

WithNamespace adds the namespace to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithTimeout

WithTimeout adds the timeout to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableEntitlementOriginFeatureReader

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

EnableEntitlementOriginFeatureReader is a Reader for the EnableEntitlementOriginFeature structure.

func (*EnableEntitlementOriginFeatureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*EnableUserEntitlementConflict) ToJSONString

func (o *EnableUserEntitlementConflict) ToJSONString() string

type EnableUserEntitlementNotFound

type EnableUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

EnableUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewEnableUserEntitlementNotFound

func NewEnableUserEntitlementNotFound() *EnableUserEntitlementNotFound

NewEnableUserEntitlementNotFound creates a EnableUserEntitlementNotFound with default headers values

func (*EnableUserEntitlementNotFound) Error

func (*EnableUserEntitlementNotFound) GetPayload

func (*EnableUserEntitlementNotFound) ToJSONString

func (o *EnableUserEntitlementNotFound) ToJSONString() string

type EnableUserEntitlementOK

type EnableUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

EnableUserEntitlementOK handles this case with default header values.

successful operation

func NewEnableUserEntitlementOK

func NewEnableUserEntitlementOK() *EnableUserEntitlementOK

NewEnableUserEntitlementOK creates a EnableUserEntitlementOK with default headers values

func (*EnableUserEntitlementOK) Error

func (o *EnableUserEntitlementOK) Error() string

func (*EnableUserEntitlementOK) GetPayload

func (*EnableUserEntitlementOK) ToJSONString

func (o *EnableUserEntitlementOK) ToJSONString() string

type EnableUserEntitlementParams

type EnableUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewEnableUserEntitlementParams

func NewEnableUserEntitlementParams() *EnableUserEntitlementParams

NewEnableUserEntitlementParams creates a new EnableUserEntitlementParams object with the default values initialized.

func NewEnableUserEntitlementParamsWithContext

func NewEnableUserEntitlementParamsWithContext(ctx context.Context) *EnableUserEntitlementParams

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

func NewEnableUserEntitlementParamsWithHTTPClient

func NewEnableUserEntitlementParamsWithHTTPClient(client *http.Client) *EnableUserEntitlementParams

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

func NewEnableUserEntitlementParamsWithTimeout

func NewEnableUserEntitlementParamsWithTimeout(timeout time.Duration) *EnableUserEntitlementParams

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

func (*EnableUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the enable user entitlement params

func (*EnableUserEntitlementParams) SetContext

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

SetContext adds the context to the enable user entitlement params

func (*EnableUserEntitlementParams) SetEntitlementID

func (o *EnableUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the enable user entitlement params

func (*EnableUserEntitlementParams) SetFlightId

func (o *EnableUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*EnableUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable user entitlement params

func (*EnableUserEntitlementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the enable user entitlement params

func (*EnableUserEntitlementParams) SetNamespace

func (o *EnableUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable user entitlement params

func (*EnableUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the enable user entitlement params

func (*EnableUserEntitlementParams) SetUserID

func (o *EnableUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the enable user entitlement params

func (*EnableUserEntitlementParams) WithContext

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

func (*ExistsAnyUserActiveEntitlementByItemIdsOK) ToJSONString

type ExistsAnyUserActiveEntitlementByItemIdsParams

type ExistsAnyUserActiveEntitlementByItemIdsParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ExistsAnyUserActiveEntitlementByItemIdsParams contains all the parameters to send to the API endpoint for the exists any user active entitlement by item ids operation typically these are written to a http.Request

func NewExistsAnyUserActiveEntitlementByItemIdsParams

func NewExistsAnyUserActiveEntitlementByItemIdsParams() *ExistsAnyUserActiveEntitlementByItemIdsParams

NewExistsAnyUserActiveEntitlementByItemIdsParams creates a new ExistsAnyUserActiveEntitlementByItemIdsParams object with the default values initialized.

func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithContext

func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementByItemIdsParams

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

func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithHTTPClient

func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementByItemIdsParams

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

func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithTimeout

func NewExistsAnyUserActiveEntitlementByItemIdsParamsWithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementByItemIdsParams

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetAuthInfoWriter

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetContext

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetFlightId

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClient

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetHTTPClientTransport

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetItemIds

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace(namespace string)

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetPlatform

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetPlatform(platform *string)

SetPlatform adds the platform to the exists any user active entitlement by item ids params

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetTimeout

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

WithPlatform adds the platform 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

func (*ExistsAnyUserActiveEntitlementOK) ToJSONString

func (o *ExistsAnyUserActiveEntitlementOK) ToJSONString() string

type ExistsAnyUserActiveEntitlementParams

type ExistsAnyUserActiveEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ExistsAnyUserActiveEntitlementParams contains all the parameters to send to the API endpoint for the exists any user active entitlement operation typically these are written to a http.Request

func NewExistsAnyUserActiveEntitlementParams

func NewExistsAnyUserActiveEntitlementParams() *ExistsAnyUserActiveEntitlementParams

NewExistsAnyUserActiveEntitlementParams creates a new ExistsAnyUserActiveEntitlementParams object with the default values initialized.

func NewExistsAnyUserActiveEntitlementParamsWithContext

func NewExistsAnyUserActiveEntitlementParamsWithContext(ctx context.Context) *ExistsAnyUserActiveEntitlementParams

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

func NewExistsAnyUserActiveEntitlementParamsWithHTTPClient

func NewExistsAnyUserActiveEntitlementParamsWithHTTPClient(client *http.Client) *ExistsAnyUserActiveEntitlementParams

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

func NewExistsAnyUserActiveEntitlementParamsWithTimeout

func NewExistsAnyUserActiveEntitlementParamsWithTimeout(timeout time.Duration) *ExistsAnyUserActiveEntitlementParams

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

func (*ExistsAnyUserActiveEntitlementParams) SetAppIds

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) SetContext

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

func (*ExistsAnyUserActiveEntitlementParams) SetFlightId

func (o *ExistsAnyUserActiveEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExistsAnyUserActiveEntitlementParams) SetHTTPClient

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetItemIds

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetNamespace

func (o *ExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)

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

func (*ExistsAnyUserActiveEntitlementParams) SetPlatform

func (o *ExistsAnyUserActiveEntitlementParams) SetPlatform(platform *string)

SetPlatform adds the platform to the exists any user active entitlement params

func (*ExistsAnyUserActiveEntitlementParams) SetSkus

func (o *ExistsAnyUserActiveEntitlementParams) SetSkus(skus []string)

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

func (*ExistsAnyUserActiveEntitlementParams) SetTimeout

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetUserID

func (o *ExistsAnyUserActiveEntitlementParams) SetUserID(userID string)

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

func (*ExistsAnyUserActiveEntitlementParams) WithAppIds

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

WithPlatform adds the platform 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 GetEntitlementConfigInfoOK

type GetEntitlementConfigInfoOK struct {
	Payload *platformclientmodels.EntitlementConfigInfo
}

GetEntitlementConfigInfoOK handles this case with default header values.

successful operation

func NewGetEntitlementConfigInfoOK

func NewGetEntitlementConfigInfoOK() *GetEntitlementConfigInfoOK

NewGetEntitlementConfigInfoOK creates a GetEntitlementConfigInfoOK with default headers values

func (*GetEntitlementConfigInfoOK) Error

func (*GetEntitlementConfigInfoOK) GetPayload

func (*GetEntitlementConfigInfoOK) ToJSONString

func (o *GetEntitlementConfigInfoOK) ToJSONString() string

type GetEntitlementConfigInfoParams

type GetEntitlementConfigInfoParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*WithoutCache*/
	WithoutCache *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetEntitlementConfigInfoParams contains all the parameters to send to the API endpoint for the get entitlement config info operation typically these are written to a http.Request

func NewGetEntitlementConfigInfoParams

func NewGetEntitlementConfigInfoParams() *GetEntitlementConfigInfoParams

NewGetEntitlementConfigInfoParams creates a new GetEntitlementConfigInfoParams object with the default values initialized.

func NewGetEntitlementConfigInfoParamsWithContext

func NewGetEntitlementConfigInfoParamsWithContext(ctx context.Context) *GetEntitlementConfigInfoParams

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

func NewGetEntitlementConfigInfoParamsWithHTTPClient

func NewGetEntitlementConfigInfoParamsWithHTTPClient(client *http.Client) *GetEntitlementConfigInfoParams

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

func NewGetEntitlementConfigInfoParamsWithTimeout

func NewGetEntitlementConfigInfoParamsWithTimeout(timeout time.Duration) *GetEntitlementConfigInfoParams

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

func (*GetEntitlementConfigInfoParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetContext

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

SetContext adds the context to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetFlightId

func (o *GetEntitlementConfigInfoParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetEntitlementConfigInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetNamespace

func (o *GetEntitlementConfigInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetWithoutCache

func (o *GetEntitlementConfigInfoParams) SetWithoutCache(withoutCache *bool)

SetWithoutCache adds the withoutCache to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithContext

WithContext adds the context to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithNamespace

WithNamespace adds the namespace to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithTimeout

WithTimeout adds the timeout to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithWithoutCache

func (o *GetEntitlementConfigInfoParams) WithWithoutCache(withoutCache *bool) *GetEntitlementConfigInfoParams

WithWithoutCache adds the withoutCache to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEntitlementConfigInfoReader

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

GetEntitlementConfigInfoReader is a Reader for the GetEntitlementConfigInfo structure.

func (*GetEntitlementConfigInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEntitlementNotFound

type GetEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetEntitlementNotFound

func NewGetEntitlementNotFound() *GetEntitlementNotFound

NewGetEntitlementNotFound creates a GetEntitlementNotFound with default headers values

func (*GetEntitlementNotFound) Error

func (o *GetEntitlementNotFound) Error() string

func (*GetEntitlementNotFound) GetPayload

func (*GetEntitlementNotFound) ToJSONString

func (o *GetEntitlementNotFound) ToJSONString() string

type GetEntitlementOK

type GetEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

GetEntitlementOK handles this case with default header values.

successful operation

func NewGetEntitlementOK

func NewGetEntitlementOK() *GetEntitlementOK

NewGetEntitlementOK creates a GetEntitlementOK with default headers values

func (*GetEntitlementOK) Error

func (o *GetEntitlementOK) Error() string

func (*GetEntitlementOK) GetPayload

func (*GetEntitlementOK) ToJSONString

func (o *GetEntitlementOK) ToJSONString() string

type GetEntitlementParams

type GetEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetEntitlementParams contains all the parameters to send to the API endpoint for the get entitlement operation typically these are written to a http.Request

func NewGetEntitlementParams

func NewGetEntitlementParams() *GetEntitlementParams

NewGetEntitlementParams creates a new GetEntitlementParams object with the default values initialized.

func NewGetEntitlementParamsWithContext

func NewGetEntitlementParamsWithContext(ctx context.Context) *GetEntitlementParams

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

func NewGetEntitlementParamsWithHTTPClient

func NewGetEntitlementParamsWithHTTPClient(client *http.Client) *GetEntitlementParams

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

func NewGetEntitlementParamsWithTimeout

func NewGetEntitlementParamsWithTimeout(timeout time.Duration) *GetEntitlementParams

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

func (*GetEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get entitlement params

func (*GetEntitlementParams) SetContext

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

SetContext adds the context to the get entitlement params

func (*GetEntitlementParams) SetEntitlementID

func (o *GetEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get entitlement params

func (*GetEntitlementParams) SetFlightId

func (o *GetEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get entitlement params

func (*GetEntitlementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get entitlement params

func (*GetEntitlementParams) SetNamespace

func (o *GetEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get entitlement params

func (*GetEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the get entitlement params

func (*GetEntitlementParams) WithContext

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 GetPlatformEntitlementConfigOK

type GetPlatformEntitlementConfigOK struct {
	Payload *platformclientmodels.EntitlementPlatformConfigInfo
}

GetPlatformEntitlementConfigOK handles this case with default header values.

successful operation

func NewGetPlatformEntitlementConfigOK

func NewGetPlatformEntitlementConfigOK() *GetPlatformEntitlementConfigOK

NewGetPlatformEntitlementConfigOK creates a GetPlatformEntitlementConfigOK with default headers values

func (*GetPlatformEntitlementConfigOK) Error

func (*GetPlatformEntitlementConfigOK) GetPayload

func (*GetPlatformEntitlementConfigOK) ToJSONString

func (o *GetPlatformEntitlementConfigOK) ToJSONString() string

type GetPlatformEntitlementConfigParams

type GetPlatformEntitlementConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Platform*/
	Platform string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetPlatformEntitlementConfigParams contains all the parameters to send to the API endpoint for the get platform entitlement config operation typically these are written to a http.Request

func NewGetPlatformEntitlementConfigParams

func NewGetPlatformEntitlementConfigParams() *GetPlatformEntitlementConfigParams

NewGetPlatformEntitlementConfigParams creates a new GetPlatformEntitlementConfigParams object with the default values initialized.

func NewGetPlatformEntitlementConfigParamsWithContext

func NewGetPlatformEntitlementConfigParamsWithContext(ctx context.Context) *GetPlatformEntitlementConfigParams

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

func NewGetPlatformEntitlementConfigParamsWithHTTPClient

func NewGetPlatformEntitlementConfigParamsWithHTTPClient(client *http.Client) *GetPlatformEntitlementConfigParams

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

func NewGetPlatformEntitlementConfigParamsWithTimeout

func NewGetPlatformEntitlementConfigParamsWithTimeout(timeout time.Duration) *GetPlatformEntitlementConfigParams

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

func (*GetPlatformEntitlementConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetContext

SetContext adds the context to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetFlightId

func (o *GetPlatformEntitlementConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPlatformEntitlementConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetNamespace

func (o *GetPlatformEntitlementConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetPlatform

func (o *GetPlatformEntitlementConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithContext

WithContext adds the context to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithNamespace

WithNamespace adds the namespace to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithPlatform

WithPlatform adds the platform to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithTimeout

WithTimeout adds the timeout to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlatformEntitlementConfigReader

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

GetPlatformEntitlementConfigReader is a Reader for the GetPlatformEntitlementConfig structure.

func (*GetPlatformEntitlementConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserActiveEntitlementsByItemIdsOK

type GetUserActiveEntitlementsByItemIdsOK struct {
	Payload []*platformclientmodels.EntitlementInfo
}

GetUserActiveEntitlementsByItemIdsOK handles this case with default header values.

successful operation

func NewGetUserActiveEntitlementsByItemIdsOK

func NewGetUserActiveEntitlementsByItemIdsOK() *GetUserActiveEntitlementsByItemIdsOK

NewGetUserActiveEntitlementsByItemIdsOK creates a GetUserActiveEntitlementsByItemIdsOK with default headers values

func (*GetUserActiveEntitlementsByItemIdsOK) Error

func (*GetUserActiveEntitlementsByItemIdsOK) GetPayload

func (*GetUserActiveEntitlementsByItemIdsOK) ToJSONString

func (o *GetUserActiveEntitlementsByItemIdsOK) ToJSONString() string

type GetUserActiveEntitlementsByItemIdsParams

type GetUserActiveEntitlementsByItemIdsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string
	/*Ids*/
	Ids []string
	/*Platform*/
	Platform *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserActiveEntitlementsByItemIdsParams contains all the parameters to send to the API endpoint for the get user active entitlements by item ids operation typically these are written to a http.Request

func NewGetUserActiveEntitlementsByItemIdsParams

func NewGetUserActiveEntitlementsByItemIdsParams() *GetUserActiveEntitlementsByItemIdsParams

NewGetUserActiveEntitlementsByItemIdsParams creates a new GetUserActiveEntitlementsByItemIdsParams object with the default values initialized.

func NewGetUserActiveEntitlementsByItemIdsParamsWithContext

func NewGetUserActiveEntitlementsByItemIdsParamsWithContext(ctx context.Context) *GetUserActiveEntitlementsByItemIdsParams

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

func NewGetUserActiveEntitlementsByItemIdsParamsWithHTTPClient

func NewGetUserActiveEntitlementsByItemIdsParamsWithHTTPClient(client *http.Client) *GetUserActiveEntitlementsByItemIdsParams

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

func NewGetUserActiveEntitlementsByItemIdsParamsWithTimeout

func NewGetUserActiveEntitlementsByItemIdsParamsWithTimeout(timeout time.Duration) *GetUserActiveEntitlementsByItemIdsParams

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetContext

SetContext adds the context to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetFlightId

func (o *GetUserActiveEntitlementsByItemIdsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserActiveEntitlementsByItemIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetIds

SetIds adds the ids to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetNamespace

func (o *GetUserActiveEntitlementsByItemIdsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetPlatform

func (o *GetUserActiveEntitlementsByItemIdsParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetTimeout

SetTimeout adds the timeout to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) SetUserID

func (o *GetUserActiveEntitlementsByItemIdsParams) SetUserID(userID string)

SetUserID adds the userId to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithContext

WithContext adds the context to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithIds

WithIds adds the ids to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithNamespace

WithNamespace adds the namespace to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithPlatform

WithPlatform adds the platform to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithTimeout

WithTimeout adds the timeout to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WithUserID

WithUserID adds the userID to the get user active entitlements by item ids params

func (*GetUserActiveEntitlementsByItemIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserActiveEntitlementsByItemIdsReader

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

GetUserActiveEntitlementsByItemIdsReader is a Reader for the GetUserActiveEntitlementsByItemIds structure.

func (*GetUserActiveEntitlementsByItemIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*GetUserAppEntitlementByAppIDNotFound) ToJSONString

func (o *GetUserAppEntitlementByAppIDNotFound) ToJSONString() string

type GetUserAppEntitlementByAppIDOK

type GetUserAppEntitlementByAppIDOK struct {
	Payload *platformclientmodels.AppEntitlementInfo
}

GetUserAppEntitlementByAppIDOK handles this case with default header values.

successful operation

func NewGetUserAppEntitlementByAppIDOK

func NewGetUserAppEntitlementByAppIDOK() *GetUserAppEntitlementByAppIDOK

NewGetUserAppEntitlementByAppIDOK creates a GetUserAppEntitlementByAppIDOK with default headers values

func (*GetUserAppEntitlementByAppIDOK) Error

func (*GetUserAppEntitlementByAppIDOK) GetPayload

func (*GetUserAppEntitlementByAppIDOK) ToJSONString

func (o *GetUserAppEntitlementByAppIDOK) ToJSONString() string

type GetUserAppEntitlementByAppIDParams

type GetUserAppEntitlementByAppIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserAppEntitlementByAppIDParams contains all the parameters to send to the API endpoint for the get user app entitlement by app id operation typically these are written to a http.Request

func NewGetUserAppEntitlementByAppIDParams

func NewGetUserAppEntitlementByAppIDParams() *GetUserAppEntitlementByAppIDParams

NewGetUserAppEntitlementByAppIDParams creates a new GetUserAppEntitlementByAppIDParams object with the default values initialized.

func NewGetUserAppEntitlementByAppIDParamsWithContext

func NewGetUserAppEntitlementByAppIDParamsWithContext(ctx context.Context) *GetUserAppEntitlementByAppIDParams

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

func NewGetUserAppEntitlementByAppIDParamsWithHTTPClient

func NewGetUserAppEntitlementByAppIDParamsWithHTTPClient(client *http.Client) *GetUserAppEntitlementByAppIDParams

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

func NewGetUserAppEntitlementByAppIDParamsWithTimeout

func NewGetUserAppEntitlementByAppIDParamsWithTimeout(timeout time.Duration) *GetUserAppEntitlementByAppIDParams

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

func (*GetUserAppEntitlementByAppIDParams) SetActiveOnly

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

SetActiveOnly adds the activeOnly to the get user app entitlement by app id params

func (*GetUserAppEntitlementByAppIDParams) SetAppID

func (o *GetUserAppEntitlementByAppIDParams) SetAppID(appID string)

SetAppID adds the appId to the get user app entitlement by app id params

func (*GetUserAppEntitlementByAppIDParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user app entitlement by app id params

func (*GetUserAppEntitlementByAppIDParams) SetContext

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

func (*GetUserAppEntitlementByAppIDParams) SetFlightId

func (o *GetUserAppEntitlementByAppIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserAppEntitlementByAppIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user app entitlement by app id params

func (*GetUserAppEntitlementByAppIDParams) SetHTTPClientTransport

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

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

func (*GetUserAppEntitlementByAppIDParams) SetNamespace

func (o *GetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)

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

func (*GetUserAppEntitlementByAppIDParams) SetTimeout

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

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

func (*GetUserAppEntitlementByAppIDParams) SetUserID

func (o *GetUserAppEntitlementByAppIDParams) SetUserID(userID string)

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

func (*GetUserAppEntitlementByAppIDParams) WithActiveOnly

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

func (*GetUserAppEntitlementOwnershipByAppIDOK) ToJSONString

type GetUserAppEntitlementOwnershipByAppIDParams

type GetUserAppEntitlementOwnershipByAppIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserAppEntitlementOwnershipByAppIDParams contains all the parameters to send to the API endpoint for the get user app entitlement ownership by app id operation typically these are written to a http.Request

func NewGetUserAppEntitlementOwnershipByAppIDParams

func NewGetUserAppEntitlementOwnershipByAppIDParams() *GetUserAppEntitlementOwnershipByAppIDParams

NewGetUserAppEntitlementOwnershipByAppIDParams creates a new GetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized.

func NewGetUserAppEntitlementOwnershipByAppIDParamsWithContext

func NewGetUserAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *GetUserAppEntitlementOwnershipByAppIDParams

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

func NewGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient

func NewGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *GetUserAppEntitlementOwnershipByAppIDParams

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

func NewGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout

func NewGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *GetUserAppEntitlementOwnershipByAppIDParams

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetAppID

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter

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

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetContext

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetFlightId

func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient

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

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport

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

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetTimeout

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

type GetUserEntitlementByItemIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetUserEntitlementByItemIDNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31144</td><td>Entitlement with itemId [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetUserEntitlementByItemIDNotFound

func NewGetUserEntitlementByItemIDNotFound() *GetUserEntitlementByItemIDNotFound

NewGetUserEntitlementByItemIDNotFound creates a GetUserEntitlementByItemIDNotFound with default headers values

func (*GetUserEntitlementByItemIDNotFound) Error

func (*GetUserEntitlementByItemIDNotFound) GetPayload

func (*GetUserEntitlementByItemIDNotFound) ToJSONString

func (o *GetUserEntitlementByItemIDNotFound) ToJSONString() string

type GetUserEntitlementByItemIDOK

type GetUserEntitlementByItemIDOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

GetUserEntitlementByItemIDOK handles this case with default header values.

successful operation

func NewGetUserEntitlementByItemIDOK

func NewGetUserEntitlementByItemIDOK() *GetUserEntitlementByItemIDOK

NewGetUserEntitlementByItemIDOK creates a GetUserEntitlementByItemIDOK with default headers values

func (*GetUserEntitlementByItemIDOK) Error

func (*GetUserEntitlementByItemIDOK) GetPayload

func (*GetUserEntitlementByItemIDOK) ToJSONString

func (o *GetUserEntitlementByItemIDOK) ToJSONString() string

type GetUserEntitlementByItemIDParams

type GetUserEntitlementByItemIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserEntitlementByItemIDParams contains all the parameters to send to the API endpoint for the get user entitlement by item id operation typically these are written to a http.Request

func NewGetUserEntitlementByItemIDParams

func NewGetUserEntitlementByItemIDParams() *GetUserEntitlementByItemIDParams

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

func NewGetUserEntitlementByItemIDParamsWithContext

func NewGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementByItemIDParams

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

func NewGetUserEntitlementByItemIDParamsWithHTTPClient

func NewGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementByItemIDParams

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

func NewGetUserEntitlementByItemIDParamsWithTimeout

func NewGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementByItemIDParams

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

func (*GetUserEntitlementByItemIDParams) SetActiveOnly

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

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

func (*GetUserEntitlementByItemIDParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement by item id params

func (*GetUserEntitlementByItemIDParams) SetContext

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

func (*GetUserEntitlementByItemIDParams) SetEntitlementClazz

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

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

func (*GetUserEntitlementByItemIDParams) SetFlightId

func (o *GetUserEntitlementByItemIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementByItemIDParams) SetHTTPClient

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

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

func (*GetUserEntitlementByItemIDParams) SetHTTPClientTransport

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

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

func (*GetUserEntitlementByItemIDParams) SetItemID

func (o *GetUserEntitlementByItemIDParams) SetItemID(itemID string)

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

func (*GetUserEntitlementByItemIDParams) SetNamespace

func (o *GetUserEntitlementByItemIDParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementByItemIDParams) SetPlatform

func (o *GetUserEntitlementByItemIDParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get user entitlement by item id params

func (*GetUserEntitlementByItemIDParams) SetTimeout

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

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

func (*GetUserEntitlementByItemIDParams) SetUserID

func (o *GetUserEntitlementByItemIDParams) SetUserID(userID string)

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

func (*GetUserEntitlementByItemIDParams) WithActiveOnly

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

func (*GetUserEntitlementByItemIDParams) WithContext

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

func (*GetUserEntitlementByItemIDParams) WithEntitlementClazz

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

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

func (*GetUserEntitlementByItemIDParams) WithHTTPClient

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

func (*GetUserEntitlementByItemIDParams) WithItemID

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

func (*GetUserEntitlementByItemIDParams) WithNamespace

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

func (*GetUserEntitlementByItemIDParams) WithPlatform

WithPlatform adds the platform to the get user entitlement by item id params

func (*GetUserEntitlementByItemIDParams) WithTimeout

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

func (*GetUserEntitlementByItemIDParams) WithUserID

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

func (*GetUserEntitlementByItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEntitlementByItemIDReader

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

GetUserEntitlementByItemIDReader is a Reader for the GetUserEntitlementByItemID structure.

func (*GetUserEntitlementByItemIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*GetUserEntitlementBySkuNotFound) ToJSONString

func (o *GetUserEntitlementBySkuNotFound) ToJSONString() string

type GetUserEntitlementBySkuOK

type GetUserEntitlementBySkuOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

GetUserEntitlementBySkuOK handles this case with default header values.

successful operation

func NewGetUserEntitlementBySkuOK

func NewGetUserEntitlementBySkuOK() *GetUserEntitlementBySkuOK

NewGetUserEntitlementBySkuOK creates a GetUserEntitlementBySkuOK with default headers values

func (*GetUserEntitlementBySkuOK) Error

func (o *GetUserEntitlementBySkuOK) Error() string

func (*GetUserEntitlementBySkuOK) GetPayload

func (*GetUserEntitlementBySkuOK) ToJSONString

func (o *GetUserEntitlementBySkuOK) ToJSONString() string

type GetUserEntitlementBySkuParams

type GetUserEntitlementBySkuParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserEntitlementBySkuParams contains all the parameters to send to the API endpoint for the get user entitlement by sku operation typically these are written to a http.Request

func NewGetUserEntitlementBySkuParams

func NewGetUserEntitlementBySkuParams() *GetUserEntitlementBySkuParams

NewGetUserEntitlementBySkuParams creates a new GetUserEntitlementBySkuParams object with the default values initialized.

func NewGetUserEntitlementBySkuParamsWithContext

func NewGetUserEntitlementBySkuParamsWithContext(ctx context.Context) *GetUserEntitlementBySkuParams

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

func NewGetUserEntitlementBySkuParamsWithHTTPClient

func NewGetUserEntitlementBySkuParamsWithHTTPClient(client *http.Client) *GetUserEntitlementBySkuParams

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

func NewGetUserEntitlementBySkuParamsWithTimeout

func NewGetUserEntitlementBySkuParamsWithTimeout(timeout time.Duration) *GetUserEntitlementBySkuParams

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

func (*GetUserEntitlementBySkuParams) SetActiveOnly

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

SetActiveOnly adds the activeOnly to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) SetAuthInfoWriter

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

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

func (*GetUserEntitlementBySkuParams) SetContext

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

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

func (*GetUserEntitlementBySkuParams) SetEntitlementClazz

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

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

func (*GetUserEntitlementBySkuParams) SetFlightId

func (o *GetUserEntitlementBySkuParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementBySkuParams) SetHTTPClient

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

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

func (*GetUserEntitlementBySkuParams) SetHTTPClientTransport

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

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

func (*GetUserEntitlementBySkuParams) SetNamespace

func (o *GetUserEntitlementBySkuParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementBySkuParams) SetPlatform

func (o *GetUserEntitlementBySkuParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) SetSku

func (o *GetUserEntitlementBySkuParams) SetSku(sku string)

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

func (*GetUserEntitlementBySkuParams) SetTimeout

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

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

func (*GetUserEntitlementBySkuParams) SetUserID

func (o *GetUserEntitlementBySkuParams) SetUserID(userID string)

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

func (*GetUserEntitlementBySkuParams) WithActiveOnly

func (o *GetUserEntitlementBySkuParams) WithActiveOnly(activeOnly *bool) *GetUserEntitlementBySkuParams

WithActiveOnly adds the activeOnly to the get user entitlement by sku params

func (*GetUserEntitlementBySkuParams) WithContext

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

WithPlatform adds the platform 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

func (*GetUserEntitlementHistoriesOK) ToJSONString

func (o *GetUserEntitlementHistoriesOK) ToJSONString() string

type GetUserEntitlementHistoriesParams

type GetUserEntitlementHistoriesParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetUserEntitlementHistoriesParams

func NewGetUserEntitlementHistoriesParams() *GetUserEntitlementHistoriesParams

NewGetUserEntitlementHistoriesParams creates a new GetUserEntitlementHistoriesParams object with the default values initialized.

func NewGetUserEntitlementHistoriesParamsWithContext

func NewGetUserEntitlementHistoriesParamsWithContext(ctx context.Context) *GetUserEntitlementHistoriesParams

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

func NewGetUserEntitlementHistoriesParamsWithHTTPClient

func NewGetUserEntitlementHistoriesParamsWithHTTPClient(client *http.Client) *GetUserEntitlementHistoriesParams

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

func NewGetUserEntitlementHistoriesParamsWithTimeout

func NewGetUserEntitlementHistoriesParamsWithTimeout(timeout time.Duration) *GetUserEntitlementHistoriesParams

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

func (*GetUserEntitlementHistoriesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetContext

SetContext adds the context to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetEntitlementID

func (o *GetUserEntitlementHistoriesParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetFlightId

func (o *GetUserEntitlementHistoriesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementHistoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetHTTPClientTransport

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

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

func (*GetUserEntitlementHistoriesParams) SetNamespace

func (o *GetUserEntitlementHistoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetUserID

func (o *GetUserEntitlementHistoriesParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithContext

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

func (*GetUserEntitlementNotFound) ToJSONString

func (o *GetUserEntitlementNotFound) ToJSONString() string

type GetUserEntitlementOK

type GetUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

GetUserEntitlementOK handles this case with default header values.

successful operation

func NewGetUserEntitlementOK

func NewGetUserEntitlementOK() *GetUserEntitlementOK

NewGetUserEntitlementOK creates a GetUserEntitlementOK with default headers values

func (*GetUserEntitlementOK) Error

func (o *GetUserEntitlementOK) Error() string

func (*GetUserEntitlementOK) GetPayload

func (*GetUserEntitlementOK) ToJSONString

func (o *GetUserEntitlementOK) ToJSONString() string

type GetUserEntitlementOwnershipByItemIDOK

type GetUserEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

GetUserEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewGetUserEntitlementOwnershipByItemIDOK

func NewGetUserEntitlementOwnershipByItemIDOK() *GetUserEntitlementOwnershipByItemIDOK

NewGetUserEntitlementOwnershipByItemIDOK creates a GetUserEntitlementOwnershipByItemIDOK with default headers values

func (*GetUserEntitlementOwnershipByItemIDOK) Error

func (*GetUserEntitlementOwnershipByItemIDOK) GetPayload

func (*GetUserEntitlementOwnershipByItemIDOK) ToJSONString

type GetUserEntitlementOwnershipByItemIDParams

type GetUserEntitlementOwnershipByItemIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserEntitlementOwnershipByItemIDParams contains all the parameters to send to the API endpoint for the get user entitlement ownership by item id operation typically these are written to a http.Request

func NewGetUserEntitlementOwnershipByItemIDParams

func NewGetUserEntitlementOwnershipByItemIDParams() *GetUserEntitlementOwnershipByItemIDParams

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

func NewGetUserEntitlementOwnershipByItemIDParamsWithContext

func NewGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIDParams

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

func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient

func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIDParams

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

func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout

func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIDParams

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetContext

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetFlightId

func (o *GetUserEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetItemID

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetNamespace

func (o *GetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetPlatform

func (o *GetUserEntitlementOwnershipByItemIDParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get user entitlement ownership by item id params

func (*GetUserEntitlementOwnershipByItemIDParams) SetTimeout

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetUserID

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithContext

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithHTTPClient

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithItemID

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithNamespace

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithPlatform

WithPlatform adds the platform to the get user entitlement ownership by item id params

func (*GetUserEntitlementOwnershipByItemIDParams) WithTimeout

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithUserID

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

func (*GetUserEntitlementOwnershipByItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEntitlementOwnershipByItemIDReader

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

GetUserEntitlementOwnershipByItemIDReader is a Reader for the GetUserEntitlementOwnershipByItemID structure.

func (*GetUserEntitlementOwnershipByItemIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserEntitlementOwnershipByItemIdsOK

type GetUserEntitlementOwnershipByItemIdsOK struct {
	Payload []*platformclientmodels.EntitlementOwnership
}

GetUserEntitlementOwnershipByItemIdsOK handles this case with default header values.

successful operation

func NewGetUserEntitlementOwnershipByItemIdsOK

func NewGetUserEntitlementOwnershipByItemIdsOK() *GetUserEntitlementOwnershipByItemIdsOK

NewGetUserEntitlementOwnershipByItemIdsOK creates a GetUserEntitlementOwnershipByItemIdsOK with default headers values

func (*GetUserEntitlementOwnershipByItemIdsOK) Error

func (*GetUserEntitlementOwnershipByItemIdsOK) GetPayload

func (*GetUserEntitlementOwnershipByItemIdsOK) ToJSONString

type GetUserEntitlementOwnershipByItemIdsParams

type GetUserEntitlementOwnershipByItemIdsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string
	/*Ids*/
	Ids []string
	/*Platform*/
	Platform *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserEntitlementOwnershipByItemIdsParams contains all the parameters to send to the API endpoint for the get user entitlement ownership by item ids operation typically these are written to a http.Request

func NewGetUserEntitlementOwnershipByItemIdsParams

func NewGetUserEntitlementOwnershipByItemIdsParams() *GetUserEntitlementOwnershipByItemIdsParams

NewGetUserEntitlementOwnershipByItemIdsParams creates a new GetUserEntitlementOwnershipByItemIdsParams object with the default values initialized.

func NewGetUserEntitlementOwnershipByItemIdsParamsWithContext

func NewGetUserEntitlementOwnershipByItemIdsParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIdsParams

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

func NewGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient

func NewGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIdsParams

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

func NewGetUserEntitlementOwnershipByItemIdsParamsWithTimeout

func NewGetUserEntitlementOwnershipByItemIdsParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIdsParams

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetContext

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetFlightId

func (o *GetUserEntitlementOwnershipByItemIdsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetIds

SetIds adds the ids to the get user entitlement ownership by item ids params

func (*GetUserEntitlementOwnershipByItemIdsParams) SetNamespace

func (o *GetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetPlatform

func (o *GetUserEntitlementOwnershipByItemIdsParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get user entitlement ownership by item ids params

func (*GetUserEntitlementOwnershipByItemIdsParams) SetTimeout

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetUserID

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithContext

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithIds

WithIds adds the ids to the get user entitlement ownership by item ids params

func (*GetUserEntitlementOwnershipByItemIdsParams) WithNamespace

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithPlatform

WithPlatform adds the platform to the get user entitlement ownership by item ids params

func (*GetUserEntitlementOwnershipByItemIdsParams) WithTimeout

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithUserID

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEntitlementOwnershipByItemIdsReader

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

GetUserEntitlementOwnershipByItemIdsReader is a Reader for the GetUserEntitlementOwnershipByItemIds structure.

func (*GetUserEntitlementOwnershipByItemIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*GetUserEntitlementOwnershipBySkuOK) ToJSONString

func (o *GetUserEntitlementOwnershipBySkuOK) ToJSONString() string

type GetUserEntitlementOwnershipBySkuParams

type GetUserEntitlementOwnershipBySkuParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetUserEntitlementOwnershipBySkuParams contains all the parameters to send to the API endpoint for the get user entitlement ownership by sku operation typically these are written to a http.Request

func NewGetUserEntitlementOwnershipBySkuParams

func NewGetUserEntitlementOwnershipBySkuParams() *GetUserEntitlementOwnershipBySkuParams

NewGetUserEntitlementOwnershipBySkuParams creates a new GetUserEntitlementOwnershipBySkuParams object with the default values initialized.

func NewGetUserEntitlementOwnershipBySkuParamsWithContext

func NewGetUserEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipBySkuParams

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

func NewGetUserEntitlementOwnershipBySkuParamsWithHTTPClient

func NewGetUserEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipBySkuParams

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

func NewGetUserEntitlementOwnershipBySkuParamsWithTimeout

func NewGetUserEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipBySkuParams

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

func (*GetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetContext

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

func (*GetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetFlightId

func (o *GetUserEntitlementOwnershipBySkuParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementOwnershipBySkuParams) SetHTTPClient

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetNamespace

func (o *GetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipBySkuParams) SetPlatform

func (o *GetUserEntitlementOwnershipBySkuParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get user entitlement ownership by sku params

func (*GetUserEntitlementOwnershipBySkuParams) SetSku

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

WithPlatform adds the platform 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetUserEntitlementParams

func NewGetUserEntitlementParams() *GetUserEntitlementParams

NewGetUserEntitlementParams creates a new GetUserEntitlementParams object with the default values initialized.

func NewGetUserEntitlementParamsWithContext

func NewGetUserEntitlementParamsWithContext(ctx context.Context) *GetUserEntitlementParams

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

func NewGetUserEntitlementParamsWithHTTPClient

func NewGetUserEntitlementParamsWithHTTPClient(client *http.Client) *GetUserEntitlementParams

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

func NewGetUserEntitlementParamsWithTimeout

func NewGetUserEntitlementParamsWithTimeout(timeout time.Duration) *GetUserEntitlementParams

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

func (*GetUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement params

func (*GetUserEntitlementParams) SetContext

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

SetContext adds the context to the get user entitlement params

func (*GetUserEntitlementParams) SetEntitlementID

func (o *GetUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get user entitlement params

func (*GetUserEntitlementParams) SetFlightId

func (o *GetUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user entitlement params

func (*GetUserEntitlementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get user entitlement params

func (*GetUserEntitlementParams) SetNamespace

func (o *GetUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement params

func (*GetUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the get user entitlement params

func (*GetUserEntitlementParams) SetUserID

func (o *GetUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement params

func (*GetUserEntitlementParams) WithContext

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 GrantEntitlementsOK

type GrantEntitlementsOK struct {
	Payload *platformclientmodels.BulkEntitlementGrantResult
}

GrantEntitlementsOK handles this case with default header values.

successful operation

func NewGrantEntitlementsOK

func NewGrantEntitlementsOK() *GrantEntitlementsOK

NewGrantEntitlementsOK creates a GrantEntitlementsOK with default headers values

func (*GrantEntitlementsOK) Error

func (o *GrantEntitlementsOK) Error() string

func (*GrantEntitlementsOK) GetPayload

func (*GrantEntitlementsOK) ToJSONString

func (o *GrantEntitlementsOK) ToJSONString() string

type GrantEntitlementsParams

type GrantEntitlementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.BulkEntitlementGrantRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GrantEntitlementsParams contains all the parameters to send to the API endpoint for the grant entitlements operation typically these are written to a http.Request

func NewGrantEntitlementsParams

func NewGrantEntitlementsParams() *GrantEntitlementsParams

NewGrantEntitlementsParams creates a new GrantEntitlementsParams object with the default values initialized.

func NewGrantEntitlementsParamsWithContext

func NewGrantEntitlementsParamsWithContext(ctx context.Context) *GrantEntitlementsParams

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

func NewGrantEntitlementsParamsWithHTTPClient

func NewGrantEntitlementsParamsWithHTTPClient(client *http.Client) *GrantEntitlementsParams

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

func NewGrantEntitlementsParamsWithTimeout

func NewGrantEntitlementsParamsWithTimeout(timeout time.Duration) *GrantEntitlementsParams

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

func (*GrantEntitlementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the grant entitlements params

func (*GrantEntitlementsParams) SetBody

SetBody adds the body to the grant entitlements params

func (*GrantEntitlementsParams) SetContext

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

SetContext adds the context to the grant entitlements params

func (*GrantEntitlementsParams) SetFlightId

func (o *GrantEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GrantEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the grant entitlements params

func (*GrantEntitlementsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the grant entitlements params

func (*GrantEntitlementsParams) SetNamespace

func (o *GrantEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the grant entitlements params

func (*GrantEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the grant entitlements params

func (*GrantEntitlementsParams) WithBody

WithBody adds the body to the grant entitlements params

func (*GrantEntitlementsParams) WithContext

WithContext adds the context to the grant entitlements params

func (*GrantEntitlementsParams) WithHTTPClient

func (o *GrantEntitlementsParams) WithHTTPClient(client *http.Client) *GrantEntitlementsParams

WithHTTPClient adds the HTTPClient to the grant entitlements params

func (*GrantEntitlementsParams) WithNamespace

func (o *GrantEntitlementsParams) WithNamespace(namespace string) *GrantEntitlementsParams

WithNamespace adds the namespace to the grant entitlements params

func (*GrantEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the grant entitlements params

func (*GrantEntitlementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GrantEntitlementsReader

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

GrantEntitlementsReader is a Reader for the GrantEntitlements structure.

func (*GrantEntitlementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantEntitlementsUnprocessableEntity

type GrantEntitlementsUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

GrantEntitlementsUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGrantEntitlementsUnprocessableEntity

func NewGrantEntitlementsUnprocessableEntity() *GrantEntitlementsUnprocessableEntity

NewGrantEntitlementsUnprocessableEntity creates a GrantEntitlementsUnprocessableEntity with default headers values

func (*GrantEntitlementsUnprocessableEntity) Error

func (*GrantEntitlementsUnprocessableEntity) GetPayload

func (*GrantEntitlementsUnprocessableEntity) ToJSONString

func (o *GrantEntitlementsUnprocessableEntity) ToJSONString() string

type GrantUserEntitlementCreated

type GrantUserEntitlementCreated struct {
	Payload []*platformclientmodels.StackableEntitlementInfo
}

GrantUserEntitlementCreated handles this case with default header values.

successful operation

func NewGrantUserEntitlementCreated

func NewGrantUserEntitlementCreated() *GrantUserEntitlementCreated

NewGrantUserEntitlementCreated creates a GrantUserEntitlementCreated with default headers values

func (*GrantUserEntitlementCreated) Error

func (*GrantUserEntitlementCreated) GetPayload

func (*GrantUserEntitlementCreated) ToJSONString

func (o *GrantUserEntitlementCreated) ToJSONString() string

type GrantUserEntitlementNotFound

type GrantUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GrantUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGrantUserEntitlementNotFound

func NewGrantUserEntitlementNotFound() *GrantUserEntitlementNotFound

NewGrantUserEntitlementNotFound creates a GrantUserEntitlementNotFound with default headers values

func (*GrantUserEntitlementNotFound) Error

func (*GrantUserEntitlementNotFound) GetPayload

func (*GrantUserEntitlementNotFound) ToJSONString

func (o *GrantUserEntitlementNotFound) ToJSONString() string

type GrantUserEntitlementParams

type GrantUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGrantUserEntitlementParams

func NewGrantUserEntitlementParams() *GrantUserEntitlementParams

NewGrantUserEntitlementParams creates a new GrantUserEntitlementParams object with the default values initialized.

func NewGrantUserEntitlementParamsWithContext

func NewGrantUserEntitlementParamsWithContext(ctx context.Context) *GrantUserEntitlementParams

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

func NewGrantUserEntitlementParamsWithHTTPClient

func NewGrantUserEntitlementParamsWithHTTPClient(client *http.Client) *GrantUserEntitlementParams

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

func NewGrantUserEntitlementParamsWithTimeout

func NewGrantUserEntitlementParamsWithTimeout(timeout time.Duration) *GrantUserEntitlementParams

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

func (*GrantUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the grant user entitlement params

func (*GrantUserEntitlementParams) SetBody

SetBody adds the body to the grant user entitlement params

func (*GrantUserEntitlementParams) SetContext

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

SetContext adds the context to the grant user entitlement params

func (*GrantUserEntitlementParams) SetFlightId

func (o *GrantUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GrantUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the grant user entitlement params

func (*GrantUserEntitlementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the grant user entitlement params

func (*GrantUserEntitlementParams) SetNamespace

func (o *GrantUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the grant user entitlement params

func (*GrantUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the grant user entitlement params

func (*GrantUserEntitlementParams) SetUserID

func (o *GrantUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the grant user entitlement params

func (*GrantUserEntitlementParams) WithBody

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

func (*GrantUserEntitlementUnprocessableEntity) ToJSONString

type PreCheckRevokeUserEntitlementByUseCountNotFound

type PreCheckRevokeUserEntitlementByUseCountNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PreCheckRevokeUserEntitlementByUseCountNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPreCheckRevokeUserEntitlementByUseCountNotFound

func NewPreCheckRevokeUserEntitlementByUseCountNotFound() *PreCheckRevokeUserEntitlementByUseCountNotFound

NewPreCheckRevokeUserEntitlementByUseCountNotFound creates a PreCheckRevokeUserEntitlementByUseCountNotFound with default headers values

func (*PreCheckRevokeUserEntitlementByUseCountNotFound) Error

func (*PreCheckRevokeUserEntitlementByUseCountNotFound) GetPayload

func (*PreCheckRevokeUserEntitlementByUseCountNotFound) ToJSONString

type PreCheckRevokeUserEntitlementByUseCountOK

type PreCheckRevokeUserEntitlementByUseCountOK struct {
	Payload *platformclientmodels.EntitlementPrechekResult
}

PreCheckRevokeUserEntitlementByUseCountOK handles this case with default header values.

successful operation

func NewPreCheckRevokeUserEntitlementByUseCountOK

func NewPreCheckRevokeUserEntitlementByUseCountOK() *PreCheckRevokeUserEntitlementByUseCountOK

NewPreCheckRevokeUserEntitlementByUseCountOK creates a PreCheckRevokeUserEntitlementByUseCountOK with default headers values

func (*PreCheckRevokeUserEntitlementByUseCountOK) Error

func (*PreCheckRevokeUserEntitlementByUseCountOK) GetPayload

func (*PreCheckRevokeUserEntitlementByUseCountOK) ToJSONString

type PreCheckRevokeUserEntitlementByUseCountParams

type PreCheckRevokeUserEntitlementByUseCountParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PreCheckRevokeUserEntitlementByUseCountParams contains all the parameters to send to the API endpoint for the pre check revoke user entitlement by use count operation typically these are written to a http.Request

func NewPreCheckRevokeUserEntitlementByUseCountParams

func NewPreCheckRevokeUserEntitlementByUseCountParams() *PreCheckRevokeUserEntitlementByUseCountParams

NewPreCheckRevokeUserEntitlementByUseCountParams creates a new PreCheckRevokeUserEntitlementByUseCountParams object with the default values initialized.

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext(ctx context.Context) *PreCheckRevokeUserEntitlementByUseCountParams

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

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithHTTPClient

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithHTTPClient(client *http.Client) *PreCheckRevokeUserEntitlementByUseCountParams

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

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithTimeout

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithTimeout(timeout time.Duration) *PreCheckRevokeUserEntitlementByUseCountParams

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

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetContext

SetContext adds the context to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetNamespace

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity(quantity int32)

SetQuantity adds the quantity to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetTimeout

SetTimeout adds the timeout to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetUserID

SetUserID adds the userId to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithContext

WithContext adds the context to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithNamespace

WithNamespace adds the namespace to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithQuantity

WithQuantity adds the quantity to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithTimeout

WithTimeout adds the timeout to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithUserID

WithUserID adds the userID to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PreCheckRevokeUserEntitlementByUseCountReader

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

PreCheckRevokeUserEntitlementByUseCountReader is a Reader for the PreCheckRevokeUserEntitlementByUseCount structure.

func (*PreCheckRevokeUserEntitlementByUseCountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicConsumeUserEntitlementBadRequest

type PublicConsumeUserEntitlementBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicConsumeUserEntitlementBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31121</td><td>OptionBox entitlement [{entitlementId}] use count is not 1</td></tr><tr><td>31122</td><td>OptionBox entitlement [{entitlementId}] options size is not 1</td></tr><tr><td>31123</td><td>Unable to acquire box item, box item [{itemId}] expired</td></tr></table>

func NewPublicConsumeUserEntitlementBadRequest

func NewPublicConsumeUserEntitlementBadRequest() *PublicConsumeUserEntitlementBadRequest

NewPublicConsumeUserEntitlementBadRequest creates a PublicConsumeUserEntitlementBadRequest with default headers values

func (*PublicConsumeUserEntitlementBadRequest) Error

func (*PublicConsumeUserEntitlementBadRequest) GetPayload

func (*PublicConsumeUserEntitlementBadRequest) ToJSONString

type PublicConsumeUserEntitlementConflict

type PublicConsumeUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicConsumeUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31173</td><td>Entitlement [{entitlementId}] is not consumable</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr></table>

func NewPublicConsumeUserEntitlementConflict

func NewPublicConsumeUserEntitlementConflict() *PublicConsumeUserEntitlementConflict

NewPublicConsumeUserEntitlementConflict creates a PublicConsumeUserEntitlementConflict with default headers values

func (*PublicConsumeUserEntitlementConflict) Error

func (*PublicConsumeUserEntitlementConflict) GetPayload

func (*PublicConsumeUserEntitlementConflict) ToJSONString

func (o *PublicConsumeUserEntitlementConflict) ToJSONString() string

type PublicConsumeUserEntitlementNotFound

type PublicConsumeUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicConsumeUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr><tr><td>31145</td><td>Option [{option}] doesn't exist in OptionBox entitlement [{entitlementId}]</td></tr></table>

func NewPublicConsumeUserEntitlementNotFound

func NewPublicConsumeUserEntitlementNotFound() *PublicConsumeUserEntitlementNotFound

NewPublicConsumeUserEntitlementNotFound creates a PublicConsumeUserEntitlementNotFound with default headers values

func (*PublicConsumeUserEntitlementNotFound) Error

func (*PublicConsumeUserEntitlementNotFound) GetPayload

func (*PublicConsumeUserEntitlementNotFound) ToJSONString

func (o *PublicConsumeUserEntitlementNotFound) ToJSONString() string

type PublicConsumeUserEntitlementOK

type PublicConsumeUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementDecrementResult
}

PublicConsumeUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicConsumeUserEntitlementOK

func NewPublicConsumeUserEntitlementOK() *PublicConsumeUserEntitlementOK

NewPublicConsumeUserEntitlementOK creates a PublicConsumeUserEntitlementOK with default headers values

func (*PublicConsumeUserEntitlementOK) Error

func (*PublicConsumeUserEntitlementOK) GetPayload

func (*PublicConsumeUserEntitlementOK) ToJSONString

func (o *PublicConsumeUserEntitlementOK) ToJSONString() string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicConsumeUserEntitlementParams

func NewPublicConsumeUserEntitlementParams() *PublicConsumeUserEntitlementParams

NewPublicConsumeUserEntitlementParams creates a new PublicConsumeUserEntitlementParams object with the default values initialized.

func NewPublicConsumeUserEntitlementParamsWithContext

func NewPublicConsumeUserEntitlementParamsWithContext(ctx context.Context) *PublicConsumeUserEntitlementParams

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

func NewPublicConsumeUserEntitlementParamsWithHTTPClient

func NewPublicConsumeUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicConsumeUserEntitlementParams

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

func NewPublicConsumeUserEntitlementParamsWithTimeout

func NewPublicConsumeUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicConsumeUserEntitlementParams

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

func (*PublicConsumeUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetBody

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

func (o *PublicConsumeUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicConsumeUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicConsumeUserEntitlementParams) SetNamespace

func (o *PublicConsumeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetUserID

func (o *PublicConsumeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithBody

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

func (*PublicExistsAnyMyActiveEntitlementOK) ToJSONString

func (o *PublicExistsAnyMyActiveEntitlementOK) ToJSONString() string

type PublicExistsAnyMyActiveEntitlementParams

type PublicExistsAnyMyActiveEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicExistsAnyMyActiveEntitlementParams contains all the parameters to send to the API endpoint for the public exists any my active entitlement operation typically these are written to a http.Request

func NewPublicExistsAnyMyActiveEntitlementParams

func NewPublicExistsAnyMyActiveEntitlementParams() *PublicExistsAnyMyActiveEntitlementParams

NewPublicExistsAnyMyActiveEntitlementParams creates a new PublicExistsAnyMyActiveEntitlementParams object with the default values initialized.

func NewPublicExistsAnyMyActiveEntitlementParamsWithContext

func NewPublicExistsAnyMyActiveEntitlementParamsWithContext(ctx context.Context) *PublicExistsAnyMyActiveEntitlementParams

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

func NewPublicExistsAnyMyActiveEntitlementParamsWithHTTPClient

func NewPublicExistsAnyMyActiveEntitlementParamsWithHTTPClient(client *http.Client) *PublicExistsAnyMyActiveEntitlementParams

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

func NewPublicExistsAnyMyActiveEntitlementParamsWithTimeout

func NewPublicExistsAnyMyActiveEntitlementParamsWithTimeout(timeout time.Duration) *PublicExistsAnyMyActiveEntitlementParams

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetAppIds

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) SetContext

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetFlightId

func (o *PublicExistsAnyMyActiveEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicExistsAnyMyActiveEntitlementParams) SetHTTPClient

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetItemIds

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetNamespace

func (o *PublicExistsAnyMyActiveEntitlementParams) SetNamespace(namespace string)

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetSkus

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

func (*PublicExistsAnyUserActiveEntitlementOK) ToJSONString

type PublicExistsAnyUserActiveEntitlementParams

type PublicExistsAnyUserActiveEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicExistsAnyUserActiveEntitlementParams contains all the parameters to send to the API endpoint for the public exists any user active entitlement operation typically these are written to a http.Request

func NewPublicExistsAnyUserActiveEntitlementParams

func NewPublicExistsAnyUserActiveEntitlementParams() *PublicExistsAnyUserActiveEntitlementParams

NewPublicExistsAnyUserActiveEntitlementParams creates a new PublicExistsAnyUserActiveEntitlementParams object with the default values initialized.

func NewPublicExistsAnyUserActiveEntitlementParamsWithContext

func NewPublicExistsAnyUserActiveEntitlementParamsWithContext(ctx context.Context) *PublicExistsAnyUserActiveEntitlementParams

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

func NewPublicExistsAnyUserActiveEntitlementParamsWithHTTPClient

func NewPublicExistsAnyUserActiveEntitlementParamsWithHTTPClient(client *http.Client) *PublicExistsAnyUserActiveEntitlementParams

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

func NewPublicExistsAnyUserActiveEntitlementParamsWithTimeout

func NewPublicExistsAnyUserActiveEntitlementParamsWithTimeout(timeout time.Duration) *PublicExistsAnyUserActiveEntitlementParams

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetAppIds

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public exists any user active entitlement params

func (*PublicExistsAnyUserActiveEntitlementParams) SetContext

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetFlightId

func (o *PublicExistsAnyUserActiveEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicExistsAnyUserActiveEntitlementParams) SetHTTPClient

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetItemIds

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetNamespace

func (o *PublicExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetSkus

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

type PublicGetEntitlementOwnershipTokenOK struct {
	Payload *platformclientmodels.OwnershipToken
}

PublicGetEntitlementOwnershipTokenOK handles this case with default header values.

successful operation

func NewPublicGetEntitlementOwnershipTokenOK

func NewPublicGetEntitlementOwnershipTokenOK() *PublicGetEntitlementOwnershipTokenOK

NewPublicGetEntitlementOwnershipTokenOK creates a PublicGetEntitlementOwnershipTokenOK with default headers values

func (*PublicGetEntitlementOwnershipTokenOK) Error

func (*PublicGetEntitlementOwnershipTokenOK) GetPayload

func (*PublicGetEntitlementOwnershipTokenOK) ToJSONString

func (o *PublicGetEntitlementOwnershipTokenOK) ToJSONString() string

type PublicGetEntitlementOwnershipTokenParams

type PublicGetEntitlementOwnershipTokenParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetEntitlementOwnershipTokenParams contains all the parameters to send to the API endpoint for the public get entitlement ownership token operation typically these are written to a http.Request

func NewPublicGetEntitlementOwnershipTokenParams

func NewPublicGetEntitlementOwnershipTokenParams() *PublicGetEntitlementOwnershipTokenParams

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

func NewPublicGetEntitlementOwnershipTokenParamsWithContext

func NewPublicGetEntitlementOwnershipTokenParamsWithContext(ctx context.Context) *PublicGetEntitlementOwnershipTokenParams

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

func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient

func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient(client *http.Client) *PublicGetEntitlementOwnershipTokenParams

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

func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout

func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout(timeout time.Duration) *PublicGetEntitlementOwnershipTokenParams

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

func (*PublicGetEntitlementOwnershipTokenParams) SetAppIds

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetContext

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

func (*PublicGetEntitlementOwnershipTokenParams) SetFlightId

func (o *PublicGetEntitlementOwnershipTokenParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClient

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClientTransport

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetItemIds

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetNamespace

func (o *PublicGetEntitlementOwnershipTokenParams) SetNamespace(namespace string)

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

func (*PublicGetEntitlementOwnershipTokenParams) SetSkus

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

func (*PublicGetEntitlementOwnershipTokenParams) SetTimeout

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

func (*PublicGetEntitlementOwnershipTokenParams) WithAppIds

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

func (*PublicGetEntitlementOwnershipTokenParams) WithContext

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

func (*PublicGetEntitlementOwnershipTokenParams) WithHTTPClient

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

func (*PublicGetEntitlementOwnershipTokenParams) WithItemIds

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

func (*PublicGetEntitlementOwnershipTokenParams) WithNamespace

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

func (*PublicGetEntitlementOwnershipTokenParams) WithSkus

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

func (*PublicGetEntitlementOwnershipTokenParams) WithTimeout

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

func (*PublicGetEntitlementOwnershipTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetEntitlementOwnershipTokenReader

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

PublicGetEntitlementOwnershipTokenReader is a Reader for the PublicGetEntitlementOwnershipToken structure.

func (*PublicGetEntitlementOwnershipTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) ToJSONString

type PublicGetMyAppEntitlementOwnershipByAppIDParams

type PublicGetMyAppEntitlementOwnershipByAppIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetMyAppEntitlementOwnershipByAppIDParams contains all the parameters to send to the API endpoint for the public get my app entitlement ownership by app id operation typically these are written to a http.Request

func NewPublicGetMyAppEntitlementOwnershipByAppIDParams

func NewPublicGetMyAppEntitlementOwnershipByAppIDParams() *PublicGetMyAppEntitlementOwnershipByAppIDParams

NewPublicGetMyAppEntitlementOwnershipByAppIDParams creates a new PublicGetMyAppEntitlementOwnershipByAppIDParams object with the default values initialized.

func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithContext

func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *PublicGetMyAppEntitlementOwnershipByAppIDParams

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

func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithHTTPClient

func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetMyAppEntitlementOwnershipByAppIDParams

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

func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithTimeout

func NewPublicGetMyAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetMyAppEntitlementOwnershipByAppIDParams

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAppID

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter

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

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClient

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport

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

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetTimeout

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

type PublicGetMyEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetMyEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetMyEntitlementOwnershipByItemIDOK

func NewPublicGetMyEntitlementOwnershipByItemIDOK() *PublicGetMyEntitlementOwnershipByItemIDOK

NewPublicGetMyEntitlementOwnershipByItemIDOK creates a PublicGetMyEntitlementOwnershipByItemIDOK with default headers values

func (*PublicGetMyEntitlementOwnershipByItemIDOK) Error

func (*PublicGetMyEntitlementOwnershipByItemIDOK) GetPayload

func (*PublicGetMyEntitlementOwnershipByItemIDOK) ToJSONString

type PublicGetMyEntitlementOwnershipByItemIDParams

type PublicGetMyEntitlementOwnershipByItemIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetMyEntitlementOwnershipByItemIDParams contains all the parameters to send to the API endpoint for the public get my entitlement ownership by item id operation typically these are written to a http.Request

func NewPublicGetMyEntitlementOwnershipByItemIDParams

func NewPublicGetMyEntitlementOwnershipByItemIDParams() *PublicGetMyEntitlementOwnershipByItemIDParams

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

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipByItemIDParams

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

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipByItemIDParams

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

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipByItemIDParams

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetAuthInfoWriter

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetContext

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClientTransport

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetTimeout

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithContext

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithEntitlementClazz

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithHTTPClient

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithItemID

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithNamespace

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithTimeout

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMyEntitlementOwnershipByItemIDReader

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

PublicGetMyEntitlementOwnershipByItemIDReader is a Reader for the PublicGetMyEntitlementOwnershipByItemID structure.

func (*PublicGetMyEntitlementOwnershipByItemIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*PublicGetMyEntitlementOwnershipBySkuOK) ToJSONString

type PublicGetMyEntitlementOwnershipBySkuParams

type PublicGetMyEntitlementOwnershipBySkuParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetMyEntitlementOwnershipBySkuParams contains all the parameters to send to the API endpoint for the public get my entitlement ownership by sku operation typically these are written to a http.Request

func NewPublicGetMyEntitlementOwnershipBySkuParams

func NewPublicGetMyEntitlementOwnershipBySkuParams() *PublicGetMyEntitlementOwnershipBySkuParams

NewPublicGetMyEntitlementOwnershipBySkuParams creates a new PublicGetMyEntitlementOwnershipBySkuParams object with the default values initialized.

func NewPublicGetMyEntitlementOwnershipBySkuParamsWithContext

func NewPublicGetMyEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipBySkuParams

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

func NewPublicGetMyEntitlementOwnershipBySkuParamsWithHTTPClient

func NewPublicGetMyEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipBySkuParams

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

func NewPublicGetMyEntitlementOwnershipBySkuParamsWithTimeout

func NewPublicGetMyEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipBySkuParams

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetAuthInfoWriter

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetContext

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetEntitlementClazz

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetFlightId

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClient

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetHTTPClientTransport

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetSku

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

func (*PublicGetUserAppEntitlementByAppIDNotFound) ToJSONString

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

func (*PublicGetUserAppEntitlementByAppIDOK) ToJSONString

func (o *PublicGetUserAppEntitlementByAppIDOK) ToJSONString() string

type PublicGetUserAppEntitlementByAppIDParams

type PublicGetUserAppEntitlementByAppIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserAppEntitlementByAppIDParams contains all the parameters to send to the API endpoint for the public get user app entitlement by app id operation typically these are written to a http.Request

func NewPublicGetUserAppEntitlementByAppIDParams

func NewPublicGetUserAppEntitlementByAppIDParams() *PublicGetUserAppEntitlementByAppIDParams

NewPublicGetUserAppEntitlementByAppIDParams creates a new PublicGetUserAppEntitlementByAppIDParams object with the default values initialized.

func NewPublicGetUserAppEntitlementByAppIDParamsWithContext

func NewPublicGetUserAppEntitlementByAppIDParamsWithContext(ctx context.Context) *PublicGetUserAppEntitlementByAppIDParams

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

func NewPublicGetUserAppEntitlementByAppIDParamsWithHTTPClient

func NewPublicGetUserAppEntitlementByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementByAppIDParams

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

func NewPublicGetUserAppEntitlementByAppIDParamsWithTimeout

func NewPublicGetUserAppEntitlementByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementByAppIDParams

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetAppID

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetAuthInfoWriter

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

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetContext

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetFlightId

func (o *PublicGetUserAppEntitlementByAppIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserAppEntitlementByAppIDParams) SetHTTPClient

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

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetHTTPClientTransport

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

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetNamespace

func (o *PublicGetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetTimeout

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) ToJSONString

type PublicGetUserAppEntitlementOwnershipByAppIDParams

type PublicGetUserAppEntitlementOwnershipByAppIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserAppEntitlementOwnershipByAppIDParams contains all the parameters to send to the API endpoint for the public get user app entitlement ownership by app id operation typically these are written to a http.Request

func NewPublicGetUserAppEntitlementOwnershipByAppIDParams

func NewPublicGetUserAppEntitlementOwnershipByAppIDParams() *PublicGetUserAppEntitlementOwnershipByAppIDParams

NewPublicGetUserAppEntitlementOwnershipByAppIDParams creates a new PublicGetUserAppEntitlementOwnershipByAppIDParams object with the default values initialized.

func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithContext

func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithContext(ctx context.Context) *PublicGetUserAppEntitlementOwnershipByAppIDParams

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

func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient

func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetUserAppEntitlementOwnershipByAppIDParams

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

func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout

func NewPublicGetUserAppEntitlementOwnershipByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetUserAppEntitlementOwnershipByAppIDParams

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAppID

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetAuthInfoWriter

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

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClient

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetHTTPClientTransport

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

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetTimeout

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

type PublicGetUserEntitlementByItemIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserEntitlementByItemIDNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31144</td><td>Entitlement with itemId [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicGetUserEntitlementByItemIDNotFound

func NewPublicGetUserEntitlementByItemIDNotFound() *PublicGetUserEntitlementByItemIDNotFound

NewPublicGetUserEntitlementByItemIDNotFound creates a PublicGetUserEntitlementByItemIDNotFound with default headers values

func (*PublicGetUserEntitlementByItemIDNotFound) Error

func (*PublicGetUserEntitlementByItemIDNotFound) GetPayload

func (*PublicGetUserEntitlementByItemIDNotFound) ToJSONString

type PublicGetUserEntitlementByItemIDOK

type PublicGetUserEntitlementByItemIDOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

PublicGetUserEntitlementByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementByItemIDOK

func NewPublicGetUserEntitlementByItemIDOK() *PublicGetUserEntitlementByItemIDOK

NewPublicGetUserEntitlementByItemIDOK creates a PublicGetUserEntitlementByItemIDOK with default headers values

func (*PublicGetUserEntitlementByItemIDOK) Error

func (*PublicGetUserEntitlementByItemIDOK) GetPayload

func (*PublicGetUserEntitlementByItemIDOK) ToJSONString

func (o *PublicGetUserEntitlementByItemIDOK) ToJSONString() string

type PublicGetUserEntitlementByItemIDParams

type PublicGetUserEntitlementByItemIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserEntitlementByItemIDParams contains all the parameters to send to the API endpoint for the public get user entitlement by item id operation typically these are written to a http.Request

func NewPublicGetUserEntitlementByItemIDParams

func NewPublicGetUserEntitlementByItemIDParams() *PublicGetUserEntitlementByItemIDParams

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

func NewPublicGetUserEntitlementByItemIDParamsWithContext

func NewPublicGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementByItemIDParams

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

func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient

func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementByItemIDParams

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

func NewPublicGetUserEntitlementByItemIDParamsWithTimeout

func NewPublicGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementByItemIDParams

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

func (*PublicGetUserEntitlementByItemIDParams) SetAuthInfoWriter

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetContext

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

func (*PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetFlightId

func (o *PublicGetUserEntitlementByItemIDParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClient

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClientTransport

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetItemID

func (o *PublicGetUserEntitlementByItemIDParams) SetItemID(itemID string)

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

func (*PublicGetUserEntitlementByItemIDParams) SetNamespace

func (o *PublicGetUserEntitlementByItemIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementByItemIDParams) SetTimeout

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetUserID

func (o *PublicGetUserEntitlementByItemIDParams) SetUserID(userID string)

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

func (*PublicGetUserEntitlementByItemIDParams) WithContext

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

func (*PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz

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

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

func (*PublicGetUserEntitlementByItemIDParams) WithHTTPClient

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

func (*PublicGetUserEntitlementByItemIDParams) WithItemID

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

func (*PublicGetUserEntitlementByItemIDParams) WithNamespace

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

func (*PublicGetUserEntitlementByItemIDParams) WithTimeout

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

func (*PublicGetUserEntitlementByItemIDParams) WithUserID

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

func (*PublicGetUserEntitlementByItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementByItemIDReader

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

PublicGetUserEntitlementByItemIDReader is a Reader for the PublicGetUserEntitlementByItemID structure.

func (*PublicGetUserEntitlementByItemIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*PublicGetUserEntitlementBySkuNotFound) ToJSONString

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

func (*PublicGetUserEntitlementBySkuOK) ToJSONString

func (o *PublicGetUserEntitlementBySkuOK) ToJSONString() string

type PublicGetUserEntitlementBySkuParams

type PublicGetUserEntitlementBySkuParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserEntitlementBySkuParams contains all the parameters to send to the API endpoint for the public get user entitlement by sku operation typically these are written to a http.Request

func NewPublicGetUserEntitlementBySkuParams

func NewPublicGetUserEntitlementBySkuParams() *PublicGetUserEntitlementBySkuParams

NewPublicGetUserEntitlementBySkuParams creates a new PublicGetUserEntitlementBySkuParams object with the default values initialized.

func NewPublicGetUserEntitlementBySkuParamsWithContext

func NewPublicGetUserEntitlementBySkuParamsWithContext(ctx context.Context) *PublicGetUserEntitlementBySkuParams

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

func NewPublicGetUserEntitlementBySkuParamsWithHTTPClient

func NewPublicGetUserEntitlementBySkuParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementBySkuParams

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

func NewPublicGetUserEntitlementBySkuParamsWithTimeout

func NewPublicGetUserEntitlementBySkuParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementBySkuParams

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

func (*PublicGetUserEntitlementBySkuParams) SetAuthInfoWriter

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

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

func (*PublicGetUserEntitlementBySkuParams) SetContext

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

func (*PublicGetUserEntitlementBySkuParams) SetEntitlementClazz

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

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

func (*PublicGetUserEntitlementBySkuParams) SetFlightId

func (o *PublicGetUserEntitlementBySkuParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementBySkuParams) SetHTTPClient

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

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

func (*PublicGetUserEntitlementBySkuParams) SetHTTPClientTransport

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

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

func (*PublicGetUserEntitlementBySkuParams) SetNamespace

func (o *PublicGetUserEntitlementBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementBySkuParams) SetSku

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

func (*PublicGetUserEntitlementNotFound) ToJSONString

func (o *PublicGetUserEntitlementNotFound) ToJSONString() string

type PublicGetUserEntitlementOK

type PublicGetUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

PublicGetUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementOK

func NewPublicGetUserEntitlementOK() *PublicGetUserEntitlementOK

NewPublicGetUserEntitlementOK creates a PublicGetUserEntitlementOK with default headers values

func (*PublicGetUserEntitlementOK) Error

func (*PublicGetUserEntitlementOK) GetPayload

func (*PublicGetUserEntitlementOK) ToJSONString

func (o *PublicGetUserEntitlementOK) ToJSONString() string

type PublicGetUserEntitlementOwnershipByItemIDOK

type PublicGetUserEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetUserEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementOwnershipByItemIDOK

func NewPublicGetUserEntitlementOwnershipByItemIDOK() *PublicGetUserEntitlementOwnershipByItemIDOK

NewPublicGetUserEntitlementOwnershipByItemIDOK creates a PublicGetUserEntitlementOwnershipByItemIDOK with default headers values

func (*PublicGetUserEntitlementOwnershipByItemIDOK) Error

func (*PublicGetUserEntitlementOwnershipByItemIDOK) GetPayload

func (*PublicGetUserEntitlementOwnershipByItemIDOK) ToJSONString

type PublicGetUserEntitlementOwnershipByItemIDParams

type PublicGetUserEntitlementOwnershipByItemIDParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserEntitlementOwnershipByItemIDParams contains all the parameters to send to the API endpoint for the public get user entitlement ownership by item id operation typically these are written to a http.Request

func NewPublicGetUserEntitlementOwnershipByItemIDParams

func NewPublicGetUserEntitlementOwnershipByItemIDParams() *PublicGetUserEntitlementOwnershipByItemIDParams

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

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIDParams

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

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIDParams

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

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIDParams

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetContext

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz

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

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetFlightId

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClient

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport

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

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace

func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetTimeout

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetUserID

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithContext

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithHTTPClient

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithItemID

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithNamespace

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithTimeout

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithUserID

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementOwnershipByItemIDReader

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

PublicGetUserEntitlementOwnershipByItemIDReader is a Reader for the PublicGetUserEntitlementOwnershipByItemID structure.

func (*PublicGetUserEntitlementOwnershipByItemIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementOwnershipByItemIdsOK

type PublicGetUserEntitlementOwnershipByItemIdsOK struct {
	Payload []*platformclientmodels.EntitlementOwnership
}

PublicGetUserEntitlementOwnershipByItemIdsOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementOwnershipByItemIdsOK

func NewPublicGetUserEntitlementOwnershipByItemIdsOK() *PublicGetUserEntitlementOwnershipByItemIdsOK

NewPublicGetUserEntitlementOwnershipByItemIdsOK creates a PublicGetUserEntitlementOwnershipByItemIdsOK with default headers values

func (*PublicGetUserEntitlementOwnershipByItemIdsOK) Error

func (*PublicGetUserEntitlementOwnershipByItemIdsOK) GetPayload

func (*PublicGetUserEntitlementOwnershipByItemIdsOK) ToJSONString

type PublicGetUserEntitlementOwnershipByItemIdsParams

type PublicGetUserEntitlementOwnershipByItemIdsParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserEntitlementOwnershipByItemIdsParams contains all the parameters to send to the API endpoint for the public get user entitlement ownership by item ids operation typically these are written to a http.Request

func NewPublicGetUserEntitlementOwnershipByItemIdsParams

func NewPublicGetUserEntitlementOwnershipByItemIdsParams() *PublicGetUserEntitlementOwnershipByItemIdsParams

NewPublicGetUserEntitlementOwnershipByItemIdsParams creates a new PublicGetUserEntitlementOwnershipByItemIdsParams object with the default values initialized.

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIdsParams

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

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIdsParams

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

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithTimeout

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIdsParams

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetAuthInfoWriter

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetContext

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetFlightId

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport

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

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetIds

SetIds adds the ids to the public get user entitlement ownership by item ids params

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace

func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetTimeout

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetUserID

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithContext

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithIds

WithIds adds the ids to the public get user entitlement ownership by item ids params

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithNamespace

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithTimeout

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithUserID

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementOwnershipByItemIdsReader

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

PublicGetUserEntitlementOwnershipByItemIdsReader is a Reader for the PublicGetUserEntitlementOwnershipByItemIds structure.

func (*PublicGetUserEntitlementOwnershipByItemIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*PublicGetUserEntitlementOwnershipBySkuOK) ToJSONString

type PublicGetUserEntitlementOwnershipBySkuParams

type PublicGetUserEntitlementOwnershipBySkuParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserEntitlementOwnershipBySkuParams contains all the parameters to send to the API endpoint for the public get user entitlement ownership by sku operation typically these are written to a http.Request

func NewPublicGetUserEntitlementOwnershipBySkuParams

func NewPublicGetUserEntitlementOwnershipBySkuParams() *PublicGetUserEntitlementOwnershipBySkuParams

NewPublicGetUserEntitlementOwnershipBySkuParams creates a new PublicGetUserEntitlementOwnershipBySkuParams object with the default values initialized.

func NewPublicGetUserEntitlementOwnershipBySkuParamsWithContext

func NewPublicGetUserEntitlementOwnershipBySkuParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipBySkuParams

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

func NewPublicGetUserEntitlementOwnershipBySkuParamsWithHTTPClient

func NewPublicGetUserEntitlementOwnershipBySkuParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipBySkuParams

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

func NewPublicGetUserEntitlementOwnershipBySkuParamsWithTimeout

func NewPublicGetUserEntitlementOwnershipBySkuParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipBySkuParams

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetAuthInfoWriter

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetContext

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetFlightId

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClient

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetHTTPClientTransport

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetSku

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicGetUserEntitlementParams

func NewPublicGetUserEntitlementParams() *PublicGetUserEntitlementParams

NewPublicGetUserEntitlementParams creates a new PublicGetUserEntitlementParams object with the default values initialized.

func NewPublicGetUserEntitlementParamsWithContext

func NewPublicGetUserEntitlementParamsWithContext(ctx context.Context) *PublicGetUserEntitlementParams

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

func NewPublicGetUserEntitlementParamsWithHTTPClient

func NewPublicGetUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementParams

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

func NewPublicGetUserEntitlementParamsWithTimeout

func NewPublicGetUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementParams

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

func (*PublicGetUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetContext

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

SetContext adds the context to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetEntitlementID

func (o *PublicGetUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetFlightId

func (o *PublicGetUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicGetUserEntitlementParams) SetNamespace

func (o *PublicGetUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetUserID

func (o *PublicGetUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithContext

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 PublicGetUserEntitlementsByIdsOK

type PublicGetUserEntitlementsByIdsOK struct {
	Payload []*platformclientmodels.EntitlementInfo
}

PublicGetUserEntitlementsByIdsOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementsByIdsOK

func NewPublicGetUserEntitlementsByIdsOK() *PublicGetUserEntitlementsByIdsOK

NewPublicGetUserEntitlementsByIdsOK creates a PublicGetUserEntitlementsByIdsOK with default headers values

func (*PublicGetUserEntitlementsByIdsOK) Error

func (*PublicGetUserEntitlementsByIdsOK) GetPayload

func (*PublicGetUserEntitlementsByIdsOK) ToJSONString

func (o *PublicGetUserEntitlementsByIdsOK) ToJSONString() string

type PublicGetUserEntitlementsByIdsParams

type PublicGetUserEntitlementsByIdsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string
	/*AvailablePlatformOnly*/
	AvailablePlatformOnly *bool
	/*Ids*/
	Ids []string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserEntitlementsByIdsParams contains all the parameters to send to the API endpoint for the public get user entitlements by ids operation typically these are written to a http.Request

func NewPublicGetUserEntitlementsByIdsParams

func NewPublicGetUserEntitlementsByIdsParams() *PublicGetUserEntitlementsByIdsParams

NewPublicGetUserEntitlementsByIdsParams creates a new PublicGetUserEntitlementsByIdsParams object with the default values initialized.

func NewPublicGetUserEntitlementsByIdsParamsWithContext

func NewPublicGetUserEntitlementsByIdsParamsWithContext(ctx context.Context) *PublicGetUserEntitlementsByIdsParams

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

func NewPublicGetUserEntitlementsByIdsParamsWithHTTPClient

func NewPublicGetUserEntitlementsByIdsParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementsByIdsParams

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

func NewPublicGetUserEntitlementsByIdsParamsWithTimeout

func NewPublicGetUserEntitlementsByIdsParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementsByIdsParams

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

func (*PublicGetUserEntitlementsByIdsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly

func (o *PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly(availablePlatformOnly *bool)

SetAvailablePlatformOnly adds the availablePlatformOnly to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetContext

SetContext adds the context to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetFlightId

func (o *PublicGetUserEntitlementsByIdsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetUserEntitlementsByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetIds

SetIds adds the ids to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetNamespace

func (o *PublicGetUserEntitlementsByIdsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetTimeout

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

SetTimeout adds the timeout to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetUserID

func (o *PublicGetUserEntitlementsByIdsParams) SetUserID(userID string)

SetUserID adds the userId to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly

func (o *PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly(availablePlatformOnly *bool) *PublicGetUserEntitlementsByIdsParams

WithAvailablePlatformOnly adds the availablePlatformOnly to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithContext

WithContext adds the context to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithIds

WithIds adds the ids to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithNamespace

WithNamespace adds the namespace to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithTimeout

WithTimeout adds the timeout to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithUserID

WithUserID adds the userID to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementsByIdsReader

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

PublicGetUserEntitlementsByIdsReader is a Reader for the PublicGetUserEntitlementsByIds structure.

func (*PublicGetUserEntitlementsByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*PublicQueryUserEntitlementsByAppTypeOK) ToJSONString

type PublicQueryUserEntitlementsByAppTypeParams

type PublicQueryUserEntitlementsByAppTypeParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicQueryUserEntitlementsByAppTypeParams contains all the parameters to send to the API endpoint for the public query user entitlements by app type operation typically these are written to a http.Request

func NewPublicQueryUserEntitlementsByAppTypeParams

func NewPublicQueryUserEntitlementsByAppTypeParams() *PublicQueryUserEntitlementsByAppTypeParams

NewPublicQueryUserEntitlementsByAppTypeParams creates a new PublicQueryUserEntitlementsByAppTypeParams object with the default values initialized.

func NewPublicQueryUserEntitlementsByAppTypeParamsWithContext

func NewPublicQueryUserEntitlementsByAppTypeParamsWithContext(ctx context.Context) *PublicQueryUserEntitlementsByAppTypeParams

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

func NewPublicQueryUserEntitlementsByAppTypeParamsWithHTTPClient

func NewPublicQueryUserEntitlementsByAppTypeParamsWithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsByAppTypeParams

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

func NewPublicQueryUserEntitlementsByAppTypeParamsWithTimeout

func NewPublicQueryUserEntitlementsByAppTypeParamsWithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsByAppTypeParams

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetAppType

func (o *PublicQueryUserEntitlementsByAppTypeParams) SetAppType(appType string)

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) SetContext

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetFlightId

func (o *PublicQueryUserEntitlementsByAppTypeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClient

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

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport

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

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetLimit

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

func (*PublicQueryUserEntitlementsOK) ToJSONString

func (o *PublicQueryUserEntitlementsOK) ToJSONString() string

type PublicQueryUserEntitlementsParams

type PublicQueryUserEntitlementsParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicQueryUserEntitlementsParams contains all the parameters to send to the API endpoint for the public query user entitlements operation typically these are written to a http.Request

func NewPublicQueryUserEntitlementsParams

func NewPublicQueryUserEntitlementsParams() *PublicQueryUserEntitlementsParams

NewPublicQueryUserEntitlementsParams creates a new PublicQueryUserEntitlementsParams object with the default values initialized.

func NewPublicQueryUserEntitlementsParamsWithContext

func NewPublicQueryUserEntitlementsParamsWithContext(ctx context.Context) *PublicQueryUserEntitlementsParams

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

func NewPublicQueryUserEntitlementsParamsWithHTTPClient

func NewPublicQueryUserEntitlementsParamsWithHTTPClient(client *http.Client) *PublicQueryUserEntitlementsParams

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

func NewPublicQueryUserEntitlementsParamsWithTimeout

func NewPublicQueryUserEntitlementsParamsWithTimeout(timeout time.Duration) *PublicQueryUserEntitlementsParams

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

func (*PublicQueryUserEntitlementsParams) SetAppType

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

SetAppType adds the appType to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetContext

SetContext adds the context to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetEntitlementClazz

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

SetEntitlementClazz adds the entitlementClazz to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetEntitlementName

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

SetEntitlementName adds the entitlementName to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetFeatures

func (o *PublicQueryUserEntitlementsParams) SetFeatures(features []string)

SetFeatures adds the features to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetFlightId

func (o *PublicQueryUserEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicQueryUserEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetHTTPClientTransport

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

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

func (*PublicQueryUserEntitlementsParams) SetItemID

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

SetItemID adds the itemId to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetLimit

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

SetLimit adds the limit to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetNamespace

func (o *PublicQueryUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetOffset

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

SetOffset adds the offset to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetUserID

func (o *PublicQueryUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithAppType

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

WithFeatures adds the features 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 PublicSellUserEntitlementConflict

type PublicSellUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicSellUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>31181</td><td>Entitlement [{entitlementId}] is not sellable</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr></table>

func NewPublicSellUserEntitlementConflict

func NewPublicSellUserEntitlementConflict() *PublicSellUserEntitlementConflict

NewPublicSellUserEntitlementConflict creates a PublicSellUserEntitlementConflict with default headers values

func (*PublicSellUserEntitlementConflict) Error

func (*PublicSellUserEntitlementConflict) GetPayload

func (*PublicSellUserEntitlementConflict) ToJSONString

func (o *PublicSellUserEntitlementConflict) ToJSONString() string

type PublicSellUserEntitlementNotFound

type PublicSellUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicSellUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicSellUserEntitlementNotFound

func NewPublicSellUserEntitlementNotFound() *PublicSellUserEntitlementNotFound

NewPublicSellUserEntitlementNotFound creates a PublicSellUserEntitlementNotFound with default headers values

func (*PublicSellUserEntitlementNotFound) Error

func (*PublicSellUserEntitlementNotFound) GetPayload

func (*PublicSellUserEntitlementNotFound) ToJSONString

func (o *PublicSellUserEntitlementNotFound) ToJSONString() string

type PublicSellUserEntitlementOK

type PublicSellUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementSoldResult
}

PublicSellUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicSellUserEntitlementOK

func NewPublicSellUserEntitlementOK() *PublicSellUserEntitlementOK

NewPublicSellUserEntitlementOK creates a PublicSellUserEntitlementOK with default headers values

func (*PublicSellUserEntitlementOK) Error

func (*PublicSellUserEntitlementOK) GetPayload

func (*PublicSellUserEntitlementOK) ToJSONString

func (o *PublicSellUserEntitlementOK) ToJSONString() string

type PublicSellUserEntitlementParams

type PublicSellUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicSellUserEntitlementParams

func NewPublicSellUserEntitlementParams() *PublicSellUserEntitlementParams

NewPublicSellUserEntitlementParams creates a new PublicSellUserEntitlementParams object with the default values initialized.

func NewPublicSellUserEntitlementParamsWithContext

func NewPublicSellUserEntitlementParamsWithContext(ctx context.Context) *PublicSellUserEntitlementParams

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

func NewPublicSellUserEntitlementParamsWithHTTPClient

func NewPublicSellUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicSellUserEntitlementParams

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

func NewPublicSellUserEntitlementParamsWithTimeout

func NewPublicSellUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicSellUserEntitlementParams

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

func (*PublicSellUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetBody

SetBody adds the body to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetContext

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

SetContext adds the context to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetEntitlementID

func (o *PublicSellUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetFlightId

func (o *PublicSellUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicSellUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicSellUserEntitlementParams) SetNamespace

func (o *PublicSellUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetUserID

func (o *PublicSellUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithBody

WithBody adds the body to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithContext

WithContext adds the context to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithEntitlementID

func (o *PublicSellUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSellUserEntitlementParams

WithEntitlementID adds the entitlementID to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithUserID

WithUserID adds the userID to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicSellUserEntitlementReader

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

PublicSellUserEntitlementReader is a Reader for the PublicSellUserEntitlement structure.

func (*PublicSellUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicSplitUserEntitlementConflict

type PublicSplitUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicSplitUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewPublicSplitUserEntitlementConflict

func NewPublicSplitUserEntitlementConflict() *PublicSplitUserEntitlementConflict

NewPublicSplitUserEntitlementConflict creates a PublicSplitUserEntitlementConflict with default headers values

func (*PublicSplitUserEntitlementConflict) Error

func (*PublicSplitUserEntitlementConflict) GetPayload

func (*PublicSplitUserEntitlementConflict) ToJSONString

func (o *PublicSplitUserEntitlementConflict) ToJSONString() string

type PublicSplitUserEntitlementNotFound

type PublicSplitUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicSplitUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicSplitUserEntitlementNotFound

func NewPublicSplitUserEntitlementNotFound() *PublicSplitUserEntitlementNotFound

NewPublicSplitUserEntitlementNotFound creates a PublicSplitUserEntitlementNotFound with default headers values

func (*PublicSplitUserEntitlementNotFound) Error

func (*PublicSplitUserEntitlementNotFound) GetPayload

func (*PublicSplitUserEntitlementNotFound) ToJSONString

func (o *PublicSplitUserEntitlementNotFound) ToJSONString() string

type PublicSplitUserEntitlementOK

type PublicSplitUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementSplitResult
}

PublicSplitUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicSplitUserEntitlementOK

func NewPublicSplitUserEntitlementOK() *PublicSplitUserEntitlementOK

NewPublicSplitUserEntitlementOK creates a PublicSplitUserEntitlementOK with default headers values

func (*PublicSplitUserEntitlementOK) Error

func (*PublicSplitUserEntitlementOK) GetPayload

func (*PublicSplitUserEntitlementOK) ToJSONString

func (o *PublicSplitUserEntitlementOK) ToJSONString() string

type PublicSplitUserEntitlementParams

type PublicSplitUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicSplitUserEntitlementParams

func NewPublicSplitUserEntitlementParams() *PublicSplitUserEntitlementParams

NewPublicSplitUserEntitlementParams creates a new PublicSplitUserEntitlementParams object with the default values initialized.

func NewPublicSplitUserEntitlementParamsWithContext

func NewPublicSplitUserEntitlementParamsWithContext(ctx context.Context) *PublicSplitUserEntitlementParams

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

func NewPublicSplitUserEntitlementParamsWithHTTPClient

func NewPublicSplitUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicSplitUserEntitlementParams

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

func NewPublicSplitUserEntitlementParamsWithTimeout

func NewPublicSplitUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicSplitUserEntitlementParams

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

func (*PublicSplitUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetBody

SetBody adds the body to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetContext

SetContext adds the context to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetEntitlementID

func (o *PublicSplitUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetFlightId

func (o *PublicSplitUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicSplitUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicSplitUserEntitlementParams) SetNamespace

func (o *PublicSplitUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetUserID

func (o *PublicSplitUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithBody

WithBody adds the body to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithContext

WithContext adds the context to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithEntitlementID

func (o *PublicSplitUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSplitUserEntitlementParams

WithEntitlementID adds the entitlementID to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithUserID

WithUserID adds the userID to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicSplitUserEntitlementReader

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

PublicSplitUserEntitlementReader is a Reader for the PublicSplitUserEntitlement structure.

func (*PublicSplitUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicTransferUserEntitlementConflict

type PublicTransferUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicTransferUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>31184</td><td>Source entitlement [{sourceEntitlementId}] and target entitlement [{targetEntitlementId}] should have same collectionId, timeRange, origin and itemId</td></tr><tr><td>31185</td><td>Transferred source entitlement [{sourceEntitlementId}] and target entitlement [{targetEntitlementId}] can not be set to same</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewPublicTransferUserEntitlementConflict

func NewPublicTransferUserEntitlementConflict() *PublicTransferUserEntitlementConflict

NewPublicTransferUserEntitlementConflict creates a PublicTransferUserEntitlementConflict with default headers values

func (*PublicTransferUserEntitlementConflict) Error

func (*PublicTransferUserEntitlementConflict) GetPayload

func (*PublicTransferUserEntitlementConflict) ToJSONString

type PublicTransferUserEntitlementNotFound

type PublicTransferUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicTransferUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicTransferUserEntitlementNotFound

func NewPublicTransferUserEntitlementNotFound() *PublicTransferUserEntitlementNotFound

NewPublicTransferUserEntitlementNotFound creates a PublicTransferUserEntitlementNotFound with default headers values

func (*PublicTransferUserEntitlementNotFound) Error

func (*PublicTransferUserEntitlementNotFound) GetPayload

func (*PublicTransferUserEntitlementNotFound) ToJSONString

type PublicTransferUserEntitlementOK

type PublicTransferUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementTransferResult
}

PublicTransferUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicTransferUserEntitlementOK

func NewPublicTransferUserEntitlementOK() *PublicTransferUserEntitlementOK

NewPublicTransferUserEntitlementOK creates a PublicTransferUserEntitlementOK with default headers values

func (*PublicTransferUserEntitlementOK) Error

func (*PublicTransferUserEntitlementOK) GetPayload

func (*PublicTransferUserEntitlementOK) ToJSONString

func (o *PublicTransferUserEntitlementOK) ToJSONString() string

type PublicTransferUserEntitlementParams

type PublicTransferUserEntitlementParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicTransferUserEntitlementParams

func NewPublicTransferUserEntitlementParams() *PublicTransferUserEntitlementParams

NewPublicTransferUserEntitlementParams creates a new PublicTransferUserEntitlementParams object with the default values initialized.

func NewPublicTransferUserEntitlementParamsWithContext

func NewPublicTransferUserEntitlementParamsWithContext(ctx context.Context) *PublicTransferUserEntitlementParams

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

func NewPublicTransferUserEntitlementParamsWithHTTPClient

func NewPublicTransferUserEntitlementParamsWithHTTPClient(client *http.Client) *PublicTransferUserEntitlementParams

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

func NewPublicTransferUserEntitlementParamsWithTimeout

func NewPublicTransferUserEntitlementParamsWithTimeout(timeout time.Duration) *PublicTransferUserEntitlementParams

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

func (*PublicTransferUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetBody

SetBody adds the body to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetContext

SetContext adds the context to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetEntitlementID

func (o *PublicTransferUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetFlightId

func (o *PublicTransferUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicTransferUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetHTTPClientTransport

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

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

func (*PublicTransferUserEntitlementParams) SetNamespace

func (o *PublicTransferUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetUserID

func (o *PublicTransferUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithBody

WithBody adds the body to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithContext

WithContext adds the context to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithUserID

WithUserID adds the userID to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicTransferUserEntitlementReader

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

PublicTransferUserEntitlementReader is a Reader for the PublicTransferUserEntitlement structure.

func (*PublicTransferUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUserEntitlementHistoryOK

type PublicUserEntitlementHistoryOK struct {
	Payload []*platformclientmodels.UserEntitlementHistoryPagingSlicedResult
}

PublicUserEntitlementHistoryOK handles this case with default header values.

successful operation

func NewPublicUserEntitlementHistoryOK

func NewPublicUserEntitlementHistoryOK() *PublicUserEntitlementHistoryOK

NewPublicUserEntitlementHistoryOK creates a PublicUserEntitlementHistoryOK with default headers values

func (*PublicUserEntitlementHistoryOK) Error

func (*PublicUserEntitlementHistoryOK) GetPayload

func (*PublicUserEntitlementHistoryOK) ToJSONString

func (o *PublicUserEntitlementHistoryOK) ToJSONString() string

type PublicUserEntitlementHistoryParams

type PublicUserEntitlementHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string
	/*EndDate
	  allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z

	*/
	EndDate *string
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*StartDate
	  allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z

	*/
	StartDate *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewPublicUserEntitlementHistoryParams

func NewPublicUserEntitlementHistoryParams() *PublicUserEntitlementHistoryParams

NewPublicUserEntitlementHistoryParams creates a new PublicUserEntitlementHistoryParams object with the default values initialized.

func NewPublicUserEntitlementHistoryParamsWithContext

func NewPublicUserEntitlementHistoryParamsWithContext(ctx context.Context) *PublicUserEntitlementHistoryParams

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

func NewPublicUserEntitlementHistoryParamsWithHTTPClient

func NewPublicUserEntitlementHistoryParamsWithHTTPClient(client *http.Client) *PublicUserEntitlementHistoryParams

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

func NewPublicUserEntitlementHistoryParamsWithTimeout

func NewPublicUserEntitlementHistoryParamsWithTimeout(timeout time.Duration) *PublicUserEntitlementHistoryParams

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

func (*PublicUserEntitlementHistoryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetContext

SetContext adds the context to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetEndDate

func (o *PublicUserEntitlementHistoryParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetEntitlementClazz

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

SetEntitlementClazz adds the entitlementClazz to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetFlightId

func (o *PublicUserEntitlementHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicUserEntitlementHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetHTTPClientTransport

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

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

func (*PublicUserEntitlementHistoryParams) SetLimit

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

SetLimit adds the limit to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetNamespace

func (o *PublicUserEntitlementHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetOffset

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

SetOffset adds the offset to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetStartDate

func (o *PublicUserEntitlementHistoryParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) SetUserID

func (o *PublicUserEntitlementHistoryParams) SetUserID(userID string)

SetUserID adds the userId to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithContext

WithContext adds the context to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithEndDate

WithEndDate adds the endDate to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithEntitlementClazz

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

WithEntitlementClazz adds the entitlementClazz to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithLimit

WithLimit adds the limit to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithNamespace

WithNamespace adds the namespace to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithOffset

WithOffset adds the offset to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithStartDate

WithStartDate adds the startDate to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithTimeout

WithTimeout adds the timeout to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WithUserID

WithUserID adds the userID to the public user entitlement history params

func (*PublicUserEntitlementHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUserEntitlementHistoryReader

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

PublicUserEntitlementHistoryReader is a Reader for the PublicUserEntitlementHistory structure.

func (*PublicUserEntitlementHistoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryEntitlements1OK

type QueryEntitlements1OK struct {
	Payload *platformclientmodels.EntitlementPagingSlicedResult
}

QueryEntitlements1OK handles this case with default header values.

successful operation

func NewQueryEntitlements1OK

func NewQueryEntitlements1OK() *QueryEntitlements1OK

NewQueryEntitlements1OK creates a QueryEntitlements1OK with default headers values

func (*QueryEntitlements1OK) Error

func (o *QueryEntitlements1OK) Error() string

func (*QueryEntitlements1OK) GetPayload

func (*QueryEntitlements1OK) ToJSONString

func (o *QueryEntitlements1OK) ToJSONString() string

type QueryEntitlements1Params

type QueryEntitlements1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*ItemIds*/
	ItemIds []string
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

QueryEntitlements1Params contains all the parameters to send to the API endpoint for the query entitlements 1 operation typically these are written to a http.Request

func NewQueryEntitlements1Params

func NewQueryEntitlements1Params() *QueryEntitlements1Params

NewQueryEntitlements1Params creates a new QueryEntitlements1Params object with the default values initialized.

func NewQueryEntitlements1ParamsWithContext

func NewQueryEntitlements1ParamsWithContext(ctx context.Context) *QueryEntitlements1Params

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

func NewQueryEntitlements1ParamsWithHTTPClient

func NewQueryEntitlements1ParamsWithHTTPClient(client *http.Client) *QueryEntitlements1Params

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

func NewQueryEntitlements1ParamsWithTimeout

func NewQueryEntitlements1ParamsWithTimeout(timeout time.Duration) *QueryEntitlements1Params

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

func (*QueryEntitlements1Params) SetActiveOnly

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

SetActiveOnly adds the activeOnly to the query entitlements 1 params

func (*QueryEntitlements1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query entitlements 1 params

func (*QueryEntitlements1Params) SetContext

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

SetContext adds the context to the query entitlements 1 params

func (*QueryEntitlements1Params) SetFlightId

func (o *QueryEntitlements1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryEntitlements1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query entitlements 1 params

func (*QueryEntitlements1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query entitlements 1 params

func (*QueryEntitlements1Params) SetItemIds

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

SetItemIds adds the itemIds to the query entitlements 1 params

func (*QueryEntitlements1Params) SetLimit

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

SetLimit adds the limit to the query entitlements 1 params

func (*QueryEntitlements1Params) SetNamespace

func (o *QueryEntitlements1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the query entitlements 1 params

func (*QueryEntitlements1Params) SetOffset

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

SetOffset adds the offset to the query entitlements 1 params

func (*QueryEntitlements1Params) SetTimeout

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

SetTimeout adds the timeout to the query entitlements 1 params

func (*QueryEntitlements1Params) WithActiveOnly

func (o *QueryEntitlements1Params) WithActiveOnly(activeOnly *bool) *QueryEntitlements1Params

WithActiveOnly adds the activeOnly to the query entitlements 1 params

func (*QueryEntitlements1Params) WithContext

WithContext adds the context to the query entitlements 1 params

func (*QueryEntitlements1Params) WithHTTPClient

func (o *QueryEntitlements1Params) WithHTTPClient(client *http.Client) *QueryEntitlements1Params

WithHTTPClient adds the HTTPClient to the query entitlements 1 params

func (*QueryEntitlements1Params) WithItemIds

func (o *QueryEntitlements1Params) WithItemIds(itemIds []string) *QueryEntitlements1Params

WithItemIds adds the itemIds to the query entitlements 1 params

func (*QueryEntitlements1Params) WithLimit

WithLimit adds the limit to the query entitlements 1 params

func (*QueryEntitlements1Params) WithNamespace

func (o *QueryEntitlements1Params) WithNamespace(namespace string) *QueryEntitlements1Params

WithNamespace adds the namespace to the query entitlements 1 params

func (*QueryEntitlements1Params) WithOffset

WithOffset adds the offset to the query entitlements 1 params

func (*QueryEntitlements1Params) WithTimeout

WithTimeout adds the timeout to the query entitlements 1 params

func (*QueryEntitlements1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryEntitlements1Reader

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

QueryEntitlements1Reader is a Reader for the QueryEntitlements1 structure.

func (*QueryEntitlements1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryEntitlementsOK

type QueryEntitlementsOK struct {
	Payload *platformclientmodels.EntitlementPagingSlicedResult
}

QueryEntitlementsOK handles this case with default header values.

successful operation

func NewQueryEntitlementsOK

func NewQueryEntitlementsOK() *QueryEntitlementsOK

NewQueryEntitlementsOK creates a QueryEntitlementsOK with default headers values

func (*QueryEntitlementsOK) Error

func (o *QueryEntitlementsOK) Error() string

func (*QueryEntitlementsOK) GetPayload

func (*QueryEntitlementsOK) ToJSONString

func (o *QueryEntitlementsOK) ToJSONString() string

type QueryEntitlementsParams

type QueryEntitlementsParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

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

func (o *QueryEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query entitlements params

func (*QueryEntitlementsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query entitlements params

func (*QueryEntitlementsParams) 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) SetOrigin

func (o *QueryEntitlementsParams) SetOrigin(origin *string)

SetOrigin adds the origin 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) WithOrigin

func (o *QueryEntitlementsParams) WithOrigin(origin *string) *QueryEntitlementsParams

WithOrigin adds the origin 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

func (*QueryUserEntitlementsByAppTypeOK) ToJSONString

func (o *QueryUserEntitlementsByAppTypeOK) ToJSONString() string

type QueryUserEntitlementsByAppTypeParams

type QueryUserEntitlementsByAppTypeParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

QueryUserEntitlementsByAppTypeParams contains all the parameters to send to the API endpoint for the query user entitlements by app type operation typically these are written to a http.Request

func NewQueryUserEntitlementsByAppTypeParams

func NewQueryUserEntitlementsByAppTypeParams() *QueryUserEntitlementsByAppTypeParams

NewQueryUserEntitlementsByAppTypeParams creates a new QueryUserEntitlementsByAppTypeParams object with the default values initialized.

func NewQueryUserEntitlementsByAppTypeParamsWithContext

func NewQueryUserEntitlementsByAppTypeParamsWithContext(ctx context.Context) *QueryUserEntitlementsByAppTypeParams

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

func NewQueryUserEntitlementsByAppTypeParamsWithHTTPClient

func NewQueryUserEntitlementsByAppTypeParamsWithHTTPClient(client *http.Client) *QueryUserEntitlementsByAppTypeParams

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

func NewQueryUserEntitlementsByAppTypeParamsWithTimeout

func NewQueryUserEntitlementsByAppTypeParamsWithTimeout(timeout time.Duration) *QueryUserEntitlementsByAppTypeParams

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

func (*QueryUserEntitlementsByAppTypeParams) SetActiveOnly

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetAppType

func (o *QueryUserEntitlementsByAppTypeParams) SetAppType(appType string)

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

func (*QueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetContext

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

func (*QueryUserEntitlementsByAppTypeParams) SetFlightId

func (o *QueryUserEntitlementsByAppTypeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryUserEntitlementsByAppTypeParams) SetHTTPClient

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetLimit

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetNamespace

func (o *QueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)

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

func (*QueryUserEntitlementsByAppTypeParams) SetOffset

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetTimeout

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

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

func (*QueryUserEntitlementsByAppTypeParams) SetUserID

func (o *QueryUserEntitlementsByAppTypeParams) SetUserID(userID string)

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

func (*QueryUserEntitlementsByAppTypeParams) WithActiveOnly

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

func (*QueryUserEntitlementsOK) ToJSONString

func (o *QueryUserEntitlementsOK) ToJSONString() string

type QueryUserEntitlementsParams

type QueryUserEntitlementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppType*/
	AppType *string
	/*CollectionID*/
	CollectionID *string
	/*EntitlementClazz*/
	EntitlementClazz *string
	/*EntitlementName*/
	EntitlementName *string
	/*Features*/
	Features []string
	/*FuzzyMatchName*/
	FuzzyMatchName *bool
	/*ItemID*/
	ItemID []string
	/*Limit*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*Origin*/
	Origin *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

QueryUserEntitlementsParams contains all the parameters to send to the API endpoint for the query user entitlements operation typically these are written to a http.Request

func NewQueryUserEntitlementsParams

func NewQueryUserEntitlementsParams() *QueryUserEntitlementsParams

NewQueryUserEntitlementsParams creates a new QueryUserEntitlementsParams object with the default values initialized.

func NewQueryUserEntitlementsParamsWithContext

func NewQueryUserEntitlementsParamsWithContext(ctx context.Context) *QueryUserEntitlementsParams

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

func NewQueryUserEntitlementsParamsWithHTTPClient

func NewQueryUserEntitlementsParamsWithHTTPClient(client *http.Client) *QueryUserEntitlementsParams

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

func NewQueryUserEntitlementsParamsWithTimeout

func NewQueryUserEntitlementsParamsWithTimeout(timeout time.Duration) *QueryUserEntitlementsParams

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

func (*QueryUserEntitlementsParams) SetActiveOnly

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

SetActiveOnly adds the activeOnly to the query user entitlements params

func (*QueryUserEntitlementsParams) SetAppType

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

SetAppType adds the appType to the query user entitlements params

func (*QueryUserEntitlementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query user entitlements params

func (*QueryUserEntitlementsParams) SetCollectionID

func (o *QueryUserEntitlementsParams) SetCollectionID(collectionID *string)

SetCollectionID adds the collectionId to the query user entitlements params

func (*QueryUserEntitlementsParams) SetContext

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

SetContext adds the context to the query user entitlements params

func (*QueryUserEntitlementsParams) SetEntitlementClazz

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

SetEntitlementClazz adds the entitlementClazz to the query user entitlements params

func (*QueryUserEntitlementsParams) SetEntitlementName

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

SetEntitlementName adds the entitlementName to the query user entitlements params

func (*QueryUserEntitlementsParams) SetFeatures

func (o *QueryUserEntitlementsParams) SetFeatures(features []string)

SetFeatures adds the features to the query user entitlements params

func (*QueryUserEntitlementsParams) SetFlightId

func (o *QueryUserEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryUserEntitlementsParams) SetFuzzyMatchName

func (o *QueryUserEntitlementsParams) SetFuzzyMatchName(fuzzyMatchName *bool)

SetFuzzyMatchName adds the fuzzyMatchName to the query user entitlements params

func (*QueryUserEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query user entitlements params

func (*QueryUserEntitlementsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query user entitlements params

func (*QueryUserEntitlementsParams) SetItemID

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

SetItemID adds the itemId to the query user entitlements params

func (*QueryUserEntitlementsParams) SetLimit

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

SetLimit adds the limit to the query user entitlements params

func (*QueryUserEntitlementsParams) SetNamespace

func (o *QueryUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user entitlements params

func (*QueryUserEntitlementsParams) SetOffset

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

SetOffset adds the offset to the query user entitlements params

func (*QueryUserEntitlementsParams) SetOrigin

func (o *QueryUserEntitlementsParams) SetOrigin(origin *string)

SetOrigin adds the origin to the query user entitlements params

func (*QueryUserEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the query user entitlements params

func (*QueryUserEntitlementsParams) SetUserID

func (o *QueryUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the query user entitlements params

func (*QueryUserEntitlementsParams) WithActiveOnly

func (o *QueryUserEntitlementsParams) WithActiveOnly(activeOnly *bool) *QueryUserEntitlementsParams

WithActiveOnly adds the activeOnly to the query user entitlements params

func (*QueryUserEntitlementsParams) WithAppType

WithAppType adds the appType to the query user entitlements params

func (*QueryUserEntitlementsParams) WithCollectionID

func (o *QueryUserEntitlementsParams) WithCollectionID(collectionID *string) *QueryUserEntitlementsParams

WithCollectionID adds the collectionID to the query user entitlements params

func (*QueryUserEntitlementsParams) WithContext

WithContext adds the context to the query user entitlements params

func (*QueryUserEntitlementsParams) WithEntitlementClazz

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

WithEntitlementClazz adds the entitlementClazz to the query user entitlements params

func (*QueryUserEntitlementsParams) WithEntitlementName

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

WithEntitlementName adds the entitlementName to the query user entitlements params

func (*QueryUserEntitlementsParams) WithFeatures

func (o *QueryUserEntitlementsParams) WithFeatures(features []string) *QueryUserEntitlementsParams

WithFeatures adds the features to the query user entitlements params

func (*QueryUserEntitlementsParams) WithFuzzyMatchName

func (o *QueryUserEntitlementsParams) WithFuzzyMatchName(fuzzyMatchName *bool) *QueryUserEntitlementsParams

WithFuzzyMatchName adds the fuzzyMatchName to the query user entitlements params

func (*QueryUserEntitlementsParams) WithHTTPClient

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

WithOrigin adds the origin 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 RevokeAllEntitlementsOK

type RevokeAllEntitlementsOK struct {
	Payload *platformclientmodels.BulkOperationResult
}

RevokeAllEntitlementsOK handles this case with default header values.

successful operation

func NewRevokeAllEntitlementsOK

func NewRevokeAllEntitlementsOK() *RevokeAllEntitlementsOK

NewRevokeAllEntitlementsOK creates a RevokeAllEntitlementsOK with default headers values

func (*RevokeAllEntitlementsOK) Error

func (o *RevokeAllEntitlementsOK) Error() string

func (*RevokeAllEntitlementsOK) GetPayload

func (*RevokeAllEntitlementsOK) ToJSONString

func (o *RevokeAllEntitlementsOK) ToJSONString() string

type RevokeAllEntitlementsParams

type RevokeAllEntitlementsParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

RevokeAllEntitlementsParams contains all the parameters to send to the API endpoint for the revoke all entitlements operation typically these are written to a http.Request

func NewRevokeAllEntitlementsParams

func NewRevokeAllEntitlementsParams() *RevokeAllEntitlementsParams

NewRevokeAllEntitlementsParams creates a new RevokeAllEntitlementsParams object with the default values initialized.

func NewRevokeAllEntitlementsParamsWithContext

func NewRevokeAllEntitlementsParamsWithContext(ctx context.Context) *RevokeAllEntitlementsParams

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

func NewRevokeAllEntitlementsParamsWithHTTPClient

func NewRevokeAllEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeAllEntitlementsParams

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

func NewRevokeAllEntitlementsParamsWithTimeout

func NewRevokeAllEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeAllEntitlementsParams

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

func (*RevokeAllEntitlementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetContext

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

SetContext adds the context to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetFlightId

func (o *RevokeAllEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeAllEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetNamespace

func (o *RevokeAllEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetUserID

func (o *RevokeAllEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithContext

WithContext adds the context to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithNamespace

func (o *RevokeAllEntitlementsParams) WithNamespace(namespace string) *RevokeAllEntitlementsParams

WithNamespace adds the namespace to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithUserID

WithUserID adds the userID to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeAllEntitlementsReader

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

RevokeAllEntitlementsReader is a Reader for the RevokeAllEntitlements structure.

func (*RevokeAllEntitlementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeEntitlementsOK

type RevokeEntitlementsOK struct {
	Payload *platformclientmodels.BulkEntitlementRevokeResult
}

RevokeEntitlementsOK handles this case with default header values.

successful operation

func NewRevokeEntitlementsOK

func NewRevokeEntitlementsOK() *RevokeEntitlementsOK

NewRevokeEntitlementsOK creates a RevokeEntitlementsOK with default headers values

func (*RevokeEntitlementsOK) Error

func (o *RevokeEntitlementsOK) Error() string

func (*RevokeEntitlementsOK) GetPayload

func (*RevokeEntitlementsOK) ToJSONString

func (o *RevokeEntitlementsOK) ToJSONString() string

type RevokeEntitlementsParams

type RevokeEntitlementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []string
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

RevokeEntitlementsParams contains all the parameters to send to the API endpoint for the revoke entitlements operation typically these are written to a http.Request

func NewRevokeEntitlementsParams

func NewRevokeEntitlementsParams() *RevokeEntitlementsParams

NewRevokeEntitlementsParams creates a new RevokeEntitlementsParams object with the default values initialized.

func NewRevokeEntitlementsParamsWithContext

func NewRevokeEntitlementsParamsWithContext(ctx context.Context) *RevokeEntitlementsParams

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

func NewRevokeEntitlementsParamsWithHTTPClient

func NewRevokeEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeEntitlementsParams

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

func NewRevokeEntitlementsParamsWithTimeout

func NewRevokeEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeEntitlementsParams

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

func (*RevokeEntitlementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke entitlements params

func (*RevokeEntitlementsParams) SetBody

func (o *RevokeEntitlementsParams) SetBody(body []string)

SetBody adds the body to the revoke entitlements params

func (*RevokeEntitlementsParams) SetContext

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

SetContext adds the context to the revoke entitlements params

func (*RevokeEntitlementsParams) SetFlightId

func (o *RevokeEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeEntitlementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke entitlements params

func (*RevokeEntitlementsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the revoke entitlements params

func (*RevokeEntitlementsParams) SetNamespace

func (o *RevokeEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke entitlements params

func (*RevokeEntitlementsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke entitlements params

func (*RevokeEntitlementsParams) WithBody

WithBody adds the body to the revoke entitlements params

func (*RevokeEntitlementsParams) WithContext

WithContext adds the context to the revoke entitlements params

func (*RevokeEntitlementsParams) WithHTTPClient

func (o *RevokeEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeEntitlementsParams

WithHTTPClient adds the HTTPClient to the revoke entitlements params

func (*RevokeEntitlementsParams) WithNamespace

func (o *RevokeEntitlementsParams) WithNamespace(namespace string) *RevokeEntitlementsParams

WithNamespace adds the namespace to the revoke entitlements params

func (*RevokeEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the revoke entitlements params

func (*RevokeEntitlementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeEntitlementsReader

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

RevokeEntitlementsReader is a Reader for the RevokeEntitlements structure.

func (*RevokeEntitlementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeEntitlementsUnprocessableEntity

type RevokeEntitlementsUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

RevokeEntitlementsUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewRevokeEntitlementsUnprocessableEntity

func NewRevokeEntitlementsUnprocessableEntity() *RevokeEntitlementsUnprocessableEntity

NewRevokeEntitlementsUnprocessableEntity creates a RevokeEntitlementsUnprocessableEntity with default headers values

func (*RevokeEntitlementsUnprocessableEntity) Error

func (*RevokeEntitlementsUnprocessableEntity) GetPayload

func (*RevokeEntitlementsUnprocessableEntity) ToJSONString

type RevokeUseCountNotFound

type RevokeUseCountNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RevokeUseCountNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewRevokeUseCountNotFound

func NewRevokeUseCountNotFound() *RevokeUseCountNotFound

NewRevokeUseCountNotFound creates a RevokeUseCountNotFound with default headers values

func (*RevokeUseCountNotFound) Error

func (o *RevokeUseCountNotFound) Error() string

func (*RevokeUseCountNotFound) GetPayload

func (*RevokeUseCountNotFound) ToJSONString

func (o *RevokeUseCountNotFound) ToJSONString() string

type RevokeUseCountOK

type RevokeUseCountOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

RevokeUseCountOK handles this case with default header values.

successful operation

func NewRevokeUseCountOK

func NewRevokeUseCountOK() *RevokeUseCountOK

NewRevokeUseCountOK creates a RevokeUseCountOK with default headers values

func (*RevokeUseCountOK) Error

func (o *RevokeUseCountOK) Error() string

func (*RevokeUseCountOK) GetPayload

func (*RevokeUseCountOK) ToJSONString

func (o *RevokeUseCountOK) ToJSONString() string

type RevokeUseCountParams

type RevokeUseCountParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

RevokeUseCountParams contains all the parameters to send to the API endpoint for the revoke use count operation typically these are written to a http.Request

func NewRevokeUseCountParams

func NewRevokeUseCountParams() *RevokeUseCountParams

NewRevokeUseCountParams creates a new RevokeUseCountParams object with the default values initialized.

func NewRevokeUseCountParamsWithContext

func NewRevokeUseCountParamsWithContext(ctx context.Context) *RevokeUseCountParams

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

func NewRevokeUseCountParamsWithHTTPClient

func NewRevokeUseCountParamsWithHTTPClient(client *http.Client) *RevokeUseCountParams

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

func NewRevokeUseCountParamsWithTimeout

func NewRevokeUseCountParamsWithTimeout(timeout time.Duration) *RevokeUseCountParams

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

func (*RevokeUseCountParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke use count params

func (*RevokeUseCountParams) SetBody

SetBody adds the body to the revoke use count params

func (*RevokeUseCountParams) SetContext

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

SetContext adds the context to the revoke use count params

func (*RevokeUseCountParams) SetEntitlementID

func (o *RevokeUseCountParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke use count params

func (*RevokeUseCountParams) SetFlightId

func (o *RevokeUseCountParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeUseCountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke use count params

func (*RevokeUseCountParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the revoke use count params

func (*RevokeUseCountParams) SetNamespace

func (o *RevokeUseCountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke use count params

func (*RevokeUseCountParams) SetTimeout

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

SetTimeout adds the timeout to the revoke use count params

func (*RevokeUseCountParams) SetUserID

func (o *RevokeUseCountParams) SetUserID(userID string)

SetUserID adds the userId to the revoke use count params

func (*RevokeUseCountParams) WithBody

WithBody adds the body to the revoke use count params

func (*RevokeUseCountParams) WithContext

WithContext adds the context to the revoke use count params

func (*RevokeUseCountParams) WithEntitlementID

func (o *RevokeUseCountParams) WithEntitlementID(entitlementID string) *RevokeUseCountParams

WithEntitlementID adds the entitlementID to the revoke use count params

func (*RevokeUseCountParams) WithHTTPClient

func (o *RevokeUseCountParams) WithHTTPClient(client *http.Client) *RevokeUseCountParams

WithHTTPClient adds the HTTPClient to the revoke use count params

func (*RevokeUseCountParams) WithNamespace

func (o *RevokeUseCountParams) WithNamespace(namespace string) *RevokeUseCountParams

WithNamespace adds the namespace to the revoke use count params

func (*RevokeUseCountParams) WithTimeout

func (o *RevokeUseCountParams) WithTimeout(timeout time.Duration) *RevokeUseCountParams

WithTimeout adds the timeout to the revoke use count params

func (*RevokeUseCountParams) WithUserID

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

WithUserID adds the userID to the revoke use count params

func (*RevokeUseCountParams) WriteToRequest

func (o *RevokeUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RevokeUseCountReader

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

RevokeUseCountReader is a Reader for the RevokeUseCount structure.

func (*RevokeUseCountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeUserEntitlementByUseCountNotFound

type RevokeUserEntitlementByUseCountNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RevokeUserEntitlementByUseCountNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewRevokeUserEntitlementByUseCountNotFound

func NewRevokeUserEntitlementByUseCountNotFound() *RevokeUserEntitlementByUseCountNotFound

NewRevokeUserEntitlementByUseCountNotFound creates a RevokeUserEntitlementByUseCountNotFound with default headers values

func (*RevokeUserEntitlementByUseCountNotFound) Error

func (*RevokeUserEntitlementByUseCountNotFound) GetPayload

func (*RevokeUserEntitlementByUseCountNotFound) ToJSONString

type RevokeUserEntitlementByUseCountOK

type RevokeUserEntitlementByUseCountOK struct {
	Payload *platformclientmodels.EntitlementIfc
}

RevokeUserEntitlementByUseCountOK handles this case with default header values.

successful operation

func NewRevokeUserEntitlementByUseCountOK

func NewRevokeUserEntitlementByUseCountOK() *RevokeUserEntitlementByUseCountOK

NewRevokeUserEntitlementByUseCountOK creates a RevokeUserEntitlementByUseCountOK with default headers values

func (*RevokeUserEntitlementByUseCountOK) Error

func (*RevokeUserEntitlementByUseCountOK) GetPayload

func (*RevokeUserEntitlementByUseCountOK) ToJSONString

func (o *RevokeUserEntitlementByUseCountOK) ToJSONString() string

type RevokeUserEntitlementByUseCountParams

type RevokeUserEntitlementByUseCountParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

RevokeUserEntitlementByUseCountParams contains all the parameters to send to the API endpoint for the revoke user entitlement by use count operation typically these are written to a http.Request

func NewRevokeUserEntitlementByUseCountParams

func NewRevokeUserEntitlementByUseCountParams() *RevokeUserEntitlementByUseCountParams

NewRevokeUserEntitlementByUseCountParams creates a new RevokeUserEntitlementByUseCountParams object with the default values initialized.

func NewRevokeUserEntitlementByUseCountParamsWithContext

func NewRevokeUserEntitlementByUseCountParamsWithContext(ctx context.Context) *RevokeUserEntitlementByUseCountParams

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

func NewRevokeUserEntitlementByUseCountParamsWithHTTPClient

func NewRevokeUserEntitlementByUseCountParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementByUseCountParams

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

func NewRevokeUserEntitlementByUseCountParamsWithTimeout

func NewRevokeUserEntitlementByUseCountParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementByUseCountParams

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

func (*RevokeUserEntitlementByUseCountParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetBody

SetBody adds the body to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetContext

SetContext adds the context to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetEntitlementID

func (o *RevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetFlightId

func (o *RevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeUserEntitlementByUseCountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetNamespace

func (o *RevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetTimeout

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

SetTimeout adds the timeout to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetUserID

func (o *RevokeUserEntitlementByUseCountParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithBody

WithBody adds the body to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithContext

WithContext adds the context to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithNamespace

WithNamespace adds the namespace to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithTimeout

WithTimeout adds the timeout to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithUserID

WithUserID adds the userID to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeUserEntitlementByUseCountReader

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

RevokeUserEntitlementByUseCountReader is a Reader for the RevokeUserEntitlementByUseCount structure.

func (*RevokeUserEntitlementByUseCountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type 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

func (*RevokeUserEntitlementNotFound) ToJSONString

func (o *RevokeUserEntitlementNotFound) ToJSONString() string

type RevokeUserEntitlementOK

type RevokeUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

RevokeUserEntitlementOK handles this case with default header values.

successful operation

func NewRevokeUserEntitlementOK

func NewRevokeUserEntitlementOK() *RevokeUserEntitlementOK

NewRevokeUserEntitlementOK creates a RevokeUserEntitlementOK with default headers values

func (*RevokeUserEntitlementOK) Error

func (o *RevokeUserEntitlementOK) Error() string

func (*RevokeUserEntitlementOK) GetPayload

func (*RevokeUserEntitlementOK) ToJSONString

func (o *RevokeUserEntitlementOK) ToJSONString() string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewRevokeUserEntitlementParams

func NewRevokeUserEntitlementParams() *RevokeUserEntitlementParams

NewRevokeUserEntitlementParams creates a new RevokeUserEntitlementParams object with the default values initialized.

func NewRevokeUserEntitlementParamsWithContext

func NewRevokeUserEntitlementParamsWithContext(ctx context.Context) *RevokeUserEntitlementParams

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

func NewRevokeUserEntitlementParamsWithHTTPClient

func NewRevokeUserEntitlementParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementParams

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

func NewRevokeUserEntitlementParamsWithTimeout

func NewRevokeUserEntitlementParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementParams

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

func (*RevokeUserEntitlementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetContext

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

SetContext adds the context to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetEntitlementID

func (o *RevokeUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetFlightId

func (o *RevokeUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeUserEntitlementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetHTTPClientTransport

func (o *RevokeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetNamespace

func (o *RevokeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetTimeout

func (o *RevokeUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetUserID

func (o *RevokeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlement params

func (*RevokeUserEntitlementParams) 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

func (*RevokeUserEntitlementsOK) ToJSONString

func (o *RevokeUserEntitlementsOK) ToJSONString() string

type RevokeUserEntitlementsParams

type RevokeUserEntitlementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string
	/*EntitlementIds
	  separate multiple value by commas parameter.

	*/
	EntitlementIds string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

RevokeUserEntitlementsParams contains all the parameters to send to the API endpoint for the revoke user entitlements operation typically these are written to a http.Request

func NewRevokeUserEntitlementsParams

func NewRevokeUserEntitlementsParams() *RevokeUserEntitlementsParams

NewRevokeUserEntitlementsParams creates a new RevokeUserEntitlementsParams object with the default values initialized.

func NewRevokeUserEntitlementsParamsWithContext

func NewRevokeUserEntitlementsParamsWithContext(ctx context.Context) *RevokeUserEntitlementsParams

NewRevokeUserEntitlementsParamsWithContext creates a new RevokeUserEntitlementsParams object with the default values initialized, and the ability to set a context for a request

func NewRevokeUserEntitlementsParamsWithHTTPClient

func NewRevokeUserEntitlementsParamsWithHTTPClient(client *http.Client) *RevokeUserEntitlementsParams

NewRevokeUserEntitlementsParamsWithHTTPClient creates a new RevokeUserEntitlementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRevokeUserEntitlementsParamsWithTimeout

func NewRevokeUserEntitlementsParamsWithTimeout(timeout time.Duration) *RevokeUserEntitlementsParams

NewRevokeUserEntitlementsParamsWithTimeout creates a new RevokeUserEntitlementsParams object with the default values initialized, and the ability to set a timeout on a request

func (*RevokeUserEntitlementsParams) SetAuthInfoWriter

func (o *RevokeUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetContext

func (o *RevokeUserEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetEntitlementIds

func (o *RevokeUserEntitlementsParams) SetEntitlementIds(entitlementIds string)

SetEntitlementIds adds the entitlementIds to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetFlightId

func (o *RevokeUserEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeUserEntitlementsParams) SetHTTPClient

func (o *RevokeUserEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetHTTPClientTransport

func (o *RevokeUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetNamespace

func (o *RevokeUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetTimeout

func (o *RevokeUserEntitlementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetUserID

func (o *RevokeUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithContext

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 SellUserEntitlementConflict

type SellUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

SellUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31171</td><td>Entitlement [{entitlementId}] already revoked</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>31174</td><td>Entitlement [{entitlementId}] already consumed</td></tr><tr><td>31176</td><td>Entitlement [{entitlementId}] use count is insufficient</td></tr><tr><td>31178</td><td>Entitlement [{entitlementId}] out of time range</td></tr><tr><td>31180</td><td>Duplicate request id: [{requestId}]</td></tr><tr><td>31181</td><td>Entitlement [{entitlementId}] is not sellable</td></tr><tr><td>31182</td><td>Entitlement [{entitlementId}] already sold</td></tr><tr><td>31183</td><td>Entitlement [{entitlementId}] origin [{origin}] not allowed be operated at [{platform}]</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewSellUserEntitlementConflict

func NewSellUserEntitlementConflict() *SellUserEntitlementConflict

NewSellUserEntitlementConflict creates a SellUserEntitlementConflict with default headers values

func (*SellUserEntitlementConflict) Error

func (*SellUserEntitlementConflict) GetPayload

func (*SellUserEntitlementConflict) ToJSONString

func (o *SellUserEntitlementConflict) ToJSONString() string

type SellUserEntitlementNotFound

type SellUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

SellUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewSellUserEntitlementNotFound

func NewSellUserEntitlementNotFound() *SellUserEntitlementNotFound

NewSellUserEntitlementNotFound creates a SellUserEntitlementNotFound with default headers values

func (*SellUserEntitlementNotFound) Error

func (*SellUserEntitlementNotFound) GetPayload

func (*SellUserEntitlementNotFound) ToJSONString

func (o *SellUserEntitlementNotFound) ToJSONString() string

type SellUserEntitlementOK

type SellUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementSoldResult
}

SellUserEntitlementOK handles this case with default header values.

successful operation

func NewSellUserEntitlementOK

func NewSellUserEntitlementOK() *SellUserEntitlementOK

NewSellUserEntitlementOK creates a SellUserEntitlementOK with default headers values

func (*SellUserEntitlementOK) Error

func (o *SellUserEntitlementOK) Error() string

func (*SellUserEntitlementOK) GetPayload

func (*SellUserEntitlementOK) ToJSONString

func (o *SellUserEntitlementOK) ToJSONString() string

type SellUserEntitlementParams

type SellUserEntitlementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.AdminEntitlementSoldRequest
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

SellUserEntitlementParams contains all the parameters to send to the API endpoint for the sell user entitlement operation typically these are written to a http.Request

func NewSellUserEntitlementParams

func NewSellUserEntitlementParams() *SellUserEntitlementParams

NewSellUserEntitlementParams creates a new SellUserEntitlementParams object with the default values initialized.

func NewSellUserEntitlementParamsWithContext

func NewSellUserEntitlementParamsWithContext(ctx context.Context) *SellUserEntitlementParams

NewSellUserEntitlementParamsWithContext creates a new SellUserEntitlementParams object with the default values initialized, and the ability to set a context for a request

func NewSellUserEntitlementParamsWithHTTPClient

func NewSellUserEntitlementParamsWithHTTPClient(client *http.Client) *SellUserEntitlementParams

NewSellUserEntitlementParamsWithHTTPClient creates a new SellUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSellUserEntitlementParamsWithTimeout

func NewSellUserEntitlementParamsWithTimeout(timeout time.Duration) *SellUserEntitlementParams

NewSellUserEntitlementParamsWithTimeout creates a new SellUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request

func (*SellUserEntitlementParams) SetAuthInfoWriter

func (o *SellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the sell user entitlement params

func (*SellUserEntitlementParams) SetBody

SetBody adds the body to the sell user entitlement params

func (*SellUserEntitlementParams) SetContext

func (o *SellUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the sell user entitlement params

func (*SellUserEntitlementParams) SetEntitlementID

func (o *SellUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the sell user entitlement params

func (*SellUserEntitlementParams) SetFlightId

func (o *SellUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*SellUserEntitlementParams) SetHTTPClient

func (o *SellUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sell user entitlement params

func (*SellUserEntitlementParams) SetHTTPClientTransport

func (o *SellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the sell user entitlement params

func (*SellUserEntitlementParams) SetNamespace

func (o *SellUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the sell user entitlement params

func (*SellUserEntitlementParams) SetTimeout

func (o *SellUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sell user entitlement params

func (*SellUserEntitlementParams) SetUserID

func (o *SellUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the sell user entitlement params

func (*SellUserEntitlementParams) WithBody

WithBody adds the body to the sell user entitlement params

func (*SellUserEntitlementParams) WithContext

WithContext adds the context to the sell user entitlement params

func (*SellUserEntitlementParams) WithEntitlementID

func (o *SellUserEntitlementParams) WithEntitlementID(entitlementID string) *SellUserEntitlementParams

WithEntitlementID adds the entitlementID to the sell user entitlement params

func (*SellUserEntitlementParams) WithHTTPClient

func (o *SellUserEntitlementParams) WithHTTPClient(client *http.Client) *SellUserEntitlementParams

WithHTTPClient adds the HTTPClient to the sell user entitlement params

func (*SellUserEntitlementParams) WithNamespace

func (o *SellUserEntitlementParams) WithNamespace(namespace string) *SellUserEntitlementParams

WithNamespace adds the namespace to the sell user entitlement params

func (*SellUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the sell user entitlement params

func (*SellUserEntitlementParams) WithUserID

WithUserID adds the userID to the sell user entitlement params

func (*SellUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SellUserEntitlementReader

type SellUserEntitlementReader struct {
	// contains filtered or unexported fields
}

SellUserEntitlementReader is a Reader for the SellUserEntitlement structure.

func (*SellUserEntitlementReader) ReadResponse

func (o *SellUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePlatformEntitlementConfigNotFound

type UpdatePlatformEntitlementConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdatePlatformEntitlementConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31147</td><td>Origin [Steam] and System need exist in allowPlatformOrigin</td></tr></table>

func NewUpdatePlatformEntitlementConfigNotFound

func NewUpdatePlatformEntitlementConfigNotFound() *UpdatePlatformEntitlementConfigNotFound

NewUpdatePlatformEntitlementConfigNotFound creates a UpdatePlatformEntitlementConfigNotFound with default headers values

func (*UpdatePlatformEntitlementConfigNotFound) Error

func (*UpdatePlatformEntitlementConfigNotFound) GetPayload

func (*UpdatePlatformEntitlementConfigNotFound) ToJSONString

type UpdatePlatformEntitlementConfigOK

type UpdatePlatformEntitlementConfigOK struct {
	Payload *platformclientmodels.EntitlementPlatformConfigInfo
}

UpdatePlatformEntitlementConfigOK handles this case with default header values.

successful operation

func NewUpdatePlatformEntitlementConfigOK

func NewUpdatePlatformEntitlementConfigOK() *UpdatePlatformEntitlementConfigOK

NewUpdatePlatformEntitlementConfigOK creates a UpdatePlatformEntitlementConfigOK with default headers values

func (*UpdatePlatformEntitlementConfigOK) Error

func (*UpdatePlatformEntitlementConfigOK) GetPayload

func (*UpdatePlatformEntitlementConfigOK) ToJSONString

func (o *UpdatePlatformEntitlementConfigOK) ToJSONString() string

type UpdatePlatformEntitlementConfigParams

type UpdatePlatformEntitlementConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.EntitlementPlatformConfigUpdate
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Platform*/
	Platform string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdatePlatformEntitlementConfigParams contains all the parameters to send to the API endpoint for the update platform entitlement config operation typically these are written to a http.Request

func NewUpdatePlatformEntitlementConfigParams

func NewUpdatePlatformEntitlementConfigParams() *UpdatePlatformEntitlementConfigParams

NewUpdatePlatformEntitlementConfigParams creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized.

func NewUpdatePlatformEntitlementConfigParamsWithContext

func NewUpdatePlatformEntitlementConfigParamsWithContext(ctx context.Context) *UpdatePlatformEntitlementConfigParams

NewUpdatePlatformEntitlementConfigParamsWithContext creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatePlatformEntitlementConfigParamsWithHTTPClient

func NewUpdatePlatformEntitlementConfigParamsWithHTTPClient(client *http.Client) *UpdatePlatformEntitlementConfigParams

NewUpdatePlatformEntitlementConfigParamsWithHTTPClient creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatePlatformEntitlementConfigParamsWithTimeout

func NewUpdatePlatformEntitlementConfigParamsWithTimeout(timeout time.Duration) *UpdatePlatformEntitlementConfigParams

NewUpdatePlatformEntitlementConfigParamsWithTimeout creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatePlatformEntitlementConfigParams) SetAuthInfoWriter

func (o *UpdatePlatformEntitlementConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetBody

SetBody adds the body to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetContext

SetContext adds the context to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetFlightId

func (o *UpdatePlatformEntitlementConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdatePlatformEntitlementConfigParams) SetHTTPClient

func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport

func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetNamespace

func (o *UpdatePlatformEntitlementConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetPlatform

func (o *UpdatePlatformEntitlementConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetTimeout

func (o *UpdatePlatformEntitlementConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithBody

WithBody adds the body to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithContext

WithContext adds the context to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithNamespace

WithNamespace adds the namespace to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithPlatform

WithPlatform adds the platform to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithTimeout

WithTimeout adds the timeout to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePlatformEntitlementConfigReader

type UpdatePlatformEntitlementConfigReader struct {
	// contains filtered or unexported fields
}

UpdatePlatformEntitlementConfigReader is a Reader for the UpdatePlatformEntitlementConfig structure.

func (*UpdatePlatformEntitlementConfigReader) ReadResponse

func (o *UpdatePlatformEntitlementConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type 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

func (*UpdateUserEntitlementConflict) ToJSONString

func (o *UpdateUserEntitlementConflict) ToJSONString() string

type UpdateUserEntitlementNotFound

type UpdateUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateUserEntitlementNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31141</td><td>Entitlement [{entitlementId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateUserEntitlementNotFound

func NewUpdateUserEntitlementNotFound() *UpdateUserEntitlementNotFound

NewUpdateUserEntitlementNotFound creates a UpdateUserEntitlementNotFound with default headers values

func (*UpdateUserEntitlementNotFound) Error

func (*UpdateUserEntitlementNotFound) GetPayload

func (*UpdateUserEntitlementNotFound) ToJSONString

func (o *UpdateUserEntitlementNotFound) ToJSONString() string

type UpdateUserEntitlementOK

type UpdateUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

UpdateUserEntitlementOK handles this case with default header values.

successful operation

func NewUpdateUserEntitlementOK

func NewUpdateUserEntitlementOK() *UpdateUserEntitlementOK

NewUpdateUserEntitlementOK creates a UpdateUserEntitlementOK with default headers values

func (*UpdateUserEntitlementOK) Error

func (o *UpdateUserEntitlementOK) Error() string

func (*UpdateUserEntitlementOK) GetPayload

func (*UpdateUserEntitlementOK) ToJSONString

func (o *UpdateUserEntitlementOK) ToJSONString() string

type UpdateUserEntitlementParams

type UpdateUserEntitlementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.EntitlementUpdate
	/*EntitlementID*/
	EntitlementID string
	/*Namespace*/
	Namespace string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateUserEntitlementParams contains all the parameters to send to the API endpoint for the update user entitlement operation typically these are written to a http.Request

func NewUpdateUserEntitlementParams

func NewUpdateUserEntitlementParams() *UpdateUserEntitlementParams

NewUpdateUserEntitlementParams creates a new UpdateUserEntitlementParams object with the default values initialized.

func NewUpdateUserEntitlementParamsWithContext

func NewUpdateUserEntitlementParamsWithContext(ctx context.Context) *UpdateUserEntitlementParams

NewUpdateUserEntitlementParamsWithContext creates a new UpdateUserEntitlementParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateUserEntitlementParamsWithHTTPClient

func NewUpdateUserEntitlementParamsWithHTTPClient(client *http.Client) *UpdateUserEntitlementParams

NewUpdateUserEntitlementParamsWithHTTPClient creates a new UpdateUserEntitlementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateUserEntitlementParamsWithTimeout

func NewUpdateUserEntitlementParamsWithTimeout(timeout time.Duration) *UpdateUserEntitlementParams

NewUpdateUserEntitlementParamsWithTimeout creates a new UpdateUserEntitlementParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateUserEntitlementParams) SetAuthInfoWriter

func (o *UpdateUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update user entitlement params

func (*UpdateUserEntitlementParams) SetBody

SetBody adds the body to the update user entitlement params

func (*UpdateUserEntitlementParams) SetContext

func (o *UpdateUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the update user entitlement params

func (*UpdateUserEntitlementParams) SetEntitlementID

func (o *UpdateUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the update user entitlement params

func (*UpdateUserEntitlementParams) SetFlightId

func (o *UpdateUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateUserEntitlementParams) SetHTTPClient

func (o *UpdateUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update user entitlement params

func (*UpdateUserEntitlementParams) SetHTTPClientTransport

func (o *UpdateUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update user entitlement params

func (*UpdateUserEntitlementParams) SetNamespace

func (o *UpdateUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user entitlement params

func (*UpdateUserEntitlementParams) SetTimeout

func (o *UpdateUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update user entitlement params

func (*UpdateUserEntitlementParams) SetUserID

func (o *UpdateUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the update user entitlement params

func (*UpdateUserEntitlementParams) WithBody

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

func (*UpdateUserEntitlementUnprocessableEntity) ToJSONString

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL