entitlement

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 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 (
	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 added in v0.8.0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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. Other detail info:

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

func (*Client) GrantEntitlementsShort added in v0.43.0

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. 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. Other detail info:

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

func (*Client) GrantUserEntitlementShort added in v0.8.0

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

GrantUserEntitlementShort grant user entitlement Grant user entitlement. Other detail info:

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

func (*Client) PreCheckRevokeUserEntitlementByUseCount deprecated added in v0.60.0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func NewConsumeUserEntitlementBadRequest() *ConsumeUserEntitlementBadRequest

NewConsumeUserEntitlementBadRequest creates a ConsumeUserEntitlementBadRequest with default headers values

func (*ConsumeUserEntitlementBadRequest) Error added in v0.44.0

func (*ConsumeUserEntitlementBadRequest) GetPayload added in v0.44.0

func (*ConsumeUserEntitlementBadRequest) ToJSONString added in v0.44.0

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

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetBody

SetBody adds the body to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetContext

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

SetContext adds the context to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetEntitlementID

func (o *ConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetFlightId added in v0.63.0

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

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

SetHTTPClient adds the HTTPClient Transport to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetNamespace

func (o *ConsumeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the consume user entitlement params

func (*ConsumeUserEntitlementParams) SetUserID

func (o *ConsumeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithBody

WithBody adds the body to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithContext

WithContext adds the context to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithEntitlementID

func (o *ConsumeUserEntitlementParams) WithEntitlementID(entitlementID string) *ConsumeUserEntitlementParams

WithEntitlementID adds the entitlementID to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WithUserID

WithUserID adds the userID to the consume user entitlement params

func (*ConsumeUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConsumeUserEntitlementReader

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

ConsumeUserEntitlementReader is a Reader for the ConsumeUserEntitlement structure.

func (*ConsumeUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableUserEntitlementConflict

type DisableUserEntitlementConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DisableUserEntitlementConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>31172</td><td>Entitlement [{entitlementId}] not active</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewDisableUserEntitlementConflict

func NewDisableUserEntitlementConflict() *DisableUserEntitlementConflict

NewDisableUserEntitlementConflict creates a DisableUserEntitlementConflict with default headers values

func (*DisableUserEntitlementConflict) Error

func (*DisableUserEntitlementConflict) GetPayload

func (*DisableUserEntitlementConflict) ToJSONString added in v0.25.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the disable user entitlement params

func (*DisableUserEntitlementParams) SetContext

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

SetContext adds the context to the disable user entitlement params

func (*DisableUserEntitlementParams) SetEntitlementID

func (o *DisableUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the disable user entitlement params

func (*DisableUserEntitlementParams) SetFlightId added in v0.63.0

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

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

SetHTTPClient adds the HTTPClient Transport to the disable user entitlement params

func (*DisableUserEntitlementParams) SetNamespace

func (o *DisableUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the disable user entitlement params

func (*DisableUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the disable user entitlement params

func (*DisableUserEntitlementParams) SetUserID

func (o *DisableUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the disable user entitlement params

func (*DisableUserEntitlementParams) WithContext

WithContext adds the context to the disable user entitlement params

func (*DisableUserEntitlementParams) WithEntitlementID

func (o *DisableUserEntitlementParams) WithEntitlementID(entitlementID string) *DisableUserEntitlementParams

WithEntitlementID adds the entitlementID to the disable user entitlement params

func (*DisableUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disable user entitlement params

func (*DisableUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the disable user entitlement params

func (*DisableUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the disable user entitlement params

func (*DisableUserEntitlementParams) WithUserID

WithUserID adds the userID to the disable user entitlement params

func (*DisableUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisableUserEntitlementReader

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

DisableUserEntitlementReader is a Reader for the DisableUserEntitlement structure.

func (*DisableUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableEntitlementOriginFeatureOK added in v0.61.0

type EnableEntitlementOriginFeatureOK struct {
	Payload *platformclientmodels.EntitlementConfigInfo
}

EnableEntitlementOriginFeatureOK handles this case with default header values.

successful operation

func NewEnableEntitlementOriginFeatureOK added in v0.61.0

func NewEnableEntitlementOriginFeatureOK() *EnableEntitlementOriginFeatureOK

NewEnableEntitlementOriginFeatureOK creates a EnableEntitlementOriginFeatureOK with default headers values

func (*EnableEntitlementOriginFeatureOK) Error added in v0.61.0

func (*EnableEntitlementOriginFeatureOK) GetPayload added in v0.61.0

func (*EnableEntitlementOriginFeatureOK) ToJSONString added in v0.61.0

func (o *EnableEntitlementOriginFeatureOK) ToJSONString() string

type EnableEntitlementOriginFeatureParams added in v0.61.0

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

func NewEnableEntitlementOriginFeatureParams() *EnableEntitlementOriginFeatureParams

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

func NewEnableEntitlementOriginFeatureParamsWithContext added in v0.61.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetContext added in v0.61.0

SetContext adds the context to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetFlightId added in v0.63.0

func (o *EnableEntitlementOriginFeatureParams) SetFlightId(flightId string)

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

func (*EnableEntitlementOriginFeatureParams) SetHTTPClient added in v0.61.0

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

SetHTTPClient adds the HTTPClient to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetHTTPClientTransport added in v0.61.0

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

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

func (*EnableEntitlementOriginFeatureParams) SetNamespace added in v0.61.0

func (o *EnableEntitlementOriginFeatureParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) SetTimeout added in v0.61.0

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

SetTimeout adds the timeout to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithContext added in v0.61.0

WithContext adds the context to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithHTTPClient added in v0.61.0

WithHTTPClient adds the HTTPClient to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithNamespace added in v0.61.0

WithNamespace adds the namespace to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WithTimeout added in v0.61.0

WithTimeout adds the timeout to the enable entitlement origin feature params

func (*EnableEntitlementOriginFeatureParams) WriteToRequest added in v0.61.0

WriteToRequest writes these params to a swagger request

type EnableEntitlementOriginFeatureReader added in v0.61.0

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

EnableEntitlementOriginFeatureReader is a Reader for the EnableEntitlementOriginFeature structure.

func (*EnableEntitlementOriginFeatureReader) ReadResponse added in v0.61.0

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

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the enable user entitlement params

func (*EnableUserEntitlementParams) SetContext

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

SetContext adds the context to the enable user entitlement params

func (*EnableUserEntitlementParams) SetEntitlementID

func (o *EnableUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the enable user entitlement params

func (*EnableUserEntitlementParams) SetFlightId added in v0.63.0

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

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

SetHTTPClient adds the HTTPClient Transport to the enable user entitlement params

func (*EnableUserEntitlementParams) SetNamespace

func (o *EnableUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable user entitlement params

func (*EnableUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the enable user entitlement params

func (*EnableUserEntitlementParams) SetUserID

func (o *EnableUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the enable user entitlement params

func (*EnableUserEntitlementParams) WithContext

WithContext adds the context to the enable user entitlement params

func (*EnableUserEntitlementParams) WithEntitlementID

func (o *EnableUserEntitlementParams) WithEntitlementID(entitlementID string) *EnableUserEntitlementParams

WithEntitlementID adds the entitlementID to the enable user entitlement params

func (*EnableUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable user entitlement params

func (*EnableUserEntitlementParams) WithNamespace

func (o *EnableUserEntitlementParams) WithNamespace(namespace string) *EnableUserEntitlementParams

WithNamespace adds the namespace to the enable user entitlement params

func (*EnableUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the enable user entitlement params

func (*EnableUserEntitlementParams) WithUserID

WithUserID adds the userID to the enable user entitlement params

func (*EnableUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableUserEntitlementReader

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

EnableUserEntitlementReader is a Reader for the EnableUserEntitlement structure.

func (*EnableUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExistsAnyUserActiveEntitlementByItemIdsOK

type ExistsAnyUserActiveEntitlementByItemIdsOK struct {
	Payload *platformclientmodels.Ownership
}

ExistsAnyUserActiveEntitlementByItemIdsOK handles this case with default header values.

successful operation

func NewExistsAnyUserActiveEntitlementByItemIdsOK

func NewExistsAnyUserActiveEntitlementByItemIdsOK() *ExistsAnyUserActiveEntitlementByItemIdsOK

NewExistsAnyUserActiveEntitlementByItemIdsOK creates a ExistsAnyUserActiveEntitlementByItemIdsOK with default headers values

func (*ExistsAnyUserActiveEntitlementByItemIdsOK) Error

func (*ExistsAnyUserActiveEntitlementByItemIdsOK) GetPayload

func (*ExistsAnyUserActiveEntitlementByItemIdsOK) ToJSONString added in v0.25.0

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

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetContext

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetFlightId added in v0.63.0

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

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetItemIds

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

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace

func (o *ExistsAnyUserActiveEntitlementByItemIdsParams) SetNamespace(namespace string)

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

func (*ExistsAnyUserActiveEntitlementByItemIdsParams) SetPlatform added in v0.61.0

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

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

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

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetContext

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

func (*ExistsAnyUserActiveEntitlementParams) SetFlightId added in v0.63.0

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

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetItemIds

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

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

func (*ExistsAnyUserActiveEntitlementParams) SetNamespace

func (o *ExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)

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

func (*ExistsAnyUserActiveEntitlementParams) SetPlatform added in v0.61.0

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

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

type GetEntitlementConfigInfoOK struct {
	Payload *platformclientmodels.EntitlementConfigInfo
}

GetEntitlementConfigInfoOK handles this case with default header values.

successful operation

func NewGetEntitlementConfigInfoOK added in v0.61.0

func NewGetEntitlementConfigInfoOK() *GetEntitlementConfigInfoOK

NewGetEntitlementConfigInfoOK creates a GetEntitlementConfigInfoOK with default headers values

func (*GetEntitlementConfigInfoOK) Error added in v0.61.0

func (*GetEntitlementConfigInfoOK) GetPayload added in v0.61.0

func (*GetEntitlementConfigInfoOK) ToJSONString added in v0.61.0

func (o *GetEntitlementConfigInfoOK) ToJSONString() string

type GetEntitlementConfigInfoParams added in v0.61.0

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

func NewGetEntitlementConfigInfoParams() *GetEntitlementConfigInfoParams

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

func NewGetEntitlementConfigInfoParamsWithContext added in v0.61.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetContext added in v0.61.0

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

SetContext adds the context to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetFlightId added in v0.63.0

func (o *GetEntitlementConfigInfoParams) SetFlightId(flightId string)

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

func (*GetEntitlementConfigInfoParams) SetHTTPClient added in v0.61.0

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

SetHTTPClient adds the HTTPClient to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetHTTPClientTransport added in v0.61.0

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

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

func (*GetEntitlementConfigInfoParams) SetNamespace added in v0.61.0

func (o *GetEntitlementConfigInfoParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetTimeout added in v0.61.0

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

SetTimeout adds the timeout to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) SetWithoutCache added in v0.61.0

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

SetWithoutCache adds the withoutCache to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithContext added in v0.61.0

WithContext adds the context to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithHTTPClient added in v0.61.0

WithHTTPClient adds the HTTPClient to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithNamespace added in v0.61.0

WithNamespace adds the namespace to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithTimeout added in v0.61.0

WithTimeout adds the timeout to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WithWithoutCache added in v0.61.0

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

WithWithoutCache adds the withoutCache to the get entitlement config info params

func (*GetEntitlementConfigInfoParams) WriteToRequest added in v0.61.0

WriteToRequest writes these params to a swagger request

type GetEntitlementConfigInfoReader added in v0.61.0

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

GetEntitlementConfigInfoReader is a Reader for the GetEntitlementConfigInfo structure.

func (*GetEntitlementConfigInfoReader) ReadResponse added in v0.61.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get entitlement params

func (*GetEntitlementParams) SetContext

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

SetContext adds the context to the get entitlement params

func (*GetEntitlementParams) SetEntitlementID

func (o *GetEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get entitlement params

func (*GetEntitlementParams) SetFlightId added in v0.63.0

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

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

SetHTTPClient adds the HTTPClient Transport to the get entitlement params

func (*GetEntitlementParams) SetNamespace

func (o *GetEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get entitlement params

func (*GetEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the get entitlement params

func (*GetEntitlementParams) WithContext

WithContext adds the context to the get entitlement params

func (*GetEntitlementParams) WithEntitlementID

func (o *GetEntitlementParams) WithEntitlementID(entitlementID string) *GetEntitlementParams

WithEntitlementID adds the entitlementID to the get entitlement params

func (*GetEntitlementParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get entitlement params

func (*GetEntitlementParams) WithNamespace

func (o *GetEntitlementParams) WithNamespace(namespace string) *GetEntitlementParams

WithNamespace adds the namespace to the get entitlement params

func (*GetEntitlementParams) WithTimeout

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

WithTimeout adds the timeout to the get entitlement params

func (*GetEntitlementParams) WriteToRequest

func (o *GetEntitlementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEntitlementReader

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

GetEntitlementReader is a Reader for the GetEntitlement structure.

func (*GetEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlatformEntitlementConfigOK added in v0.61.0

type GetPlatformEntitlementConfigOK struct {
	Payload *platformclientmodels.EntitlementPlatformConfigInfo
}

GetPlatformEntitlementConfigOK handles this case with default header values.

successful operation

func NewGetPlatformEntitlementConfigOK added in v0.61.0

func NewGetPlatformEntitlementConfigOK() *GetPlatformEntitlementConfigOK

NewGetPlatformEntitlementConfigOK creates a GetPlatformEntitlementConfigOK with default headers values

func (*GetPlatformEntitlementConfigOK) Error added in v0.61.0

func (*GetPlatformEntitlementConfigOK) GetPayload added in v0.61.0

func (*GetPlatformEntitlementConfigOK) ToJSONString added in v0.61.0

func (o *GetPlatformEntitlementConfigOK) ToJSONString() string

type GetPlatformEntitlementConfigParams added in v0.61.0

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

func NewGetPlatformEntitlementConfigParams() *GetPlatformEntitlementConfigParams

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

func NewGetPlatformEntitlementConfigParamsWithContext added in v0.61.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetContext added in v0.61.0

SetContext adds the context to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetFlightId added in v0.63.0

func (o *GetPlatformEntitlementConfigParams) SetFlightId(flightId string)

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

func (*GetPlatformEntitlementConfigParams) SetHTTPClient added in v0.61.0

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

SetHTTPClient adds the HTTPClient to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetHTTPClientTransport added in v0.61.0

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

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

func (*GetPlatformEntitlementConfigParams) SetNamespace added in v0.61.0

func (o *GetPlatformEntitlementConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetPlatform added in v0.61.0

func (o *GetPlatformEntitlementConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) SetTimeout added in v0.61.0

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

SetTimeout adds the timeout to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithContext added in v0.61.0

WithContext adds the context to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithHTTPClient added in v0.61.0

WithHTTPClient adds the HTTPClient to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithNamespace added in v0.61.0

WithNamespace adds the namespace to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithPlatform added in v0.61.0

WithPlatform adds the platform to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WithTimeout added in v0.61.0

WithTimeout adds the timeout to the get platform entitlement config params

func (*GetPlatformEntitlementConfigParams) WriteToRequest added in v0.61.0

WriteToRequest writes these params to a swagger request

type GetPlatformEntitlementConfigReader added in v0.61.0

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

GetPlatformEntitlementConfigReader is a Reader for the GetPlatformEntitlementConfig structure.

func (*GetPlatformEntitlementConfigReader) ReadResponse added in v0.61.0

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

ReadResponse reads a server response into the received o.

type GetUserActiveEntitlementsByItemIdsOK added in v0.33.0

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

GetUserActiveEntitlementsByItemIdsOK handles this case with default header values.

successful operation

func NewGetUserActiveEntitlementsByItemIdsOK added in v0.33.0

func NewGetUserActiveEntitlementsByItemIdsOK() *GetUserActiveEntitlementsByItemIdsOK

NewGetUserActiveEntitlementsByItemIdsOK creates a GetUserActiveEntitlementsByItemIdsOK with default headers values

func (*GetUserActiveEntitlementsByItemIdsOK) Error added in v0.33.0

func (*GetUserActiveEntitlementsByItemIdsOK) GetPayload added in v0.33.0

func (*GetUserActiveEntitlementsByItemIdsOK) ToJSONString added in v0.33.0

func (o *GetUserActiveEntitlementsByItemIdsOK) ToJSONString() string

type GetUserActiveEntitlementsByItemIdsParams added in v0.33.0

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

func NewGetUserActiveEntitlementsByItemIdsParams() *GetUserActiveEntitlementsByItemIdsParams

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

func NewGetUserActiveEntitlementsByItemIdsParamsWithContext added in v0.33.0

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

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

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

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

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetContext added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetFlightId added in v0.63.0

func (o *GetUserActiveEntitlementsByItemIdsParams) SetFlightId(flightId string)

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetHTTPClient added in v0.33.0

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

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetHTTPClientTransport added in v0.33.0

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

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetNamespace added in v0.33.0

func (o *GetUserActiveEntitlementsByItemIdsParams) SetNamespace(namespace string)

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetPlatform added in v0.61.0

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

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetTimeout added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) SetUserID added in v0.33.0

func (o *GetUserActiveEntitlementsByItemIdsParams) SetUserID(userID string)

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithContext added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithHTTPClient added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithIds added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithNamespace added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithPlatform added in v0.61.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithTimeout added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WithUserID added in v0.33.0

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

func (*GetUserActiveEntitlementsByItemIdsParams) WriteToRequest added in v0.33.0

WriteToRequest writes these params to a swagger request

type GetUserActiveEntitlementsByItemIdsReader added in v0.33.0

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

GetUserActiveEntitlementsByItemIdsReader is a Reader for the GetUserActiveEntitlementsByItemIds structure.

func (*GetUserActiveEntitlementsByItemIdsReader) ReadResponse added in v0.33.0

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

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

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

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

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

func (*GetUserAppEntitlementByAppIDParams) SetContext

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

func (*GetUserAppEntitlementByAppIDParams) SetFlightId added in v0.63.0

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

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

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

func (*GetUserAppEntitlementByAppIDParams) SetNamespace

func (o *GetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)

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

func (*GetUserAppEntitlementByAppIDParams) SetTimeout

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

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

func (*GetUserAppEntitlementByAppIDParams) SetUserID

func (o *GetUserAppEntitlementByAppIDParams) SetUserID(userID string)

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

func (*GetUserAppEntitlementByAppIDParams) WithActiveOnly

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

func (*GetUserAppEntitlementByAppIDParams) WithAppID

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

func (*GetUserAppEntitlementByAppIDParams) WithContext

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

func (*GetUserAppEntitlementByAppIDParams) WithHTTPClient

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

func (*GetUserAppEntitlementByAppIDParams) WithNamespace

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

func (*GetUserAppEntitlementByAppIDParams) WithTimeout

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

func (*GetUserAppEntitlementByAppIDParams) WithUserID

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

func (*GetUserAppEntitlementByAppIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAppEntitlementByAppIDReader

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

GetUserAppEntitlementByAppIDReader is a Reader for the GetUserAppEntitlementByAppID structure.

func (*GetUserAppEntitlementByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserAppEntitlementOwnershipByAppIDOK

type GetUserAppEntitlementOwnershipByAppIDOK struct {
	Payload *platformclientmodels.Ownership
}

GetUserAppEntitlementOwnershipByAppIDOK handles this case with default header values.

successful operation

func NewGetUserAppEntitlementOwnershipByAppIDOK

func NewGetUserAppEntitlementOwnershipByAppIDOK() *GetUserAppEntitlementOwnershipByAppIDOK

NewGetUserAppEntitlementOwnershipByAppIDOK creates a GetUserAppEntitlementOwnershipByAppIDOK with default headers values

func (*GetUserAppEntitlementOwnershipByAppIDOK) Error

func (*GetUserAppEntitlementOwnershipByAppIDOK) GetPayload

func (*GetUserAppEntitlementOwnershipByAppIDOK) ToJSONString added in v0.25.0

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

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

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetContext

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetFlightId added in v0.63.0

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

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

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *GetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetTimeout

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) SetUserID

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithAppID

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithContext

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithNamespace

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithTimeout

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WithUserID

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

func (*GetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserAppEntitlementOwnershipByAppIDReader

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

GetUserAppEntitlementOwnershipByAppIDReader is a Reader for the GetUserAppEntitlementOwnershipByAppID structure.

func (*GetUserAppEntitlementOwnershipByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserEntitlementByItemIDNotFound added in v0.7.0

type GetUserEntitlementByItemIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetUserEntitlementByItemIDNotFound handles this case with default header values.

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

func NewGetUserEntitlementByItemIDNotFound added in v0.7.0

func NewGetUserEntitlementByItemIDNotFound() *GetUserEntitlementByItemIDNotFound

NewGetUserEntitlementByItemIDNotFound creates a GetUserEntitlementByItemIDNotFound with default headers values

func (*GetUserEntitlementByItemIDNotFound) Error added in v0.7.0

func (*GetUserEntitlementByItemIDNotFound) GetPayload added in v0.7.0

func (*GetUserEntitlementByItemIDNotFound) ToJSONString added in v0.25.0

func (o *GetUserEntitlementByItemIDNotFound) ToJSONString() string

type GetUserEntitlementByItemIDOK added in v0.7.0

type GetUserEntitlementByItemIDOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

GetUserEntitlementByItemIDOK handles this case with default header values.

successful operation

func NewGetUserEntitlementByItemIDOK added in v0.7.0

func NewGetUserEntitlementByItemIDOK() *GetUserEntitlementByItemIDOK

NewGetUserEntitlementByItemIDOK creates a GetUserEntitlementByItemIDOK with default headers values

func (*GetUserEntitlementByItemIDOK) Error added in v0.7.0

func (*GetUserEntitlementByItemIDOK) GetPayload added in v0.7.0

func (*GetUserEntitlementByItemIDOK) ToJSONString added in v0.25.0

func (o *GetUserEntitlementByItemIDOK) ToJSONString() string

type GetUserEntitlementByItemIDParams added in v0.7.0

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

func NewGetUserEntitlementByItemIDParams() *GetUserEntitlementByItemIDParams

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

func NewGetUserEntitlementByItemIDParamsWithContext added in v0.7.0

func NewGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementByItemIDParams

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

func NewGetUserEntitlementByItemIDParamsWithHTTPClient added in v0.7.0

func NewGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementByItemIDParams

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

func NewGetUserEntitlementByItemIDParamsWithTimeout added in v0.7.0

func NewGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementByItemIDParams

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

func (*GetUserEntitlementByItemIDParams) SetActiveOnly added in v0.7.0

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

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

func (*GetUserEntitlementByItemIDParams) SetAuthInfoWriter added in v0.17.0

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

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

func (*GetUserEntitlementByItemIDParams) SetContext added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) SetEntitlementClazz added in v0.7.0

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

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

func (*GetUserEntitlementByItemIDParams) SetFlightId added in v0.63.0

func (o *GetUserEntitlementByItemIDParams) SetFlightId(flightId string)

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

func (*GetUserEntitlementByItemIDParams) SetHTTPClient added in v0.7.0

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

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

func (*GetUserEntitlementByItemIDParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetUserEntitlementByItemIDParams) SetItemID added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetItemID(itemID string)

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

func (*GetUserEntitlementByItemIDParams) SetNamespace added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementByItemIDParams) SetPlatform added in v0.61.0

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

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

func (*GetUserEntitlementByItemIDParams) SetTimeout added in v0.7.0

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

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

func (*GetUserEntitlementByItemIDParams) SetUserID added in v0.7.0

func (o *GetUserEntitlementByItemIDParams) SetUserID(userID string)

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

func (*GetUserEntitlementByItemIDParams) WithActiveOnly added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WithContext added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WithEntitlementClazz added in v0.7.0

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

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

func (*GetUserEntitlementByItemIDParams) WithHTTPClient added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WithItemID added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WithNamespace added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WithPlatform added in v0.61.0

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

func (*GetUserEntitlementByItemIDParams) WithTimeout added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WithUserID added in v0.7.0

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

func (*GetUserEntitlementByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type GetUserEntitlementByItemIDReader added in v0.7.0

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

GetUserEntitlementByItemIDReader is a Reader for the GetUserEntitlementByItemID structure.

func (*GetUserEntitlementByItemIDReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type GetUserEntitlementBySkuNotFound

type GetUserEntitlementBySkuNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetUserEntitlementBySkuNotFound handles this case with default header values.

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

func NewGetUserEntitlementBySkuNotFound

func NewGetUserEntitlementBySkuNotFound() *GetUserEntitlementBySkuNotFound

NewGetUserEntitlementBySkuNotFound creates a GetUserEntitlementBySkuNotFound with default headers values

func (*GetUserEntitlementBySkuNotFound) Error

func (*GetUserEntitlementBySkuNotFound) GetPayload

func (*GetUserEntitlementBySkuNotFound) ToJSONString added in v0.25.0

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

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

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

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

func (*GetUserEntitlementBySkuParams) SetContext

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

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

func (*GetUserEntitlementBySkuParams) SetEntitlementClazz

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

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

func (*GetUserEntitlementBySkuParams) SetFlightId added in v0.63.0

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

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

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

func (*GetUserEntitlementBySkuParams) SetNamespace

func (o *GetUserEntitlementBySkuParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementBySkuParams) SetPlatform added in v0.61.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetContext

SetContext adds the context to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetEntitlementID

func (o *GetUserEntitlementHistoriesParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetFlightId added in v0.63.0

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

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

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

func (*GetUserEntitlementHistoriesParams) SetNamespace

func (o *GetUserEntitlementHistoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) SetUserID

func (o *GetUserEntitlementHistoriesParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithContext

WithContext adds the context to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithEntitlementID

func (o *GetUserEntitlementHistoriesParams) WithEntitlementID(entitlementID string) *GetUserEntitlementHistoriesParams

WithEntitlementID adds the entitlementID to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithNamespace

WithNamespace adds the namespace to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithTimeout

WithTimeout adds the timeout to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WithUserID

WithUserID adds the userID to the get user entitlement histories params

func (*GetUserEntitlementHistoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEntitlementHistoriesReader

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

GetUserEntitlementHistoriesReader is a Reader for the GetUserEntitlementHistories structure.

func (*GetUserEntitlementHistoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserEntitlementNotFound

type GetUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetUserEntitlementNotFound handles this case with default header values.

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

func NewGetUserEntitlementNotFound

func NewGetUserEntitlementNotFound() *GetUserEntitlementNotFound

NewGetUserEntitlementNotFound creates a GetUserEntitlementNotFound with default headers values

func (*GetUserEntitlementNotFound) Error

func (*GetUserEntitlementNotFound) GetPayload

func (*GetUserEntitlementNotFound) ToJSONString added in v0.25.0

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

func (o *GetUserEntitlementOK) ToJSONString() string

type GetUserEntitlementOwnershipByItemIDOK added in v0.7.0

type GetUserEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

GetUserEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewGetUserEntitlementOwnershipByItemIDOK added in v0.7.0

func NewGetUserEntitlementOwnershipByItemIDOK() *GetUserEntitlementOwnershipByItemIDOK

NewGetUserEntitlementOwnershipByItemIDOK creates a GetUserEntitlementOwnershipByItemIDOK with default headers values

func (*GetUserEntitlementOwnershipByItemIDOK) Error added in v0.7.0

func (*GetUserEntitlementOwnershipByItemIDOK) GetPayload added in v0.7.0

func (*GetUserEntitlementOwnershipByItemIDOK) ToJSONString added in v0.25.0

type GetUserEntitlementOwnershipByItemIDParams added in v0.7.0

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

func NewGetUserEntitlementOwnershipByItemIDParams() *GetUserEntitlementOwnershipByItemIDParams

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

func NewGetUserEntitlementOwnershipByItemIDParamsWithContext added in v0.7.0

func NewGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *GetUserEntitlementOwnershipByItemIDParams

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

func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient added in v0.7.0

func NewGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *GetUserEntitlementOwnershipByItemIDParams

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

func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout added in v0.7.0

func NewGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *GetUserEntitlementOwnershipByItemIDParams

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter added in v0.17.0

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetContext added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz added in v0.7.0

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetFlightId added in v0.63.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClient added in v0.7.0

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetItemID added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetNamespace added in v0.7.0

func (o *GetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetPlatform added in v0.61.0

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

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetTimeout added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) SetUserID added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithContext added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithHTTPClient added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithItemID added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithNamespace added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithPlatform added in v0.61.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithTimeout added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WithUserID added in v0.7.0

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

func (*GetUserEntitlementOwnershipByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type GetUserEntitlementOwnershipByItemIDReader added in v0.7.0

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

GetUserEntitlementOwnershipByItemIDReader is a Reader for the GetUserEntitlementOwnershipByItemID structure.

func (*GetUserEntitlementOwnershipByItemIDReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type GetUserEntitlementOwnershipByItemIdsOK added in v0.24.0

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

GetUserEntitlementOwnershipByItemIdsOK handles this case with default header values.

successful operation

func NewGetUserEntitlementOwnershipByItemIdsOK added in v0.24.0

func NewGetUserEntitlementOwnershipByItemIdsOK() *GetUserEntitlementOwnershipByItemIdsOK

NewGetUserEntitlementOwnershipByItemIdsOK creates a GetUserEntitlementOwnershipByItemIdsOK with default headers values

func (*GetUserEntitlementOwnershipByItemIdsOK) Error added in v0.24.0

func (*GetUserEntitlementOwnershipByItemIdsOK) GetPayload added in v0.24.0

func (*GetUserEntitlementOwnershipByItemIdsOK) ToJSONString added in v0.25.0

type GetUserEntitlementOwnershipByItemIdsParams added in v0.24.0

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

func NewGetUserEntitlementOwnershipByItemIdsParams() *GetUserEntitlementOwnershipByItemIdsParams

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

func NewGetUserEntitlementOwnershipByItemIdsParamsWithContext added in v0.24.0

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

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

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

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetContext added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetFlightId added in v0.63.0

func (o *GetUserEntitlementOwnershipByItemIdsParams) SetFlightId(flightId string)

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient added in v0.24.0

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport added in v0.24.0

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetNamespace added in v0.24.0

func (o *GetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetPlatform added in v0.61.0

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

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetTimeout added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) SetUserID added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithContext added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithIds added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithNamespace added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithPlatform added in v0.61.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithTimeout added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WithUserID added in v0.24.0

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

func (*GetUserEntitlementOwnershipByItemIdsParams) WriteToRequest added in v0.24.0

WriteToRequest writes these params to a swagger request

type GetUserEntitlementOwnershipByItemIdsReader added in v0.24.0

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

GetUserEntitlementOwnershipByItemIdsReader is a Reader for the GetUserEntitlementOwnershipByItemIds structure.

func (*GetUserEntitlementOwnershipByItemIdsReader) ReadResponse added in v0.24.0

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

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

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetContext

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

func (*GetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetFlightId added in v0.63.0

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

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

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

func (*GetUserEntitlementOwnershipBySkuParams) SetNamespace

func (o *GetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*GetUserEntitlementOwnershipBySkuParams) SetPlatform added in v0.61.0

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get user entitlement params

func (*GetUserEntitlementParams) SetContext

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

SetContext adds the context to the get user entitlement params

func (*GetUserEntitlementParams) SetEntitlementID

func (o *GetUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the get user entitlement params

func (*GetUserEntitlementParams) SetFlightId added in v0.63.0

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

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

SetHTTPClient adds the HTTPClient Transport to the get user entitlement params

func (*GetUserEntitlementParams) SetNamespace

func (o *GetUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user entitlement params

func (*GetUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the get user entitlement params

func (*GetUserEntitlementParams) SetUserID

func (o *GetUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the get user entitlement params

func (*GetUserEntitlementParams) WithContext

WithContext adds the context to the get user entitlement params

func (*GetUserEntitlementParams) WithEntitlementID

func (o *GetUserEntitlementParams) WithEntitlementID(entitlementID string) *GetUserEntitlementParams

WithEntitlementID adds the entitlementID to the get user entitlement params

func (*GetUserEntitlementParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user entitlement params

func (*GetUserEntitlementParams) WithNamespace

func (o *GetUserEntitlementParams) WithNamespace(namespace string) *GetUserEntitlementParams

WithNamespace adds the namespace to the get user entitlement params

func (*GetUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the get user entitlement params

func (*GetUserEntitlementParams) WithUserID

WithUserID adds the userID to the get user entitlement params

func (*GetUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserEntitlementReader

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

GetUserEntitlementReader is a Reader for the GetUserEntitlement structure.

func (*GetUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantEntitlementsOK added in v0.43.0

type GrantEntitlementsOK struct {
	Payload *platformclientmodels.BulkEntitlementGrantResult
}

GrantEntitlementsOK handles this case with default header values.

successful operation

func NewGrantEntitlementsOK added in v0.43.0

func NewGrantEntitlementsOK() *GrantEntitlementsOK

NewGrantEntitlementsOK creates a GrantEntitlementsOK with default headers values

func (*GrantEntitlementsOK) Error added in v0.43.0

func (o *GrantEntitlementsOK) Error() string

func (*GrantEntitlementsOK) GetPayload added in v0.43.0

func (*GrantEntitlementsOK) ToJSONString added in v0.43.0

func (o *GrantEntitlementsOK) ToJSONString() string

type GrantEntitlementsParams added in v0.43.0

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

func NewGrantEntitlementsParams() *GrantEntitlementsParams

NewGrantEntitlementsParams creates a new GrantEntitlementsParams object with the default values initialized.

func NewGrantEntitlementsParamsWithContext added in v0.43.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the grant entitlements params

func (*GrantEntitlementsParams) SetBody added in v0.43.0

SetBody adds the body to the grant entitlements params

func (*GrantEntitlementsParams) SetContext added in v0.43.0

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

SetContext adds the context to the grant entitlements params

func (*GrantEntitlementsParams) SetFlightId added in v0.63.0

func (o *GrantEntitlementsParams) SetFlightId(flightId string)

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

func (*GrantEntitlementsParams) SetHTTPClient added in v0.43.0

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

SetHTTPClient adds the HTTPClient to the grant entitlements params

func (*GrantEntitlementsParams) SetHTTPClientTransport added in v0.43.0

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

SetHTTPClient adds the HTTPClient Transport to the grant entitlements params

func (*GrantEntitlementsParams) SetNamespace added in v0.43.0

func (o *GrantEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the grant entitlements params

func (*GrantEntitlementsParams) SetTimeout added in v0.43.0

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

SetTimeout adds the timeout to the grant entitlements params

func (*GrantEntitlementsParams) WithBody added in v0.43.0

WithBody adds the body to the grant entitlements params

func (*GrantEntitlementsParams) WithContext added in v0.43.0

WithContext adds the context to the grant entitlements params

func (*GrantEntitlementsParams) WithHTTPClient added in v0.43.0

func (o *GrantEntitlementsParams) WithHTTPClient(client *http.Client) *GrantEntitlementsParams

WithHTTPClient adds the HTTPClient to the grant entitlements params

func (*GrantEntitlementsParams) WithNamespace added in v0.43.0

func (o *GrantEntitlementsParams) WithNamespace(namespace string) *GrantEntitlementsParams

WithNamespace adds the namespace to the grant entitlements params

func (*GrantEntitlementsParams) WithTimeout added in v0.43.0

WithTimeout adds the timeout to the grant entitlements params

func (*GrantEntitlementsParams) WriteToRequest added in v0.43.0

WriteToRequest writes these params to a swagger request

type GrantEntitlementsReader added in v0.43.0

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

GrantEntitlementsReader is a Reader for the GrantEntitlements structure.

func (*GrantEntitlementsReader) ReadResponse added in v0.43.0

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

ReadResponse reads a server response into the received o.

type GrantEntitlementsUnprocessableEntity added in v0.43.0

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

func NewGrantEntitlementsUnprocessableEntity() *GrantEntitlementsUnprocessableEntity

NewGrantEntitlementsUnprocessableEntity creates a GrantEntitlementsUnprocessableEntity with default headers values

func (*GrantEntitlementsUnprocessableEntity) Error added in v0.43.0

func (*GrantEntitlementsUnprocessableEntity) GetPayload added in v0.43.0

func (*GrantEntitlementsUnprocessableEntity) ToJSONString added in v0.43.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the grant user entitlement params

func (*GrantUserEntitlementParams) SetBody

SetBody adds the body to the grant user entitlement params

func (*GrantUserEntitlementParams) SetContext

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

SetContext adds the context to the grant user entitlement params

func (*GrantUserEntitlementParams) SetFlightId added in v0.63.0

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

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

SetHTTPClient adds the HTTPClient Transport to the grant user entitlement params

func (*GrantUserEntitlementParams) SetNamespace

func (o *GrantUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the grant user entitlement params

func (*GrantUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the grant user entitlement params

func (*GrantUserEntitlementParams) SetUserID

func (o *GrantUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the grant user entitlement params

func (*GrantUserEntitlementParams) WithBody

WithBody adds the body to the grant user entitlement params

func (*GrantUserEntitlementParams) WithContext

WithContext adds the context to the grant user entitlement params

func (*GrantUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the grant user entitlement params

func (*GrantUserEntitlementParams) WithNamespace

func (o *GrantUserEntitlementParams) WithNamespace(namespace string) *GrantUserEntitlementParams

WithNamespace adds the namespace to the grant user entitlement params

func (*GrantUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the grant user entitlement params

func (*GrantUserEntitlementParams) WithUserID

WithUserID adds the userID to the grant user entitlement params

func (*GrantUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GrantUserEntitlementReader

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

GrantUserEntitlementReader is a Reader for the GrantUserEntitlement structure.

func (*GrantUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GrantUserEntitlementUnprocessableEntity

type GrantUserEntitlementUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

GrantUserEntitlementUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGrantUserEntitlementUnprocessableEntity

func NewGrantUserEntitlementUnprocessableEntity() *GrantUserEntitlementUnprocessableEntity

NewGrantUserEntitlementUnprocessableEntity creates a GrantUserEntitlementUnprocessableEntity with default headers values

func (*GrantUserEntitlementUnprocessableEntity) Error

func (*GrantUserEntitlementUnprocessableEntity) GetPayload

func (*GrantUserEntitlementUnprocessableEntity) ToJSONString added in v0.25.0

type PreCheckRevokeUserEntitlementByUseCountNotFound added in v0.60.0

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

func NewPreCheckRevokeUserEntitlementByUseCountNotFound() *PreCheckRevokeUserEntitlementByUseCountNotFound

NewPreCheckRevokeUserEntitlementByUseCountNotFound creates a PreCheckRevokeUserEntitlementByUseCountNotFound with default headers values

func (*PreCheckRevokeUserEntitlementByUseCountNotFound) Error added in v0.60.0

func (*PreCheckRevokeUserEntitlementByUseCountNotFound) GetPayload added in v0.60.0

func (*PreCheckRevokeUserEntitlementByUseCountNotFound) ToJSONString added in v0.60.0

type PreCheckRevokeUserEntitlementByUseCountOK added in v0.60.0

type PreCheckRevokeUserEntitlementByUseCountOK struct {
	Payload *platformclientmodels.EntitlementPrechekResult
}

PreCheckRevokeUserEntitlementByUseCountOK handles this case with default header values.

successful operation

func NewPreCheckRevokeUserEntitlementByUseCountOK added in v0.60.0

func NewPreCheckRevokeUserEntitlementByUseCountOK() *PreCheckRevokeUserEntitlementByUseCountOK

NewPreCheckRevokeUserEntitlementByUseCountOK creates a PreCheckRevokeUserEntitlementByUseCountOK with default headers values

func (*PreCheckRevokeUserEntitlementByUseCountOK) Error added in v0.60.0

func (*PreCheckRevokeUserEntitlementByUseCountOK) GetPayload added in v0.60.0

func (*PreCheckRevokeUserEntitlementByUseCountOK) ToJSONString added in v0.60.0

type PreCheckRevokeUserEntitlementByUseCountParams added in v0.60.0

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

func NewPreCheckRevokeUserEntitlementByUseCountParams() *PreCheckRevokeUserEntitlementByUseCountParams

NewPreCheckRevokeUserEntitlementByUseCountParams creates a new PreCheckRevokeUserEntitlementByUseCountParams object with the default values initialized.

func NewPreCheckRevokeUserEntitlementByUseCountParamsWithContext added in v0.60.0

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

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

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

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

SetContext adds the context to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID added in v0.60.0

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId added in v0.63.0

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)

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

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetHTTPClient added in v0.60.0

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

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

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity added in v0.60.0

func (o *PreCheckRevokeUserEntitlementByUseCountParams) SetQuantity(quantity int32)

SetQuantity adds the quantity to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetTimeout added in v0.60.0

SetTimeout adds the timeout to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) SetUserID added in v0.60.0

SetUserID adds the userId to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithContext added in v0.60.0

WithContext adds the context to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithEntitlementID added in v0.60.0

WithEntitlementID adds the entitlementID to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithHTTPClient added in v0.60.0

WithHTTPClient adds the HTTPClient to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithNamespace added in v0.60.0

WithNamespace adds the namespace to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithQuantity added in v0.60.0

WithQuantity adds the quantity to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithTimeout added in v0.60.0

WithTimeout adds the timeout to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WithUserID added in v0.60.0

WithUserID adds the userID to the pre check revoke user entitlement by use count params

func (*PreCheckRevokeUserEntitlementByUseCountParams) WriteToRequest added in v0.60.0

WriteToRequest writes these params to a swagger request

type PreCheckRevokeUserEntitlementByUseCountReader added in v0.60.0

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

PreCheckRevokeUserEntitlementByUseCountReader is a Reader for the PreCheckRevokeUserEntitlementByUseCount structure.

func (*PreCheckRevokeUserEntitlementByUseCountReader) ReadResponse added in v0.60.0

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

ReadResponse reads a server response into the received o.

type PublicConsumeUserEntitlementBadRequest added in v0.24.0

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

func NewPublicConsumeUserEntitlementBadRequest() *PublicConsumeUserEntitlementBadRequest

NewPublicConsumeUserEntitlementBadRequest creates a PublicConsumeUserEntitlementBadRequest with default headers values

func (*PublicConsumeUserEntitlementBadRequest) Error added in v0.24.0

func (*PublicConsumeUserEntitlementBadRequest) GetPayload added in v0.24.0

func (*PublicConsumeUserEntitlementBadRequest) ToJSONString added in v0.25.0

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

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetBody

SetBody adds the body to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetContext

SetContext adds the context to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetEntitlementID

func (o *PublicConsumeUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicConsumeUserEntitlementParams) SetNamespace

func (o *PublicConsumeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) SetUserID

func (o *PublicConsumeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithBody

WithBody adds the body to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithContext

WithContext adds the context to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithEntitlementID

WithEntitlementID adds the entitlementID to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WithUserID

WithUserID adds the userID to the public consume user entitlement params

func (*PublicConsumeUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicConsumeUserEntitlementReader

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

PublicConsumeUserEntitlementReader is a Reader for the PublicConsumeUserEntitlement structure.

func (*PublicConsumeUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicExistsAnyMyActiveEntitlementOK

type PublicExistsAnyMyActiveEntitlementOK struct {
	Payload *platformclientmodels.Ownership
}

PublicExistsAnyMyActiveEntitlementOK handles this case with default header values.

successful operation

func NewPublicExistsAnyMyActiveEntitlementOK

func NewPublicExistsAnyMyActiveEntitlementOK() *PublicExistsAnyMyActiveEntitlementOK

NewPublicExistsAnyMyActiveEntitlementOK creates a PublicExistsAnyMyActiveEntitlementOK with default headers values

func (*PublicExistsAnyMyActiveEntitlementOK) Error

func (*PublicExistsAnyMyActiveEntitlementOK) GetPayload

func (*PublicExistsAnyMyActiveEntitlementOK) ToJSONString added in v0.25.0

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

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

SetAuthInfoWriter adds the authInfoWriter to the public exists any my active entitlement params

func (*PublicExistsAnyMyActiveEntitlementParams) SetContext

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetItemIds

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

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetNamespace

func (o *PublicExistsAnyMyActiveEntitlementParams) SetNamespace(namespace string)

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetSkus

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

func (*PublicExistsAnyMyActiveEntitlementParams) SetTimeout

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithAppIds

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithContext

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithHTTPClient

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithItemIds

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithNamespace

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithSkus

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

func (*PublicExistsAnyMyActiveEntitlementParams) WithTimeout

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

func (*PublicExistsAnyMyActiveEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicExistsAnyMyActiveEntitlementReader

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

PublicExistsAnyMyActiveEntitlementReader is a Reader for the PublicExistsAnyMyActiveEntitlement structure.

func (*PublicExistsAnyMyActiveEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicExistsAnyUserActiveEntitlementOK

type PublicExistsAnyUserActiveEntitlementOK struct {
	Payload *platformclientmodels.Ownership
}

PublicExistsAnyUserActiveEntitlementOK handles this case with default header values.

successful operation

func NewPublicExistsAnyUserActiveEntitlementOK

func NewPublicExistsAnyUserActiveEntitlementOK() *PublicExistsAnyUserActiveEntitlementOK

NewPublicExistsAnyUserActiveEntitlementOK creates a PublicExistsAnyUserActiveEntitlementOK with default headers values

func (*PublicExistsAnyUserActiveEntitlementOK) Error

func (*PublicExistsAnyUserActiveEntitlementOK) GetPayload

func (*PublicExistsAnyUserActiveEntitlementOK) ToJSONString added in v0.25.0

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

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetContext

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetItemIds

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

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetNamespace

func (o *PublicExistsAnyUserActiveEntitlementParams) SetNamespace(namespace string)

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetSkus

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetTimeout

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

func (*PublicExistsAnyUserActiveEntitlementParams) SetUserID

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithAppIds

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithContext

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithHTTPClient

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithItemIds

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithNamespace

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithSkus

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithTimeout

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

func (*PublicExistsAnyUserActiveEntitlementParams) WithUserID

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

func (*PublicExistsAnyUserActiveEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicExistsAnyUserActiveEntitlementReader

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

PublicExistsAnyUserActiveEntitlementReader is a Reader for the PublicExistsAnyUserActiveEntitlement structure.

func (*PublicExistsAnyUserActiveEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetEntitlementOwnershipTokenOK added in v0.7.0

type PublicGetEntitlementOwnershipTokenOK struct {
	Payload *platformclientmodels.OwnershipToken
}

PublicGetEntitlementOwnershipTokenOK handles this case with default header values.

successful operation

func NewPublicGetEntitlementOwnershipTokenOK added in v0.7.0

func NewPublicGetEntitlementOwnershipTokenOK() *PublicGetEntitlementOwnershipTokenOK

NewPublicGetEntitlementOwnershipTokenOK creates a PublicGetEntitlementOwnershipTokenOK with default headers values

func (*PublicGetEntitlementOwnershipTokenOK) Error added in v0.7.0

func (*PublicGetEntitlementOwnershipTokenOK) GetPayload added in v0.7.0

func (*PublicGetEntitlementOwnershipTokenOK) ToJSONString added in v0.25.0

func (o *PublicGetEntitlementOwnershipTokenOK) ToJSONString() string

type PublicGetEntitlementOwnershipTokenParams added in v0.7.0

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

func NewPublicGetEntitlementOwnershipTokenParams() *PublicGetEntitlementOwnershipTokenParams

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

func NewPublicGetEntitlementOwnershipTokenParamsWithContext added in v0.7.0

func NewPublicGetEntitlementOwnershipTokenParamsWithContext(ctx context.Context) *PublicGetEntitlementOwnershipTokenParams

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

func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient added in v0.7.0

func NewPublicGetEntitlementOwnershipTokenParamsWithHTTPClient(client *http.Client) *PublicGetEntitlementOwnershipTokenParams

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

func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout added in v0.7.0

func NewPublicGetEntitlementOwnershipTokenParamsWithTimeout(timeout time.Duration) *PublicGetEntitlementOwnershipTokenParams

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

func (*PublicGetEntitlementOwnershipTokenParams) SetAppIds added in v0.7.0

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public get entitlement ownership token params

func (*PublicGetEntitlementOwnershipTokenParams) SetContext added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) SetFlightId added in v0.63.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetFlightId(flightId string)

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

func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClient added in v0.7.0

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetItemIds added in v0.7.0

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

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

func (*PublicGetEntitlementOwnershipTokenParams) SetNamespace added in v0.7.0

func (o *PublicGetEntitlementOwnershipTokenParams) SetNamespace(namespace string)

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

func (*PublicGetEntitlementOwnershipTokenParams) SetSkus added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) SetTimeout added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithAppIds added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithContext added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithHTTPClient added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithItemIds added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithNamespace added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithSkus added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WithTimeout added in v0.7.0

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

func (*PublicGetEntitlementOwnershipTokenParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetEntitlementOwnershipTokenReader added in v0.7.0

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

PublicGetEntitlementOwnershipTokenReader is a Reader for the PublicGetEntitlementOwnershipToken structure.

func (*PublicGetEntitlementOwnershipTokenReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type PublicGetMyAppEntitlementOwnershipByAppIDOK

type PublicGetMyAppEntitlementOwnershipByAppIDOK struct {
	Payload *platformclientmodels.Ownership
}

PublicGetMyAppEntitlementOwnershipByAppIDOK handles this case with default header values.

successful operation

func NewPublicGetMyAppEntitlementOwnershipByAppIDOK

func NewPublicGetMyAppEntitlementOwnershipByAppIDOK() *PublicGetMyAppEntitlementOwnershipByAppIDOK

NewPublicGetMyAppEntitlementOwnershipByAppIDOK creates a PublicGetMyAppEntitlementOwnershipByAppIDOK with default headers values

func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) Error

func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) GetPayload

func (*PublicGetMyAppEntitlementOwnershipByAppIDOK) ToJSONString added in v0.25.0

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

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetContext

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *PublicGetMyAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) SetTimeout

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithAppID

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithContext

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithHTTPClient

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithNamespace

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WithTimeout

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

func (*PublicGetMyAppEntitlementOwnershipByAppIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMyAppEntitlementOwnershipByAppIDReader

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

PublicGetMyAppEntitlementOwnershipByAppIDReader is a Reader for the PublicGetMyAppEntitlementOwnershipByAppID structure.

func (*PublicGetMyAppEntitlementOwnershipByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetMyEntitlementOwnershipByItemIDOK added in v0.7.0

type PublicGetMyEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetMyEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetMyEntitlementOwnershipByItemIDOK added in v0.7.0

func NewPublicGetMyEntitlementOwnershipByItemIDOK() *PublicGetMyEntitlementOwnershipByItemIDOK

NewPublicGetMyEntitlementOwnershipByItemIDOK creates a PublicGetMyEntitlementOwnershipByItemIDOK with default headers values

func (*PublicGetMyEntitlementOwnershipByItemIDOK) Error added in v0.7.0

func (*PublicGetMyEntitlementOwnershipByItemIDOK) GetPayload added in v0.7.0

func (*PublicGetMyEntitlementOwnershipByItemIDOK) ToJSONString added in v0.25.0

type PublicGetMyEntitlementOwnershipByItemIDParams added in v0.7.0

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

func NewPublicGetMyEntitlementOwnershipByItemIDParams() *PublicGetMyEntitlementOwnershipByItemIDParams

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

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext added in v0.7.0

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetMyEntitlementOwnershipByItemIDParams

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

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient added in v0.7.0

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetMyEntitlementOwnershipByItemIDParams

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

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout added in v0.7.0

func NewPublicGetMyEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetMyEntitlementOwnershipByItemIDParams

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetAuthInfoWriter added in v0.17.0

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetContext added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetEntitlementClazz added in v0.7.0

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId added in v0.63.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetFlightId(flightId string)

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClient added in v0.7.0

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetItemID added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace added in v0.7.0

func (o *PublicGetMyEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) SetTimeout added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithContext added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithEntitlementClazz added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithHTTPClient added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithItemID added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithNamespace added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WithTimeout added in v0.7.0

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

func (*PublicGetMyEntitlementOwnershipByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetMyEntitlementOwnershipByItemIDReader added in v0.7.0

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

PublicGetMyEntitlementOwnershipByItemIDReader is a Reader for the PublicGetMyEntitlementOwnershipByItemID structure.

func (*PublicGetMyEntitlementOwnershipByItemIDReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type PublicGetMyEntitlementOwnershipBySkuOK

type PublicGetMyEntitlementOwnershipBySkuOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetMyEntitlementOwnershipBySkuOK handles this case with default header values.

successful operation

func NewPublicGetMyEntitlementOwnershipBySkuOK

func NewPublicGetMyEntitlementOwnershipBySkuOK() *PublicGetMyEntitlementOwnershipBySkuOK

NewPublicGetMyEntitlementOwnershipBySkuOK creates a PublicGetMyEntitlementOwnershipBySkuOK with default headers values

func (*PublicGetMyEntitlementOwnershipBySkuOK) Error

func (*PublicGetMyEntitlementOwnershipBySkuOK) GetPayload

func (*PublicGetMyEntitlementOwnershipBySkuOK) ToJSONString added in v0.25.0

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

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetContext

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetEntitlementClazz

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace

func (o *PublicGetMyEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetSku

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) SetTimeout

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithContext

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithEntitlementClazz

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithHTTPClient

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithNamespace

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithSku

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WithTimeout

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

func (*PublicGetMyEntitlementOwnershipBySkuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMyEntitlementOwnershipBySkuReader

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

PublicGetMyEntitlementOwnershipBySkuReader is a Reader for the PublicGetMyEntitlementOwnershipBySku structure.

func (*PublicGetMyEntitlementOwnershipBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserAppEntitlementByAppIDNotFound

type PublicGetUserAppEntitlementByAppIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserAppEntitlementByAppIDNotFound handles this case with default header values.

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

func NewPublicGetUserAppEntitlementByAppIDNotFound

func NewPublicGetUserAppEntitlementByAppIDNotFound() *PublicGetUserAppEntitlementByAppIDNotFound

NewPublicGetUserAppEntitlementByAppIDNotFound creates a PublicGetUserAppEntitlementByAppIDNotFound with default headers values

func (*PublicGetUserAppEntitlementByAppIDNotFound) Error

func (*PublicGetUserAppEntitlementByAppIDNotFound) GetPayload

func (*PublicGetUserAppEntitlementByAppIDNotFound) ToJSONString added in v0.25.0

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

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

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

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetContext

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetNamespace

func (o *PublicGetUserAppEntitlementByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetTimeout

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

func (*PublicGetUserAppEntitlementByAppIDParams) SetUserID

func (o *PublicGetUserAppEntitlementByAppIDParams) SetUserID(userID string)

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

func (*PublicGetUserAppEntitlementByAppIDParams) WithAppID

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

func (*PublicGetUserAppEntitlementByAppIDParams) WithContext

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

func (*PublicGetUserAppEntitlementByAppIDParams) WithHTTPClient

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

func (*PublicGetUserAppEntitlementByAppIDParams) WithNamespace

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

func (*PublicGetUserAppEntitlementByAppIDParams) WithTimeout

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

func (*PublicGetUserAppEntitlementByAppIDParams) WithUserID

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

func (*PublicGetUserAppEntitlementByAppIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserAppEntitlementByAppIDReader

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

PublicGetUserAppEntitlementByAppIDReader is a Reader for the PublicGetUserAppEntitlementByAppID structure.

func (*PublicGetUserAppEntitlementByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserAppEntitlementOwnershipByAppIDOK

type PublicGetUserAppEntitlementOwnershipByAppIDOK struct {
	Payload *platformclientmodels.Ownership
}

PublicGetUserAppEntitlementOwnershipByAppIDOK handles this case with default header values.

successful operation

func NewPublicGetUserAppEntitlementOwnershipByAppIDOK

func NewPublicGetUserAppEntitlementOwnershipByAppIDOK() *PublicGetUserAppEntitlementOwnershipByAppIDOK

NewPublicGetUserAppEntitlementOwnershipByAppIDOK creates a PublicGetUserAppEntitlementOwnershipByAppIDOK with default headers values

func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) Error

func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) GetPayload

func (*PublicGetUserAppEntitlementOwnershipByAppIDOK) ToJSONString added in v0.25.0

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

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetContext

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace

func (o *PublicGetUserAppEntitlementOwnershipByAppIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetTimeout

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) SetUserID

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithAppID

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithContext

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithHTTPClient

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithNamespace

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithTimeout

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WithUserID

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

func (*PublicGetUserAppEntitlementOwnershipByAppIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserAppEntitlementOwnershipByAppIDReader

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

PublicGetUserAppEntitlementOwnershipByAppIDReader is a Reader for the PublicGetUserAppEntitlementOwnershipByAppID structure.

func (*PublicGetUserAppEntitlementOwnershipByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementByItemIDNotFound added in v0.7.0

type PublicGetUserEntitlementByItemIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserEntitlementByItemIDNotFound handles this case with default header values.

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

func NewPublicGetUserEntitlementByItemIDNotFound added in v0.7.0

func NewPublicGetUserEntitlementByItemIDNotFound() *PublicGetUserEntitlementByItemIDNotFound

NewPublicGetUserEntitlementByItemIDNotFound creates a PublicGetUserEntitlementByItemIDNotFound with default headers values

func (*PublicGetUserEntitlementByItemIDNotFound) Error added in v0.7.0

func (*PublicGetUserEntitlementByItemIDNotFound) GetPayload added in v0.7.0

func (*PublicGetUserEntitlementByItemIDNotFound) ToJSONString added in v0.25.0

type PublicGetUserEntitlementByItemIDOK added in v0.7.0

type PublicGetUserEntitlementByItemIDOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

PublicGetUserEntitlementByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementByItemIDOK added in v0.7.0

func NewPublicGetUserEntitlementByItemIDOK() *PublicGetUserEntitlementByItemIDOK

NewPublicGetUserEntitlementByItemIDOK creates a PublicGetUserEntitlementByItemIDOK with default headers values

func (*PublicGetUserEntitlementByItemIDOK) Error added in v0.7.0

func (*PublicGetUserEntitlementByItemIDOK) GetPayload added in v0.7.0

func (*PublicGetUserEntitlementByItemIDOK) ToJSONString added in v0.25.0

func (o *PublicGetUserEntitlementByItemIDOK) ToJSONString() string

type PublicGetUserEntitlementByItemIDParams added in v0.7.0

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

func NewPublicGetUserEntitlementByItemIDParams() *PublicGetUserEntitlementByItemIDParams

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

func NewPublicGetUserEntitlementByItemIDParamsWithContext added in v0.7.0

func NewPublicGetUserEntitlementByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementByItemIDParams

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

func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient added in v0.7.0

func NewPublicGetUserEntitlementByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementByItemIDParams

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

func NewPublicGetUserEntitlementByItemIDParamsWithTimeout added in v0.7.0

func NewPublicGetUserEntitlementByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementByItemIDParams

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

func (*PublicGetUserEntitlementByItemIDParams) SetAuthInfoWriter added in v0.17.0

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetContext added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) SetEntitlementClazz added in v0.7.0

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetFlightId added in v0.63.0

func (o *PublicGetUserEntitlementByItemIDParams) SetFlightId(flightId string)

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

func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClient added in v0.7.0

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetItemID added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetItemID(itemID string)

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

func (*PublicGetUserEntitlementByItemIDParams) SetNamespace added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementByItemIDParams) SetTimeout added in v0.7.0

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

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

func (*PublicGetUserEntitlementByItemIDParams) SetUserID added in v0.7.0

func (o *PublicGetUserEntitlementByItemIDParams) SetUserID(userID string)

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

func (*PublicGetUserEntitlementByItemIDParams) WithContext added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) WithEntitlementClazz added in v0.7.0

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

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

func (*PublicGetUserEntitlementByItemIDParams) WithHTTPClient added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) WithItemID added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) WithNamespace added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) WithTimeout added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) WithUserID added in v0.7.0

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

func (*PublicGetUserEntitlementByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementByItemIDReader added in v0.7.0

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

PublicGetUserEntitlementByItemIDReader is a Reader for the PublicGetUserEntitlementByItemID structure.

func (*PublicGetUserEntitlementByItemIDReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementBySkuNotFound

type PublicGetUserEntitlementBySkuNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserEntitlementBySkuNotFound handles this case with default header values.

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

func NewPublicGetUserEntitlementBySkuNotFound

func NewPublicGetUserEntitlementBySkuNotFound() *PublicGetUserEntitlementBySkuNotFound

NewPublicGetUserEntitlementBySkuNotFound creates a PublicGetUserEntitlementBySkuNotFound with default headers values

func (*PublicGetUserEntitlementBySkuNotFound) Error

func (*PublicGetUserEntitlementBySkuNotFound) GetPayload

func (*PublicGetUserEntitlementBySkuNotFound) ToJSONString added in v0.25.0

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

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

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

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

func (*PublicGetUserEntitlementBySkuParams) SetContext

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

func (*PublicGetUserEntitlementBySkuParams) SetEntitlementClazz

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

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

func (*PublicGetUserEntitlementBySkuParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetUserEntitlementBySkuParams) SetNamespace

func (o *PublicGetUserEntitlementBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementBySkuParams) SetSku

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

func (*PublicGetUserEntitlementBySkuParams) SetTimeout

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

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

func (*PublicGetUserEntitlementBySkuParams) SetUserID

func (o *PublicGetUserEntitlementBySkuParams) SetUserID(userID string)

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

func (*PublicGetUserEntitlementBySkuParams) WithContext

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

func (*PublicGetUserEntitlementBySkuParams) WithEntitlementClazz

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

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

func (*PublicGetUserEntitlementBySkuParams) WithHTTPClient

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

func (*PublicGetUserEntitlementBySkuParams) WithNamespace

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

func (*PublicGetUserEntitlementBySkuParams) WithSku

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

func (*PublicGetUserEntitlementBySkuParams) WithTimeout

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

func (*PublicGetUserEntitlementBySkuParams) WithUserID

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

func (*PublicGetUserEntitlementBySkuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementBySkuReader

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

PublicGetUserEntitlementBySkuReader is a Reader for the PublicGetUserEntitlementBySku structure.

func (*PublicGetUserEntitlementBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementNotFound

type PublicGetUserEntitlementNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetUserEntitlementNotFound handles this case with default header values.

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

func NewPublicGetUserEntitlementNotFound

func NewPublicGetUserEntitlementNotFound() *PublicGetUserEntitlementNotFound

NewPublicGetUserEntitlementNotFound creates a PublicGetUserEntitlementNotFound with default headers values

func (*PublicGetUserEntitlementNotFound) Error

func (*PublicGetUserEntitlementNotFound) GetPayload

func (*PublicGetUserEntitlementNotFound) ToJSONString added in v0.25.0

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

func (o *PublicGetUserEntitlementOK) ToJSONString() string

type PublicGetUserEntitlementOwnershipByItemIDOK added in v0.7.0

type PublicGetUserEntitlementOwnershipByItemIDOK struct {
	Payload *platformclientmodels.TimedOwnership
}

PublicGetUserEntitlementOwnershipByItemIDOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementOwnershipByItemIDOK added in v0.7.0

func NewPublicGetUserEntitlementOwnershipByItemIDOK() *PublicGetUserEntitlementOwnershipByItemIDOK

NewPublicGetUserEntitlementOwnershipByItemIDOK creates a PublicGetUserEntitlementOwnershipByItemIDOK with default headers values

func (*PublicGetUserEntitlementOwnershipByItemIDOK) Error added in v0.7.0

func (*PublicGetUserEntitlementOwnershipByItemIDOK) GetPayload added in v0.7.0

func (*PublicGetUserEntitlementOwnershipByItemIDOK) ToJSONString added in v0.25.0

type PublicGetUserEntitlementOwnershipByItemIDParams added in v0.7.0

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

func NewPublicGetUserEntitlementOwnershipByItemIDParams() *PublicGetUserEntitlementOwnershipByItemIDParams

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

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext added in v0.7.0

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithContext(ctx context.Context) *PublicGetUserEntitlementOwnershipByItemIDParams

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

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient added in v0.7.0

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithHTTPClient(client *http.Client) *PublicGetUserEntitlementOwnershipByItemIDParams

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

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout added in v0.7.0

func NewPublicGetUserEntitlementOwnershipByItemIDParamsWithTimeout(timeout time.Duration) *PublicGetUserEntitlementOwnershipByItemIDParams

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetAuthInfoWriter added in v0.17.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetContext added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetEntitlementClazz added in v0.7.0

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

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetFlightId added in v0.63.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClient added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetItemID added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace added in v0.7.0

func (o *PublicGetUserEntitlementOwnershipByItemIDParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetTimeout added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) SetUserID added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithContext added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithEntitlementClazz added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithHTTPClient added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithItemID added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithNamespace added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithTimeout added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WithUserID added in v0.7.0

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

func (*PublicGetUserEntitlementOwnershipByItemIDParams) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementOwnershipByItemIDReader added in v0.7.0

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

PublicGetUserEntitlementOwnershipByItemIDReader is a Reader for the PublicGetUserEntitlementOwnershipByItemID structure.

func (*PublicGetUserEntitlementOwnershipByItemIDReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementOwnershipByItemIdsOK added in v0.24.0

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

PublicGetUserEntitlementOwnershipByItemIdsOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementOwnershipByItemIdsOK added in v0.24.0

func NewPublicGetUserEntitlementOwnershipByItemIdsOK() *PublicGetUserEntitlementOwnershipByItemIdsOK

NewPublicGetUserEntitlementOwnershipByItemIdsOK creates a PublicGetUserEntitlementOwnershipByItemIdsOK with default headers values

func (*PublicGetUserEntitlementOwnershipByItemIdsOK) Error added in v0.24.0

func (*PublicGetUserEntitlementOwnershipByItemIdsOK) GetPayload added in v0.24.0

func (*PublicGetUserEntitlementOwnershipByItemIdsOK) ToJSONString added in v0.25.0

type PublicGetUserEntitlementOwnershipByItemIdsParams added in v0.24.0

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

func NewPublicGetUserEntitlementOwnershipByItemIdsParams() *PublicGetUserEntitlementOwnershipByItemIdsParams

NewPublicGetUserEntitlementOwnershipByItemIdsParams creates a new PublicGetUserEntitlementOwnershipByItemIdsParams object with the default values initialized.

func NewPublicGetUserEntitlementOwnershipByItemIdsParamsWithContext added in v0.24.0

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

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

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

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetContext added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetFlightId added in v0.63.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClient added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetHTTPClientTransport added in v0.24.0

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

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace added in v0.24.0

func (o *PublicGetUserEntitlementOwnershipByItemIdsParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetTimeout added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) SetUserID added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithContext added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithHTTPClient added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithIds added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithNamespace added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithTimeout added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WithUserID added in v0.24.0

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

func (*PublicGetUserEntitlementOwnershipByItemIdsParams) WriteToRequest added in v0.24.0

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementOwnershipByItemIdsReader added in v0.24.0

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

PublicGetUserEntitlementOwnershipByItemIdsReader is a Reader for the PublicGetUserEntitlementOwnershipByItemIds structure.

func (*PublicGetUserEntitlementOwnershipByItemIdsReader) ReadResponse added in v0.24.0

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

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

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetContext

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetEntitlementClazz

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace

func (o *PublicGetUserEntitlementOwnershipBySkuParams) SetNamespace(namespace string)

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetSku

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetTimeout

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) SetUserID

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithContext

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithEntitlementClazz

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithHTTPClient

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithNamespace

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithSku

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithTimeout

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WithUserID

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

func (*PublicGetUserEntitlementOwnershipBySkuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementOwnershipBySkuReader

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

PublicGetUserEntitlementOwnershipBySkuReader is a Reader for the PublicGetUserEntitlementOwnershipBySku structure.

func (*PublicGetUserEntitlementOwnershipBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementParams

type PublicGetUserEntitlementParams struct {

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetContext

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

SetContext adds the context to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetEntitlementID

func (o *PublicGetUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicGetUserEntitlementParams) SetNamespace

func (o *PublicGetUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetTimeout

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

SetTimeout adds the timeout to the public get user entitlement params

func (*PublicGetUserEntitlementParams) SetUserID

func (o *PublicGetUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithContext

WithContext adds the context to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithEntitlementID

func (o *PublicGetUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicGetUserEntitlementParams

WithEntitlementID adds the entitlementID to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithNamespace

WithNamespace adds the namespace to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WithUserID

WithUserID adds the userID to the public get user entitlement params

func (*PublicGetUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementReader

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

PublicGetUserEntitlementReader is a Reader for the PublicGetUserEntitlement structure.

func (*PublicGetUserEntitlementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetUserEntitlementsByIdsOK added in v0.63.0

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

PublicGetUserEntitlementsByIdsOK handles this case with default header values.

successful operation

func NewPublicGetUserEntitlementsByIdsOK added in v0.63.0

func NewPublicGetUserEntitlementsByIdsOK() *PublicGetUserEntitlementsByIdsOK

NewPublicGetUserEntitlementsByIdsOK creates a PublicGetUserEntitlementsByIdsOK with default headers values

func (*PublicGetUserEntitlementsByIdsOK) Error added in v0.63.0

func (*PublicGetUserEntitlementsByIdsOK) GetPayload added in v0.63.0

func (*PublicGetUserEntitlementsByIdsOK) ToJSONString added in v0.63.0

func (o *PublicGetUserEntitlementsByIdsOK) ToJSONString() string

type PublicGetUserEntitlementsByIdsParams added in v0.63.0

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

func NewPublicGetUserEntitlementsByIdsParams() *PublicGetUserEntitlementsByIdsParams

NewPublicGetUserEntitlementsByIdsParams creates a new PublicGetUserEntitlementsByIdsParams object with the default values initialized.

func NewPublicGetUserEntitlementsByIdsParamsWithContext added in v0.63.0

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly added in v0.63.0

func (o *PublicGetUserEntitlementsByIdsParams) SetAvailablePlatformOnly(availablePlatformOnly *bool)

SetAvailablePlatformOnly adds the availablePlatformOnly to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetContext added in v0.63.0

SetContext adds the context to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetFlightId added in v0.63.0

func (o *PublicGetUserEntitlementsByIdsParams) SetFlightId(flightId string)

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

func (*PublicGetUserEntitlementsByIdsParams) SetHTTPClient added in v0.63.0

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

SetHTTPClient adds the HTTPClient to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetHTTPClientTransport added in v0.63.0

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

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

func (*PublicGetUserEntitlementsByIdsParams) SetIds added in v0.63.0

SetIds adds the ids to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetNamespace added in v0.63.0

func (o *PublicGetUserEntitlementsByIdsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetTimeout added in v0.63.0

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

SetTimeout adds the timeout to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) SetUserID added in v0.63.0

func (o *PublicGetUserEntitlementsByIdsParams) SetUserID(userID string)

SetUserID adds the userId to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly added in v0.63.0

func (o *PublicGetUserEntitlementsByIdsParams) WithAvailablePlatformOnly(availablePlatformOnly *bool) *PublicGetUserEntitlementsByIdsParams

WithAvailablePlatformOnly adds the availablePlatformOnly to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithContext added in v0.63.0

WithContext adds the context to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithHTTPClient added in v0.63.0

WithHTTPClient adds the HTTPClient to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithIds added in v0.63.0

WithIds adds the ids to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithNamespace added in v0.63.0

WithNamespace adds the namespace to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithTimeout added in v0.63.0

WithTimeout adds the timeout to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WithUserID added in v0.63.0

WithUserID adds the userID to the public get user entitlements by ids params

func (*PublicGetUserEntitlementsByIdsParams) WriteToRequest added in v0.63.0

WriteToRequest writes these params to a swagger request

type PublicGetUserEntitlementsByIdsReader added in v0.63.0

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

PublicGetUserEntitlementsByIdsReader is a Reader for the PublicGetUserEntitlementsByIds structure.

func (*PublicGetUserEntitlementsByIdsReader) ReadResponse added in v0.63.0

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the public query user entitlements by app type params

func (*PublicQueryUserEntitlementsByAppTypeParams) SetContext

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetLimit

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetNamespace

func (o *PublicQueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetOffset

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

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetTimeout

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

func (*PublicQueryUserEntitlementsByAppTypeParams) SetUserID

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithAppType

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithContext

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithHTTPClient

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithLimit

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithNamespace

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithOffset

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithTimeout

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WithUserID

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

func (*PublicQueryUserEntitlementsByAppTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicQueryUserEntitlementsByAppTypeReader

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

PublicQueryUserEntitlementsByAppTypeReader is a Reader for the PublicQueryUserEntitlementsByAppType structure.

func (*PublicQueryUserEntitlementsByAppTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryUserEntitlementsOK

type PublicQueryUserEntitlementsOK struct {
	Payload *platformclientmodels.EntitlementPagingSlicedResult
}

PublicQueryUserEntitlementsOK handles this case with default header values.

successful operation

func NewPublicQueryUserEntitlementsOK

func NewPublicQueryUserEntitlementsOK() *PublicQueryUserEntitlementsOK

NewPublicQueryUserEntitlementsOK creates a PublicQueryUserEntitlementsOK with default headers values

func (*PublicQueryUserEntitlementsOK) Error

func (*PublicQueryUserEntitlementsOK) GetPayload

func (*PublicQueryUserEntitlementsOK) ToJSONString added in v0.25.0

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

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

SetAuthInfoWriter adds the authInfoWriter to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetContext

SetContext adds the context to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetEntitlementClazz

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

SetEntitlementClazz adds the entitlementClazz to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetEntitlementName

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

SetEntitlementName adds the entitlementName to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetFeatures added in v0.25.0

func (o *PublicQueryUserEntitlementsParams) SetFeatures(features []string)

SetFeatures adds the features to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetFlightId added in v0.63.0

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

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

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

func (*PublicQueryUserEntitlementsParams) SetItemID

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

SetItemID adds the itemId to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetLimit

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

SetLimit adds the limit to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetNamespace

func (o *PublicQueryUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetOffset

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

SetOffset adds the offset to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetTimeout

func (o *PublicQueryUserEntitlementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) SetUserID

func (o *PublicQueryUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithAppType

WithAppType adds the appType to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithContext

WithContext adds the context to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithEntitlementClazz

func (o *PublicQueryUserEntitlementsParams) WithEntitlementClazz(entitlementClazz *string) *PublicQueryUserEntitlementsParams

WithEntitlementClazz adds the entitlementClazz to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithEntitlementName

func (o *PublicQueryUserEntitlementsParams) WithEntitlementName(entitlementName *string) *PublicQueryUserEntitlementsParams

WithEntitlementName adds the entitlementName to the public query user entitlements params

func (*PublicQueryUserEntitlementsParams) WithFeatures added in v0.25.0

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 added in v0.41.0

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 added in v0.41.0

func NewPublicSellUserEntitlementConflict() *PublicSellUserEntitlementConflict

NewPublicSellUserEntitlementConflict creates a PublicSellUserEntitlementConflict with default headers values

func (*PublicSellUserEntitlementConflict) Error added in v0.41.0

func (*PublicSellUserEntitlementConflict) GetPayload added in v0.41.0

func (*PublicSellUserEntitlementConflict) ToJSONString added in v0.41.0

func (o *PublicSellUserEntitlementConflict) ToJSONString() string

type PublicSellUserEntitlementNotFound added in v0.41.0

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 added in v0.41.0

func NewPublicSellUserEntitlementNotFound() *PublicSellUserEntitlementNotFound

NewPublicSellUserEntitlementNotFound creates a PublicSellUserEntitlementNotFound with default headers values

func (*PublicSellUserEntitlementNotFound) Error added in v0.41.0

func (*PublicSellUserEntitlementNotFound) GetPayload added in v0.41.0

func (*PublicSellUserEntitlementNotFound) ToJSONString added in v0.41.0

func (o *PublicSellUserEntitlementNotFound) ToJSONString() string

type PublicSellUserEntitlementOK added in v0.41.0

type PublicSellUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementSoldResult
}

PublicSellUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicSellUserEntitlementOK added in v0.41.0

func NewPublicSellUserEntitlementOK() *PublicSellUserEntitlementOK

NewPublicSellUserEntitlementOK creates a PublicSellUserEntitlementOK with default headers values

func (*PublicSellUserEntitlementOK) Error added in v0.41.0

func (*PublicSellUserEntitlementOK) GetPayload added in v0.41.0

func (*PublicSellUserEntitlementOK) ToJSONString added in v0.41.0

func (o *PublicSellUserEntitlementOK) ToJSONString() string

type PublicSellUserEntitlementParams added in v0.41.0

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 added in v0.41.0

func NewPublicSellUserEntitlementParams() *PublicSellUserEntitlementParams

NewPublicSellUserEntitlementParams creates a new PublicSellUserEntitlementParams object with the default values initialized.

func NewPublicSellUserEntitlementParamsWithContext added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetBody added in v0.41.0

SetBody adds the body to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetContext added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetEntitlementID added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetFlightId added in v0.63.0

func (o *PublicSellUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicSellUserEntitlementParams) SetHTTPClient added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetHTTPClientTransport added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetNamespace added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetTimeout added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) SetUserID added in v0.41.0

func (o *PublicSellUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithBody added in v0.41.0

WithBody adds the body to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithContext added in v0.41.0

WithContext adds the context to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithEntitlementID added in v0.41.0

func (o *PublicSellUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSellUserEntitlementParams

WithEntitlementID adds the entitlementID to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithHTTPClient added in v0.41.0

WithHTTPClient adds the HTTPClient to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithNamespace added in v0.41.0

WithNamespace adds the namespace to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithTimeout added in v0.41.0

WithTimeout adds the timeout to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WithUserID added in v0.41.0

WithUserID adds the userID to the public sell user entitlement params

func (*PublicSellUserEntitlementParams) WriteToRequest added in v0.41.0

WriteToRequest writes these params to a swagger request

type PublicSellUserEntitlementReader added in v0.41.0

type PublicSellUserEntitlementReader struct {
	// contains filtered or unexported fields
}

PublicSellUserEntitlementReader is a Reader for the PublicSellUserEntitlement structure.

func (*PublicSellUserEntitlementReader) ReadResponse added in v0.41.0

func (o *PublicSellUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicSplitUserEntitlementConflict added in v0.63.0

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 added in v0.63.0

func NewPublicSplitUserEntitlementConflict() *PublicSplitUserEntitlementConflict

NewPublicSplitUserEntitlementConflict creates a PublicSplitUserEntitlementConflict with default headers values

func (*PublicSplitUserEntitlementConflict) Error added in v0.63.0

func (*PublicSplitUserEntitlementConflict) GetPayload added in v0.63.0

func (*PublicSplitUserEntitlementConflict) ToJSONString added in v0.63.0

func (o *PublicSplitUserEntitlementConflict) ToJSONString() string

type PublicSplitUserEntitlementNotFound added in v0.63.0

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 added in v0.63.0

func NewPublicSplitUserEntitlementNotFound() *PublicSplitUserEntitlementNotFound

NewPublicSplitUserEntitlementNotFound creates a PublicSplitUserEntitlementNotFound with default headers values

func (*PublicSplitUserEntitlementNotFound) Error added in v0.63.0

func (*PublicSplitUserEntitlementNotFound) GetPayload added in v0.63.0

func (*PublicSplitUserEntitlementNotFound) ToJSONString added in v0.63.0

func (o *PublicSplitUserEntitlementNotFound) ToJSONString() string

type PublicSplitUserEntitlementOK added in v0.63.0

type PublicSplitUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementSplitResult
}

PublicSplitUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicSplitUserEntitlementOK added in v0.63.0

func NewPublicSplitUserEntitlementOK() *PublicSplitUserEntitlementOK

NewPublicSplitUserEntitlementOK creates a PublicSplitUserEntitlementOK with default headers values

func (*PublicSplitUserEntitlementOK) Error added in v0.63.0

func (*PublicSplitUserEntitlementOK) GetPayload added in v0.63.0

func (*PublicSplitUserEntitlementOK) ToJSONString added in v0.63.0

func (o *PublicSplitUserEntitlementOK) ToJSONString() string

type PublicSplitUserEntitlementParams added in v0.63.0

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 added in v0.63.0

func NewPublicSplitUserEntitlementParams() *PublicSplitUserEntitlementParams

NewPublicSplitUserEntitlementParams creates a new PublicSplitUserEntitlementParams object with the default values initialized.

func NewPublicSplitUserEntitlementParamsWithContext added in v0.63.0

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 added in v0.63.0

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 added in v0.63.0

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 added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetBody added in v0.63.0

SetBody adds the body to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetContext added in v0.63.0

SetContext adds the context to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetEntitlementID added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetFlightId added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicSplitUserEntitlementParams) SetHTTPClient added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetHTTPClientTransport added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetNamespace added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetTimeout added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) SetUserID added in v0.63.0

func (o *PublicSplitUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithBody added in v0.63.0

WithBody adds the body to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithContext added in v0.63.0

WithContext adds the context to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithEntitlementID added in v0.63.0

func (o *PublicSplitUserEntitlementParams) WithEntitlementID(entitlementID string) *PublicSplitUserEntitlementParams

WithEntitlementID adds the entitlementID to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithHTTPClient added in v0.63.0

WithHTTPClient adds the HTTPClient to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithNamespace added in v0.63.0

WithNamespace adds the namespace to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithTimeout added in v0.63.0

WithTimeout adds the timeout to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WithUserID added in v0.63.0

WithUserID adds the userID to the public split user entitlement params

func (*PublicSplitUserEntitlementParams) WriteToRequest added in v0.63.0

WriteToRequest writes these params to a swagger request

type PublicSplitUserEntitlementReader added in v0.63.0

type PublicSplitUserEntitlementReader struct {
	// contains filtered or unexported fields
}

PublicSplitUserEntitlementReader is a Reader for the PublicSplitUserEntitlement structure.

func (*PublicSplitUserEntitlementReader) ReadResponse added in v0.63.0

func (o *PublicSplitUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicTransferUserEntitlementConflict added in v0.63.0

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 added in v0.63.0

func NewPublicTransferUserEntitlementConflict() *PublicTransferUserEntitlementConflict

NewPublicTransferUserEntitlementConflict creates a PublicTransferUserEntitlementConflict with default headers values

func (*PublicTransferUserEntitlementConflict) Error added in v0.63.0

func (*PublicTransferUserEntitlementConflict) GetPayload added in v0.63.0

func (*PublicTransferUserEntitlementConflict) ToJSONString added in v0.63.0

type PublicTransferUserEntitlementNotFound added in v0.63.0

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 added in v0.63.0

func NewPublicTransferUserEntitlementNotFound() *PublicTransferUserEntitlementNotFound

NewPublicTransferUserEntitlementNotFound creates a PublicTransferUserEntitlementNotFound with default headers values

func (*PublicTransferUserEntitlementNotFound) Error added in v0.63.0

func (*PublicTransferUserEntitlementNotFound) GetPayload added in v0.63.0

func (*PublicTransferUserEntitlementNotFound) ToJSONString added in v0.63.0

type PublicTransferUserEntitlementOK added in v0.63.0

type PublicTransferUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementTransferResult
}

PublicTransferUserEntitlementOK handles this case with default header values.

successful operation

func NewPublicTransferUserEntitlementOK added in v0.63.0

func NewPublicTransferUserEntitlementOK() *PublicTransferUserEntitlementOK

NewPublicTransferUserEntitlementOK creates a PublicTransferUserEntitlementOK with default headers values

func (*PublicTransferUserEntitlementOK) Error added in v0.63.0

func (*PublicTransferUserEntitlementOK) GetPayload added in v0.63.0

func (*PublicTransferUserEntitlementOK) ToJSONString added in v0.63.0

func (o *PublicTransferUserEntitlementOK) ToJSONString() string

type PublicTransferUserEntitlementParams added in v0.63.0

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 added in v0.63.0

func NewPublicTransferUserEntitlementParams() *PublicTransferUserEntitlementParams

NewPublicTransferUserEntitlementParams creates a new PublicTransferUserEntitlementParams object with the default values initialized.

func NewPublicTransferUserEntitlementParamsWithContext added in v0.63.0

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 added in v0.63.0

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 added in v0.63.0

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 added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetBody added in v0.63.0

SetBody adds the body to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetContext added in v0.63.0

SetContext adds the context to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetEntitlementID added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetFlightId added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicTransferUserEntitlementParams) SetHTTPClient added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetHTTPClientTransport added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetNamespace added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetTimeout added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) SetUserID added in v0.63.0

func (o *PublicTransferUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithBody added in v0.63.0

WithBody adds the body to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithContext added in v0.63.0

WithContext adds the context to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithEntitlementID added in v0.63.0

WithEntitlementID adds the entitlementID to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithHTTPClient added in v0.63.0

WithHTTPClient adds the HTTPClient to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithNamespace added in v0.63.0

WithNamespace adds the namespace to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithTimeout added in v0.63.0

WithTimeout adds the timeout to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WithUserID added in v0.63.0

WithUserID adds the userID to the public transfer user entitlement params

func (*PublicTransferUserEntitlementParams) WriteToRequest added in v0.63.0

WriteToRequest writes these params to a swagger request

type PublicTransferUserEntitlementReader added in v0.63.0

type PublicTransferUserEntitlementReader struct {
	// contains filtered or unexported fields
}

PublicTransferUserEntitlementReader is a Reader for the PublicTransferUserEntitlement structure.

func (*PublicTransferUserEntitlementReader) ReadResponse added in v0.63.0

func (o *PublicTransferUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryEntitlements1OK added in v0.43.0

type QueryEntitlements1OK struct {
	Payload *platformclientmodels.EntitlementPagingSlicedResult
}

QueryEntitlements1OK handles this case with default header values.

successful operation

func NewQueryEntitlements1OK added in v0.43.0

func NewQueryEntitlements1OK() *QueryEntitlements1OK

NewQueryEntitlements1OK creates a QueryEntitlements1OK with default headers values

func (*QueryEntitlements1OK) Error added in v0.43.0

func (o *QueryEntitlements1OK) Error() string

func (*QueryEntitlements1OK) GetPayload added in v0.43.0

func (*QueryEntitlements1OK) ToJSONString added in v0.43.0

func (o *QueryEntitlements1OK) ToJSONString() string

type QueryEntitlements1Params added in v0.43.0

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 added in v0.43.0

func NewQueryEntitlements1Params() *QueryEntitlements1Params

NewQueryEntitlements1Params creates a new QueryEntitlements1Params object with the default values initialized.

func NewQueryEntitlements1ParamsWithContext added in v0.43.0

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 added in v0.43.0

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 added in v0.43.0

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 added in v0.43.0

func (o *QueryEntitlements1Params) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the query entitlements 1 params

func (*QueryEntitlements1Params) SetAuthInfoWriter added in v0.43.0

func (o *QueryEntitlements1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query entitlements 1 params

func (*QueryEntitlements1Params) SetContext added in v0.43.0

func (o *QueryEntitlements1Params) SetContext(ctx context.Context)

SetContext adds the context to the query entitlements 1 params

func (*QueryEntitlements1Params) SetFlightId added in v0.63.0

func (o *QueryEntitlements1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryEntitlements1Params) SetHTTPClient added in v0.43.0

func (o *QueryEntitlements1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query entitlements 1 params

func (*QueryEntitlements1Params) SetHTTPClientTransport added in v0.43.0

func (o *QueryEntitlements1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query entitlements 1 params

func (*QueryEntitlements1Params) SetItemIds added in v0.43.0

func (o *QueryEntitlements1Params) SetItemIds(itemIds []string)

SetItemIds adds the itemIds to the query entitlements 1 params

func (*QueryEntitlements1Params) SetLimit added in v0.43.0

func (o *QueryEntitlements1Params) SetLimit(limit *int32)

SetLimit adds the limit to the query entitlements 1 params

func (*QueryEntitlements1Params) SetNamespace added in v0.43.0

func (o *QueryEntitlements1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the query entitlements 1 params

func (*QueryEntitlements1Params) SetOffset added in v0.43.0

func (o *QueryEntitlements1Params) SetOffset(offset *int32)

SetOffset adds the offset to the query entitlements 1 params

func (*QueryEntitlements1Params) SetTimeout added in v0.43.0

func (o *QueryEntitlements1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query entitlements 1 params

func (*QueryEntitlements1Params) WithActiveOnly added in v0.43.0

func (o *QueryEntitlements1Params) WithActiveOnly(activeOnly *bool) *QueryEntitlements1Params

WithActiveOnly adds the activeOnly to the query entitlements 1 params

func (*QueryEntitlements1Params) WithContext added in v0.43.0

WithContext adds the context to the query entitlements 1 params

func (*QueryEntitlements1Params) WithHTTPClient added in v0.43.0

func (o *QueryEntitlements1Params) WithHTTPClient(client *http.Client) *QueryEntitlements1Params

WithHTTPClient adds the HTTPClient to the query entitlements 1 params

func (*QueryEntitlements1Params) WithItemIds added in v0.43.0

func (o *QueryEntitlements1Params) WithItemIds(itemIds []string) *QueryEntitlements1Params

WithItemIds adds the itemIds to the query entitlements 1 params

func (*QueryEntitlements1Params) WithLimit added in v0.43.0

WithLimit adds the limit to the query entitlements 1 params

func (*QueryEntitlements1Params) WithNamespace added in v0.43.0

func (o *QueryEntitlements1Params) WithNamespace(namespace string) *QueryEntitlements1Params

WithNamespace adds the namespace to the query entitlements 1 params

func (*QueryEntitlements1Params) WithOffset added in v0.43.0

WithOffset adds the offset to the query entitlements 1 params

func (*QueryEntitlements1Params) WithTimeout added in v0.43.0

WithTimeout adds the timeout to the query entitlements 1 params

func (*QueryEntitlements1Params) WriteToRequest added in v0.43.0

WriteToRequest writes these params to a swagger request

type QueryEntitlements1Reader added in v0.43.0

type QueryEntitlements1Reader struct {
	// contains filtered or unexported fields
}

QueryEntitlements1Reader is a Reader for the QueryEntitlements1 structure.

func (*QueryEntitlements1Reader) ReadResponse added in v0.43.0

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 added in v0.25.0

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 added in v0.17.0

func (o *QueryEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query entitlements params

func (*QueryEntitlementsParams) SetContext

func (o *QueryEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the query entitlements params

func (*QueryEntitlementsParams) SetEntitlementClazz

func (o *QueryEntitlementsParams) SetEntitlementClazz(entitlementClazz *string)

SetEntitlementClazz adds the entitlementClazz to the query entitlements params

func (*QueryEntitlementsParams) SetEntitlementName

func (o *QueryEntitlementsParams) SetEntitlementName(entitlementName *string)

SetEntitlementName adds the entitlementName to the query entitlements params

func (*QueryEntitlementsParams) SetFlightId added in v0.63.0

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 added in v0.19.0

func (o *QueryEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query entitlements params

func (*QueryEntitlementsParams) SetItemID

func (o *QueryEntitlementsParams) SetItemID(itemID []string)

SetItemID adds the itemId to the query entitlements params

func (*QueryEntitlementsParams) SetLimit

func (o *QueryEntitlementsParams) SetLimit(limit *int32)

SetLimit adds the limit to the query entitlements params

func (*QueryEntitlementsParams) SetNamespace

func (o *QueryEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query entitlements params

func (*QueryEntitlementsParams) SetOffset

func (o *QueryEntitlementsParams) SetOffset(offset *int32)

SetOffset adds the offset to the query entitlements params

func (*QueryEntitlementsParams) SetOrigin added in v0.61.0

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 added in v0.61.0

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 added in v0.25.0

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 added in v0.17.0

func (o *QueryUserEntitlementsByAppTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetContext

SetContext adds the context to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetFlightId added in v0.63.0

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 added in v0.19.0

func (o *QueryUserEntitlementsByAppTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetLimit

func (o *QueryUserEntitlementsByAppTypeParams) SetLimit(limit *int32)

SetLimit adds the limit to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetNamespace

func (o *QueryUserEntitlementsByAppTypeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetOffset

func (o *QueryUserEntitlementsByAppTypeParams) SetOffset(offset *int32)

SetOffset adds the offset to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetTimeout

func (o *QueryUserEntitlementsByAppTypeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) SetUserID

func (o *QueryUserEntitlementsByAppTypeParams) SetUserID(userID string)

SetUserID adds the userId to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithActiveOnly

WithActiveOnly adds the activeOnly to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithAppType

WithAppType adds the appType to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithContext

WithContext adds the context to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithLimit

WithLimit adds the limit to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithNamespace

WithNamespace adds the namespace to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithOffset

WithOffset adds the offset to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithTimeout

WithTimeout adds the timeout to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WithUserID

WithUserID adds the userID to the query user entitlements by app type params

func (*QueryUserEntitlementsByAppTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryUserEntitlementsByAppTypeReader

type QueryUserEntitlementsByAppTypeReader struct {
	// contains filtered or unexported fields
}

QueryUserEntitlementsByAppTypeReader is a Reader for the QueryUserEntitlementsByAppType structure.

func (*QueryUserEntitlementsByAppTypeReader) ReadResponse

func (o *QueryUserEntitlementsByAppTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryUserEntitlementsOK

type QueryUserEntitlementsOK struct {
	Payload *platformclientmodels.EntitlementPagingSlicedResult
}

QueryUserEntitlementsOK handles this case with default header values.

successful operation

func NewQueryUserEntitlementsOK

func NewQueryUserEntitlementsOK() *QueryUserEntitlementsOK

NewQueryUserEntitlementsOK creates a QueryUserEntitlementsOK with default headers values

func (*QueryUserEntitlementsOK) Error

func (o *QueryUserEntitlementsOK) Error() string

func (*QueryUserEntitlementsOK) GetPayload

func (*QueryUserEntitlementsOK) ToJSONString added in v0.25.0

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 added in v0.17.0

func (o *QueryUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query user entitlements params

func (*QueryUserEntitlementsParams) SetCollectionID added in v0.63.0

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 added in v0.25.0

func (o *QueryUserEntitlementsParams) SetFeatures(features []string)

SetFeatures adds the features to the query user entitlements params

func (*QueryUserEntitlementsParams) SetFlightId added in v0.63.0

func (o *QueryUserEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryUserEntitlementsParams) SetFuzzyMatchName added in v0.61.0

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 added in v0.19.0

func (o *QueryUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query user entitlements params

func (*QueryUserEntitlementsParams) SetItemID

func (o *QueryUserEntitlementsParams) SetItemID(itemID []string)

SetItemID adds the itemId to the query user entitlements params

func (*QueryUserEntitlementsParams) SetLimit

func (o *QueryUserEntitlementsParams) SetLimit(limit *int32)

SetLimit adds the limit to the query user entitlements params

func (*QueryUserEntitlementsParams) SetNamespace

func (o *QueryUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user entitlements params

func (*QueryUserEntitlementsParams) SetOffset

func (o *QueryUserEntitlementsParams) SetOffset(offset *int32)

SetOffset adds the offset to the query user entitlements params

func (*QueryUserEntitlementsParams) SetOrigin added in v0.61.0

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 added in v0.63.0

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 added in v0.25.0

func (o *QueryUserEntitlementsParams) WithFeatures(features []string) *QueryUserEntitlementsParams

WithFeatures adds the features to the query user entitlements params

func (*QueryUserEntitlementsParams) WithFuzzyMatchName added in v0.61.0

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 added in v0.61.0

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 added in v0.42.0

type RevokeAllEntitlementsOK struct {
	Payload *platformclientmodels.BulkOperationResult
}

RevokeAllEntitlementsOK handles this case with default header values.

successful operation

func NewRevokeAllEntitlementsOK added in v0.42.0

func NewRevokeAllEntitlementsOK() *RevokeAllEntitlementsOK

NewRevokeAllEntitlementsOK creates a RevokeAllEntitlementsOK with default headers values

func (*RevokeAllEntitlementsOK) Error added in v0.42.0

func (o *RevokeAllEntitlementsOK) Error() string

func (*RevokeAllEntitlementsOK) GetPayload added in v0.42.0

func (*RevokeAllEntitlementsOK) ToJSONString added in v0.42.0

func (o *RevokeAllEntitlementsOK) ToJSONString() string

type RevokeAllEntitlementsParams added in v0.42.0

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 added in v0.42.0

func NewRevokeAllEntitlementsParams() *RevokeAllEntitlementsParams

NewRevokeAllEntitlementsParams creates a new RevokeAllEntitlementsParams object with the default values initialized.

func NewRevokeAllEntitlementsParamsWithContext added in v0.42.0

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 added in v0.42.0

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 added in v0.42.0

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 added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetContext added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetFlightId added in v0.63.0

func (o *RevokeAllEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeAllEntitlementsParams) SetHTTPClient added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetHTTPClientTransport added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetNamespace added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetTimeout added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) SetUserID added in v0.42.0

func (o *RevokeAllEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithContext added in v0.42.0

WithContext adds the context to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithHTTPClient added in v0.42.0

WithHTTPClient adds the HTTPClient to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithNamespace added in v0.42.0

func (o *RevokeAllEntitlementsParams) WithNamespace(namespace string) *RevokeAllEntitlementsParams

WithNamespace adds the namespace to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithTimeout added in v0.42.0

WithTimeout adds the timeout to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WithUserID added in v0.42.0

WithUserID adds the userID to the revoke all entitlements params

func (*RevokeAllEntitlementsParams) WriteToRequest added in v0.42.0

WriteToRequest writes these params to a swagger request

type RevokeAllEntitlementsReader added in v0.42.0

type RevokeAllEntitlementsReader struct {
	// contains filtered or unexported fields
}

RevokeAllEntitlementsReader is a Reader for the RevokeAllEntitlements structure.

func (*RevokeAllEntitlementsReader) ReadResponse added in v0.42.0

func (o *RevokeAllEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeEntitlementsOK added in v0.43.0

type RevokeEntitlementsOK struct {
	Payload *platformclientmodels.BulkEntitlementRevokeResult
}

RevokeEntitlementsOK handles this case with default header values.

successful operation

func NewRevokeEntitlementsOK added in v0.43.0

func NewRevokeEntitlementsOK() *RevokeEntitlementsOK

NewRevokeEntitlementsOK creates a RevokeEntitlementsOK with default headers values

func (*RevokeEntitlementsOK) Error added in v0.43.0

func (o *RevokeEntitlementsOK) Error() string

func (*RevokeEntitlementsOK) GetPayload added in v0.43.0

func (*RevokeEntitlementsOK) ToJSONString added in v0.43.0

func (o *RevokeEntitlementsOK) ToJSONString() string

type RevokeEntitlementsParams added in v0.43.0

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 added in v0.43.0

func NewRevokeEntitlementsParams() *RevokeEntitlementsParams

NewRevokeEntitlementsParams creates a new RevokeEntitlementsParams object with the default values initialized.

func NewRevokeEntitlementsParamsWithContext added in v0.43.0

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 added in v0.43.0

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 added in v0.43.0

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 added in v0.43.0

func (o *RevokeEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke entitlements params

func (*RevokeEntitlementsParams) SetBody added in v0.43.0

func (o *RevokeEntitlementsParams) SetBody(body []string)

SetBody adds the body to the revoke entitlements params

func (*RevokeEntitlementsParams) SetContext added in v0.43.0

func (o *RevokeEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke entitlements params

func (*RevokeEntitlementsParams) SetFlightId added in v0.63.0

func (o *RevokeEntitlementsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeEntitlementsParams) SetHTTPClient added in v0.43.0

func (o *RevokeEntitlementsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke entitlements params

func (*RevokeEntitlementsParams) SetHTTPClientTransport added in v0.43.0

func (o *RevokeEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke entitlements params

func (*RevokeEntitlementsParams) SetNamespace added in v0.43.0

func (o *RevokeEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke entitlements params

func (*RevokeEntitlementsParams) SetTimeout added in v0.43.0

func (o *RevokeEntitlementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke entitlements params

func (*RevokeEntitlementsParams) WithBody added in v0.43.0

WithBody adds the body to the revoke entitlements params

func (*RevokeEntitlementsParams) WithContext added in v0.43.0

WithContext adds the context to the revoke entitlements params

func (*RevokeEntitlementsParams) WithHTTPClient added in v0.43.0

func (o *RevokeEntitlementsParams) WithHTTPClient(client *http.Client) *RevokeEntitlementsParams

WithHTTPClient adds the HTTPClient to the revoke entitlements params

func (*RevokeEntitlementsParams) WithNamespace added in v0.43.0

func (o *RevokeEntitlementsParams) WithNamespace(namespace string) *RevokeEntitlementsParams

WithNamespace adds the namespace to the revoke entitlements params

func (*RevokeEntitlementsParams) WithTimeout added in v0.43.0

WithTimeout adds the timeout to the revoke entitlements params

func (*RevokeEntitlementsParams) WriteToRequest added in v0.43.0

WriteToRequest writes these params to a swagger request

type RevokeEntitlementsReader added in v0.43.0

type RevokeEntitlementsReader struct {
	// contains filtered or unexported fields
}

RevokeEntitlementsReader is a Reader for the RevokeEntitlements structure.

func (*RevokeEntitlementsReader) ReadResponse added in v0.43.0

func (o *RevokeEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeEntitlementsUnprocessableEntity added in v0.43.0

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 added in v0.43.0

func NewRevokeEntitlementsUnprocessableEntity() *RevokeEntitlementsUnprocessableEntity

NewRevokeEntitlementsUnprocessableEntity creates a RevokeEntitlementsUnprocessableEntity with default headers values

func (*RevokeEntitlementsUnprocessableEntity) Error added in v0.43.0

func (*RevokeEntitlementsUnprocessableEntity) GetPayload added in v0.43.0

func (*RevokeEntitlementsUnprocessableEntity) ToJSONString added in v0.43.0

type RevokeUseCountNotFound added in v0.42.0

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 added in v0.42.0

func NewRevokeUseCountNotFound() *RevokeUseCountNotFound

NewRevokeUseCountNotFound creates a RevokeUseCountNotFound with default headers values

func (*RevokeUseCountNotFound) Error added in v0.42.0

func (o *RevokeUseCountNotFound) Error() string

func (*RevokeUseCountNotFound) GetPayload added in v0.42.0

func (*RevokeUseCountNotFound) ToJSONString added in v0.42.0

func (o *RevokeUseCountNotFound) ToJSONString() string

type RevokeUseCountOK added in v0.42.0

type RevokeUseCountOK struct {
	Payload *platformclientmodels.EntitlementInfo
}

RevokeUseCountOK handles this case with default header values.

successful operation

func NewRevokeUseCountOK added in v0.42.0

func NewRevokeUseCountOK() *RevokeUseCountOK

NewRevokeUseCountOK creates a RevokeUseCountOK with default headers values

func (*RevokeUseCountOK) Error added in v0.42.0

func (o *RevokeUseCountOK) Error() string

func (*RevokeUseCountOK) GetPayload added in v0.42.0

func (*RevokeUseCountOK) ToJSONString added in v0.42.0

func (o *RevokeUseCountOK) ToJSONString() string

type RevokeUseCountParams added in v0.42.0

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 added in v0.42.0

func NewRevokeUseCountParams() *RevokeUseCountParams

NewRevokeUseCountParams creates a new RevokeUseCountParams object with the default values initialized.

func NewRevokeUseCountParamsWithContext added in v0.42.0

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 added in v0.42.0

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 added in v0.42.0

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 added in v0.42.0

func (o *RevokeUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke use count params

func (*RevokeUseCountParams) SetBody added in v0.42.0

SetBody adds the body to the revoke use count params

func (*RevokeUseCountParams) SetContext added in v0.42.0

func (o *RevokeUseCountParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke use count params

func (*RevokeUseCountParams) SetEntitlementID added in v0.42.0

func (o *RevokeUseCountParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke use count params

func (*RevokeUseCountParams) SetFlightId added in v0.63.0

func (o *RevokeUseCountParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeUseCountParams) SetHTTPClient added in v0.42.0

func (o *RevokeUseCountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke use count params

func (*RevokeUseCountParams) SetHTTPClientTransport added in v0.42.0

func (o *RevokeUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke use count params

func (*RevokeUseCountParams) SetNamespace added in v0.42.0

func (o *RevokeUseCountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke use count params

func (*RevokeUseCountParams) SetTimeout added in v0.42.0

func (o *RevokeUseCountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke use count params

func (*RevokeUseCountParams) SetUserID added in v0.42.0

func (o *RevokeUseCountParams) SetUserID(userID string)

SetUserID adds the userId to the revoke use count params

func (*RevokeUseCountParams) WithBody added in v0.42.0

WithBody adds the body to the revoke use count params

func (*RevokeUseCountParams) WithContext added in v0.42.0

WithContext adds the context to the revoke use count params

func (*RevokeUseCountParams) WithEntitlementID added in v0.42.0

func (o *RevokeUseCountParams) WithEntitlementID(entitlementID string) *RevokeUseCountParams

WithEntitlementID adds the entitlementID to the revoke use count params

func (*RevokeUseCountParams) WithHTTPClient added in v0.42.0

func (o *RevokeUseCountParams) WithHTTPClient(client *http.Client) *RevokeUseCountParams

WithHTTPClient adds the HTTPClient to the revoke use count params

func (*RevokeUseCountParams) WithNamespace added in v0.42.0

func (o *RevokeUseCountParams) WithNamespace(namespace string) *RevokeUseCountParams

WithNamespace adds the namespace to the revoke use count params

func (*RevokeUseCountParams) WithTimeout added in v0.42.0

func (o *RevokeUseCountParams) WithTimeout(timeout time.Duration) *RevokeUseCountParams

WithTimeout adds the timeout to the revoke use count params

func (*RevokeUseCountParams) WithUserID added in v0.42.0

func (o *RevokeUseCountParams) WithUserID(userID string) *RevokeUseCountParams

WithUserID adds the userID to the revoke use count params

func (*RevokeUseCountParams) WriteToRequest added in v0.42.0

func (o *RevokeUseCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RevokeUseCountReader added in v0.42.0

type RevokeUseCountReader struct {
	// contains filtered or unexported fields
}

RevokeUseCountReader is a Reader for the RevokeUseCount structure.

func (*RevokeUseCountReader) ReadResponse added in v0.42.0

func (o *RevokeUseCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeUserEntitlementByUseCountNotFound added in v0.60.0

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 added in v0.60.0

func NewRevokeUserEntitlementByUseCountNotFound() *RevokeUserEntitlementByUseCountNotFound

NewRevokeUserEntitlementByUseCountNotFound creates a RevokeUserEntitlementByUseCountNotFound with default headers values

func (*RevokeUserEntitlementByUseCountNotFound) Error added in v0.60.0

func (*RevokeUserEntitlementByUseCountNotFound) GetPayload added in v0.60.0

func (*RevokeUserEntitlementByUseCountNotFound) ToJSONString added in v0.60.0

type RevokeUserEntitlementByUseCountOK added in v0.60.0

type RevokeUserEntitlementByUseCountOK struct {
	Payload *platformclientmodels.EntitlementIfc
}

RevokeUserEntitlementByUseCountOK handles this case with default header values.

successful operation

func NewRevokeUserEntitlementByUseCountOK added in v0.60.0

func NewRevokeUserEntitlementByUseCountOK() *RevokeUserEntitlementByUseCountOK

NewRevokeUserEntitlementByUseCountOK creates a RevokeUserEntitlementByUseCountOK with default headers values

func (*RevokeUserEntitlementByUseCountOK) Error added in v0.60.0

func (*RevokeUserEntitlementByUseCountOK) GetPayload added in v0.60.0

func (*RevokeUserEntitlementByUseCountOK) ToJSONString added in v0.60.0

func (o *RevokeUserEntitlementByUseCountOK) ToJSONString() string

type RevokeUserEntitlementByUseCountParams added in v0.60.0

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 added in v0.60.0

func NewRevokeUserEntitlementByUseCountParams() *RevokeUserEntitlementByUseCountParams

NewRevokeUserEntitlementByUseCountParams creates a new RevokeUserEntitlementByUseCountParams object with the default values initialized.

func NewRevokeUserEntitlementByUseCountParamsWithContext added in v0.60.0

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 added in v0.60.0

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 added in v0.60.0

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 added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetBody added in v0.60.0

SetBody adds the body to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetContext added in v0.60.0

SetContext adds the context to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetEntitlementID added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetFlightId added in v0.63.0

func (o *RevokeUserEntitlementByUseCountParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RevokeUserEntitlementByUseCountParams) SetHTTPClient added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetHTTPClientTransport added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetNamespace added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetTimeout added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) SetUserID added in v0.60.0

func (o *RevokeUserEntitlementByUseCountParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithBody added in v0.60.0

WithBody adds the body to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithContext added in v0.60.0

WithContext adds the context to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithEntitlementID added in v0.60.0

WithEntitlementID adds the entitlementID to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithHTTPClient added in v0.60.0

WithHTTPClient adds the HTTPClient to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithNamespace added in v0.60.0

WithNamespace adds the namespace to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithTimeout added in v0.60.0

WithTimeout adds the timeout to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WithUserID added in v0.60.0

WithUserID adds the userID to the revoke user entitlement by use count params

func (*RevokeUserEntitlementByUseCountParams) WriteToRequest added in v0.60.0

WriteToRequest writes these params to a swagger request

type RevokeUserEntitlementByUseCountReader added in v0.60.0

type RevokeUserEntitlementByUseCountReader struct {
	// contains filtered or unexported fields
}

RevokeUserEntitlementByUseCountReader is a Reader for the RevokeUserEntitlementByUseCount structure.

func (*RevokeUserEntitlementByUseCountReader) ReadResponse added in v0.60.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

func (o *RevokeUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetContext

func (o *RevokeUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetEntitlementID

func (o *RevokeUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetFlightId added in v0.63.0

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 added in v0.19.0

func (o *RevokeUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetNamespace

func (o *RevokeUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetTimeout

func (o *RevokeUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke user entitlement params

func (*RevokeUserEntitlementParams) SetUserID

func (o *RevokeUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithContext

WithContext adds the context to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithEntitlementID

func (o *RevokeUserEntitlementParams) WithEntitlementID(entitlementID string) *RevokeUserEntitlementParams

WithEntitlementID adds the entitlementID to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithNamespace

func (o *RevokeUserEntitlementParams) WithNamespace(namespace string) *RevokeUserEntitlementParams

WithNamespace adds the namespace to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WithUserID

WithUserID adds the userID to the revoke user entitlement params

func (*RevokeUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeUserEntitlementReader

type RevokeUserEntitlementReader struct {
	// contains filtered or unexported fields
}

RevokeUserEntitlementReader is a Reader for the RevokeUserEntitlement structure.

func (*RevokeUserEntitlementReader) ReadResponse

func (o *RevokeUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeUserEntitlementsOK

type RevokeUserEntitlementsOK struct {
	Payload *platformclientmodels.BulkOperationResult
}

RevokeUserEntitlementsOK handles this case with default header values.

successful operation

func NewRevokeUserEntitlementsOK

func NewRevokeUserEntitlementsOK() *RevokeUserEntitlementsOK

NewRevokeUserEntitlementsOK creates a RevokeUserEntitlementsOK with default headers values

func (*RevokeUserEntitlementsOK) Error

func (o *RevokeUserEntitlementsOK) Error() string

func (*RevokeUserEntitlementsOK) GetPayload

func (*RevokeUserEntitlementsOK) ToJSONString added in v0.25.0

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 added in v0.17.0

func (o *RevokeUserEntitlementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetContext

func (o *RevokeUserEntitlementsParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetEntitlementIds

func (o *RevokeUserEntitlementsParams) SetEntitlementIds(entitlementIds string)

SetEntitlementIds adds the entitlementIds to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetFlightId added in v0.63.0

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 added in v0.19.0

func (o *RevokeUserEntitlementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetNamespace

func (o *RevokeUserEntitlementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetTimeout

func (o *RevokeUserEntitlementsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) SetUserID

func (o *RevokeUserEntitlementsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithContext

WithContext adds the context to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithEntitlementIds

func (o *RevokeUserEntitlementsParams) WithEntitlementIds(entitlementIds string) *RevokeUserEntitlementsParams

WithEntitlementIds adds the entitlementIds to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithNamespace

WithNamespace adds the namespace to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithTimeout

WithTimeout adds the timeout to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WithUserID

WithUserID adds the userID to the revoke user entitlements params

func (*RevokeUserEntitlementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeUserEntitlementsReader

type RevokeUserEntitlementsReader struct {
	// contains filtered or unexported fields
}

RevokeUserEntitlementsReader is a Reader for the RevokeUserEntitlements structure.

func (*RevokeUserEntitlementsReader) ReadResponse

func (o *RevokeUserEntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SellUserEntitlementConflict added in v0.41.0

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 added in v0.41.0

func NewSellUserEntitlementConflict() *SellUserEntitlementConflict

NewSellUserEntitlementConflict creates a SellUserEntitlementConflict with default headers values

func (*SellUserEntitlementConflict) Error added in v0.41.0

func (*SellUserEntitlementConflict) GetPayload added in v0.41.0

func (*SellUserEntitlementConflict) ToJSONString added in v0.41.0

func (o *SellUserEntitlementConflict) ToJSONString() string

type SellUserEntitlementNotFound added in v0.41.0

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 added in v0.41.0

func NewSellUserEntitlementNotFound() *SellUserEntitlementNotFound

NewSellUserEntitlementNotFound creates a SellUserEntitlementNotFound with default headers values

func (*SellUserEntitlementNotFound) Error added in v0.41.0

func (*SellUserEntitlementNotFound) GetPayload added in v0.41.0

func (*SellUserEntitlementNotFound) ToJSONString added in v0.41.0

func (o *SellUserEntitlementNotFound) ToJSONString() string

type SellUserEntitlementOK added in v0.41.0

type SellUserEntitlementOK struct {
	Payload *platformclientmodels.EntitlementSoldResult
}

SellUserEntitlementOK handles this case with default header values.

successful operation

func NewSellUserEntitlementOK added in v0.41.0

func NewSellUserEntitlementOK() *SellUserEntitlementOK

NewSellUserEntitlementOK creates a SellUserEntitlementOK with default headers values

func (*SellUserEntitlementOK) Error added in v0.41.0

func (o *SellUserEntitlementOK) Error() string

func (*SellUserEntitlementOK) GetPayload added in v0.41.0

func (*SellUserEntitlementOK) ToJSONString added in v0.41.0

func (o *SellUserEntitlementOK) ToJSONString() string

type SellUserEntitlementParams added in v0.41.0

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 added in v0.41.0

func NewSellUserEntitlementParams() *SellUserEntitlementParams

NewSellUserEntitlementParams creates a new SellUserEntitlementParams object with the default values initialized.

func NewSellUserEntitlementParamsWithContext added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

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 added in v0.41.0

func (o *SellUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the sell user entitlement params

func (*SellUserEntitlementParams) SetBody added in v0.41.0

SetBody adds the body to the sell user entitlement params

func (*SellUserEntitlementParams) SetContext added in v0.41.0

func (o *SellUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the sell user entitlement params

func (*SellUserEntitlementParams) SetEntitlementID added in v0.41.0

func (o *SellUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the sell user entitlement params

func (*SellUserEntitlementParams) SetFlightId added in v0.63.0

func (o *SellUserEntitlementParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*SellUserEntitlementParams) SetHTTPClient added in v0.41.0

func (o *SellUserEntitlementParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sell user entitlement params

func (*SellUserEntitlementParams) SetHTTPClientTransport added in v0.41.0

func (o *SellUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the sell user entitlement params

func (*SellUserEntitlementParams) SetNamespace added in v0.41.0

func (o *SellUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the sell user entitlement params

func (*SellUserEntitlementParams) SetTimeout added in v0.41.0

func (o *SellUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sell user entitlement params

func (*SellUserEntitlementParams) SetUserID added in v0.41.0

func (o *SellUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the sell user entitlement params

func (*SellUserEntitlementParams) WithBody added in v0.41.0

WithBody adds the body to the sell user entitlement params

func (*SellUserEntitlementParams) WithContext added in v0.41.0

WithContext adds the context to the sell user entitlement params

func (*SellUserEntitlementParams) WithEntitlementID added in v0.41.0

func (o *SellUserEntitlementParams) WithEntitlementID(entitlementID string) *SellUserEntitlementParams

WithEntitlementID adds the entitlementID to the sell user entitlement params

func (*SellUserEntitlementParams) WithHTTPClient added in v0.41.0

func (o *SellUserEntitlementParams) WithHTTPClient(client *http.Client) *SellUserEntitlementParams

WithHTTPClient adds the HTTPClient to the sell user entitlement params

func (*SellUserEntitlementParams) WithNamespace added in v0.41.0

func (o *SellUserEntitlementParams) WithNamespace(namespace string) *SellUserEntitlementParams

WithNamespace adds the namespace to the sell user entitlement params

func (*SellUserEntitlementParams) WithTimeout added in v0.41.0

WithTimeout adds the timeout to the sell user entitlement params

func (*SellUserEntitlementParams) WithUserID added in v0.41.0

WithUserID adds the userID to the sell user entitlement params

func (*SellUserEntitlementParams) WriteToRequest added in v0.41.0

WriteToRequest writes these params to a swagger request

type SellUserEntitlementReader added in v0.41.0

type SellUserEntitlementReader struct {
	// contains filtered or unexported fields
}

SellUserEntitlementReader is a Reader for the SellUserEntitlement structure.

func (*SellUserEntitlementReader) ReadResponse added in v0.41.0

func (o *SellUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePlatformEntitlementConfigNotFound added in v0.61.0

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 added in v0.61.0

func NewUpdatePlatformEntitlementConfigNotFound() *UpdatePlatformEntitlementConfigNotFound

NewUpdatePlatformEntitlementConfigNotFound creates a UpdatePlatformEntitlementConfigNotFound with default headers values

func (*UpdatePlatformEntitlementConfigNotFound) Error added in v0.61.0

func (*UpdatePlatformEntitlementConfigNotFound) GetPayload added in v0.61.0

func (*UpdatePlatformEntitlementConfigNotFound) ToJSONString added in v0.61.0

type UpdatePlatformEntitlementConfigOK added in v0.61.0

type UpdatePlatformEntitlementConfigOK struct {
	Payload *platformclientmodels.EntitlementPlatformConfigInfo
}

UpdatePlatformEntitlementConfigOK handles this case with default header values.

successful operation

func NewUpdatePlatformEntitlementConfigOK added in v0.61.0

func NewUpdatePlatformEntitlementConfigOK() *UpdatePlatformEntitlementConfigOK

NewUpdatePlatformEntitlementConfigOK creates a UpdatePlatformEntitlementConfigOK with default headers values

func (*UpdatePlatformEntitlementConfigOK) Error added in v0.61.0

func (*UpdatePlatformEntitlementConfigOK) GetPayload added in v0.61.0

func (*UpdatePlatformEntitlementConfigOK) ToJSONString added in v0.61.0

func (o *UpdatePlatformEntitlementConfigOK) ToJSONString() string

type UpdatePlatformEntitlementConfigParams added in v0.61.0

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 added in v0.61.0

func NewUpdatePlatformEntitlementConfigParams() *UpdatePlatformEntitlementConfigParams

NewUpdatePlatformEntitlementConfigParams creates a new UpdatePlatformEntitlementConfigParams object with the default values initialized.

func NewUpdatePlatformEntitlementConfigParamsWithContext added in v0.61.0

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 added in v0.61.0

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 added in v0.61.0

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 added in v0.61.0

func (o *UpdatePlatformEntitlementConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetBody added in v0.61.0

SetBody adds the body to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetContext added in v0.61.0

SetContext adds the context to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetFlightId added in v0.63.0

func (o *UpdatePlatformEntitlementConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdatePlatformEntitlementConfigParams) SetHTTPClient added in v0.61.0

func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport added in v0.61.0

func (o *UpdatePlatformEntitlementConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetNamespace added in v0.61.0

func (o *UpdatePlatformEntitlementConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetPlatform added in v0.61.0

func (o *UpdatePlatformEntitlementConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) SetTimeout added in v0.61.0

func (o *UpdatePlatformEntitlementConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithBody added in v0.61.0

WithBody adds the body to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithContext added in v0.61.0

WithContext adds the context to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithHTTPClient added in v0.61.0

WithHTTPClient adds the HTTPClient to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithNamespace added in v0.61.0

WithNamespace adds the namespace to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithPlatform added in v0.61.0

WithPlatform adds the platform to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WithTimeout added in v0.61.0

WithTimeout adds the timeout to the update platform entitlement config params

func (*UpdatePlatformEntitlementConfigParams) WriteToRequest added in v0.61.0

WriteToRequest writes these params to a swagger request

type UpdatePlatformEntitlementConfigReader added in v0.61.0

type UpdatePlatformEntitlementConfigReader struct {
	// contains filtered or unexported fields
}

UpdatePlatformEntitlementConfigReader is a Reader for the UpdatePlatformEntitlementConfig structure.

func (*UpdatePlatformEntitlementConfigReader) ReadResponse added in v0.61.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

func (o *UpdateUserEntitlementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update user entitlement params

func (*UpdateUserEntitlementParams) SetBody

SetBody adds the body to the update user entitlement params

func (*UpdateUserEntitlementParams) SetContext

func (o *UpdateUserEntitlementParams) SetContext(ctx context.Context)

SetContext adds the context to the update user entitlement params

func (*UpdateUserEntitlementParams) SetEntitlementID

func (o *UpdateUserEntitlementParams) SetEntitlementID(entitlementID string)

SetEntitlementID adds the entitlementId to the update user entitlement params

func (*UpdateUserEntitlementParams) SetFlightId added in v0.63.0

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 added in v0.19.0

func (o *UpdateUserEntitlementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update user entitlement params

func (*UpdateUserEntitlementParams) SetNamespace

func (o *UpdateUserEntitlementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update user entitlement params

func (*UpdateUserEntitlementParams) SetTimeout

func (o *UpdateUserEntitlementParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update user entitlement params

func (*UpdateUserEntitlementParams) SetUserID

func (o *UpdateUserEntitlementParams) SetUserID(userID string)

SetUserID adds the userId to the update user entitlement params

func (*UpdateUserEntitlementParams) WithBody

WithBody adds the body to the update user entitlement params

func (*UpdateUserEntitlementParams) WithContext

WithContext adds the context to the update user entitlement params

func (*UpdateUserEntitlementParams) WithEntitlementID

func (o *UpdateUserEntitlementParams) WithEntitlementID(entitlementID string) *UpdateUserEntitlementParams

WithEntitlementID adds the entitlementID to the update user entitlement params

func (*UpdateUserEntitlementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update user entitlement params

func (*UpdateUserEntitlementParams) WithNamespace

func (o *UpdateUserEntitlementParams) WithNamespace(namespace string) *UpdateUserEntitlementParams

WithNamespace adds the namespace to the update user entitlement params

func (*UpdateUserEntitlementParams) WithTimeout

WithTimeout adds the timeout to the update user entitlement params

func (*UpdateUserEntitlementParams) WithUserID

WithUserID adds the userID to the update user entitlement params

func (*UpdateUserEntitlementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateUserEntitlementReader

type UpdateUserEntitlementReader struct {
	// contains filtered or unexported fields
}

UpdateUserEntitlementReader is a Reader for the UpdateUserEntitlement structure.

func (*UpdateUserEntitlementReader) ReadResponse

func (o *UpdateUserEntitlementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateUserEntitlementUnprocessableEntity

type UpdateUserEntitlementUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateUserEntitlementUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdateUserEntitlementUnprocessableEntity

func NewUpdateUserEntitlementUnprocessableEntity() *UpdateUserEntitlementUnprocessableEntity

NewUpdateUserEntitlementUnprocessableEntity creates a UpdateUserEntitlementUnprocessableEntity with default headers values

func (*UpdateUserEntitlementUnprocessableEntity) Error

func (*UpdateUserEntitlementUnprocessableEntity) GetPayload

func (*UpdateUserEntitlementUnprocessableEntity) ToJSONString added in v0.25.0

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL