iamclientmodels

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreateUserRequestV4

type AccountCreateUserRequestV4 struct {

	// auth type
	// Required: true
	AuthType *string `json:"authType"`

	// country
	// Required: true
	Country *string `json:"country"`

	// date of birth
	// Required: true
	DateOfBirth *string `json:"dateOfBirth"`

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// email address
	// Required: true
	EmailAddress *string `json:"emailAddress"`

	// password
	// Required: true
	Password *string `json:"password"`

	// password m d5 sum
	// Required: true
	PasswordMD5Sum *string `json:"passwordMD5Sum"`

	// username
	// Required: true
	Username *string `json:"username"`
}

AccountCreateUserRequestV4 account create user request v4

swagger:model account.createUserRequestV4

func (*AccountCreateUserRequestV4) MarshalBinary

func (m *AccountCreateUserRequestV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountCreateUserRequestV4) UnmarshalBinary

func (m *AccountCreateUserRequestV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountCreateUserRequestV4) Validate

func (m *AccountCreateUserRequestV4) Validate(formats strfmt.Registry) error

Validate validates this account create user request v4

type AccountCreateUserResponseV4

type AccountCreateUserResponseV4 struct {

	// auth type
	// Required: true
	AuthType *string `json:"authType"`

	// country
	// Required: true
	Country *string `json:"country"`

	// date of birth
	// Required: true
	// Format: date-time
	DateOfBirth *strfmt.DateTime `json:"dateOfBirth"`

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// email address
	// Required: true
	EmailAddress *string `json:"emailAddress"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`

	// username
	// Required: true
	Username *string `json:"username"`
}

AccountCreateUserResponseV4 account create user response v4

swagger:model account.createUserResponseV4

func (*AccountCreateUserResponseV4) MarshalBinary

func (m *AccountCreateUserResponseV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountCreateUserResponseV4) UnmarshalBinary

func (m *AccountCreateUserResponseV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountCreateUserResponseV4) Validate

func (m *AccountCreateUserResponseV4) Validate(formats strfmt.Registry) error

Validate validates this account create user response v4

type AccountcommonConflictedUserPlatformAccounts

type AccountcommonConflictedUserPlatformAccounts struct {

	// platform user ID
	// Required: true
	PlatformUserID *string `json:"platformUserID"`

	// publisher accounts
	// Required: true
	PublisherAccounts []*AccountcommonUserWithLinkedPlatformAccounts `json:"publisherAccounts"`
}

AccountcommonConflictedUserPlatformAccounts accountcommon conflicted user platform accounts

swagger:model accountcommon.ConflictedUserPlatformAccounts

func (*AccountcommonConflictedUserPlatformAccounts) MarshalBinary

func (m *AccountcommonConflictedUserPlatformAccounts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonConflictedUserPlatformAccounts) UnmarshalBinary

func (m *AccountcommonConflictedUserPlatformAccounts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonConflictedUserPlatformAccounts) Validate

Validate validates this accountcommon conflicted user platform accounts

type AccountcommonJWTBan

type AccountcommonJWTBan struct {

	// ban
	// Required: true
	Ban *string `json:"Ban"`

	// end date
	// Required: true
	// Format: date-time
	EndDate *strfmt.DateTime `json:"EndDate"`
}

AccountcommonJWTBan accountcommon j w t ban

swagger:model accountcommon.JWTBan

func (*AccountcommonJWTBan) MarshalBinary

func (m *AccountcommonJWTBan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonJWTBan) UnmarshalBinary

func (m *AccountcommonJWTBan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonJWTBan) Validate

func (m *AccountcommonJWTBan) Validate(formats strfmt.Registry) error

Validate validates this accountcommon j w t ban

type AccountcommonJWTBanV3

type AccountcommonJWTBanV3 struct {

	// ban
	// Required: true
	Ban *string `json:"ban"`

	// end date
	// Required: true
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate"`
}

AccountcommonJWTBanV3 accountcommon j w t ban v3

swagger:model accountcommon.JWTBanV3

func (*AccountcommonJWTBanV3) MarshalBinary

func (m *AccountcommonJWTBanV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonJWTBanV3) UnmarshalBinary

func (m *AccountcommonJWTBanV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonJWTBanV3) Validate

func (m *AccountcommonJWTBanV3) Validate(formats strfmt.Registry) error

Validate validates this accountcommon j w t ban v3

type AccountcommonNamespaceRole

type AccountcommonNamespaceRole struct {

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// role Id
	// Required: true
	RoleID *string `json:"roleId"`
}

AccountcommonNamespaceRole accountcommon namespace role

swagger:model accountcommon.NamespaceRole

func (*AccountcommonNamespaceRole) MarshalBinary

func (m *AccountcommonNamespaceRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonNamespaceRole) UnmarshalBinary

func (m *AccountcommonNamespaceRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonNamespaceRole) Validate

func (m *AccountcommonNamespaceRole) Validate(formats strfmt.Registry) error

Validate validates this accountcommon namespace role

type AccountcommonPaginationV3

type AccountcommonPaginationV3 struct {

	// first
	// Required: true
	First *string `json:"first"`

	// last
	// Required: true
	Last *string `json:"last"`

	// next
	// Required: true
	Next *string `json:"next"`

	// previous
	// Required: true
	Previous *string `json:"previous"`
}

AccountcommonPaginationV3 accountcommon pagination v3

swagger:model accountcommon.PaginationV3

func (*AccountcommonPaginationV3) MarshalBinary

func (m *AccountcommonPaginationV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonPaginationV3) UnmarshalBinary

func (m *AccountcommonPaginationV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonPaginationV3) Validate

func (m *AccountcommonPaginationV3) Validate(formats strfmt.Registry) error

Validate validates this accountcommon pagination v3

type AccountcommonPermission

type AccountcommonPermission struct {

	// action
	// Required: true
	Action *int32 `json:"Action"`

	// resource
	// Required: true
	Resource *string `json:"Resource"`

	// sched action
	SchedAction int32 `json:"SchedAction,omitempty"`

	// sched cron
	SchedCron string `json:"SchedCron,omitempty"`

	// sched range
	SchedRange []string `json:"SchedRange"`
}

AccountcommonPermission accountcommon permission

swagger:model accountcommon.Permission

func (*AccountcommonPermission) MarshalBinary

func (m *AccountcommonPermission) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonPermission) UnmarshalBinary

func (m *AccountcommonPermission) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonPermission) Validate

func (m *AccountcommonPermission) Validate(formats strfmt.Registry) error

Validate validates this accountcommon permission

type AccountcommonPermissionV3

type AccountcommonPermissionV3 struct {

	// action
	// Required: true
	Action *int32 `json:"action"`

	// resource
	// Required: true
	Resource *string `json:"resource"`

	// sched action
	SchedAction int32 `json:"schedAction,omitempty"`

	// sched cron
	SchedCron string `json:"schedCron,omitempty"`

	// sched range
	SchedRange []string `json:"schedRange"`
}

AccountcommonPermissionV3 accountcommon permission v3

swagger:model accountcommon.PermissionV3

func (*AccountcommonPermissionV3) MarshalBinary

func (m *AccountcommonPermissionV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonPermissionV3) UnmarshalBinary

func (m *AccountcommonPermissionV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonPermissionV3) Validate

func (m *AccountcommonPermissionV3) Validate(formats strfmt.Registry) error

Validate validates this accountcommon permission v3

type AccountcommonPlatformAccount

type AccountcommonPlatformAccount struct {

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// platform user Id
	// Required: true
	PlatformUserID *string `json:"platformUserId"`
}

AccountcommonPlatformAccount accountcommon platform account

swagger:model accountcommon.PlatformAccount

func (*AccountcommonPlatformAccount) MarshalBinary

func (m *AccountcommonPlatformAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonPlatformAccount) UnmarshalBinary

func (m *AccountcommonPlatformAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonPlatformAccount) Validate

func (m *AccountcommonPlatformAccount) Validate(formats strfmt.Registry) error

Validate validates this accountcommon platform account

type AccountcommonRoleManagerV3

type AccountcommonRoleManagerV3 struct {

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

AccountcommonRoleManagerV3 accountcommon role manager v3

swagger:model accountcommon.RoleManagerV3

func (*AccountcommonRoleManagerV3) MarshalBinary

func (m *AccountcommonRoleManagerV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonRoleManagerV3) UnmarshalBinary

func (m *AccountcommonRoleManagerV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonRoleManagerV3) Validate

func (m *AccountcommonRoleManagerV3) Validate(formats strfmt.Registry) error

Validate validates this accountcommon role manager v3

type AccountcommonRoleMemberV3

type AccountcommonRoleMemberV3 struct {

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

AccountcommonRoleMemberV3 accountcommon role member v3

swagger:model accountcommon.RoleMemberV3

func (*AccountcommonRoleMemberV3) MarshalBinary

func (m *AccountcommonRoleMemberV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonRoleMemberV3) UnmarshalBinary

func (m *AccountcommonRoleMemberV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonRoleMemberV3) Validate

func (m *AccountcommonRoleMemberV3) Validate(formats strfmt.Registry) error

Validate validates this accountcommon role member v3

type AccountcommonRoleV3

type AccountcommonRoleV3 struct {

	// admin role
	// Required: true
	AdminRole *bool `json:"adminRole"`

	// managers
	// Required: true
	Managers []*AccountcommonRoleManagerV3 `json:"managers"`

	// members
	// Required: true
	Members []*AccountcommonRoleMemberV3 `json:"members"`

	// permissions
	// Required: true
	Permissions []*AccountcommonPermissionV3 `json:"permissions"`

	// role Id
	// Required: true
	RoleID *string `json:"roleId"`

	// role name
	// Required: true
	RoleName *string `json:"roleName"`
}

AccountcommonRoleV3 accountcommon role v3

swagger:model accountcommon.RoleV3

func (*AccountcommonRoleV3) MarshalBinary

func (m *AccountcommonRoleV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonRoleV3) UnmarshalBinary

func (m *AccountcommonRoleV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonRoleV3) Validate

func (m *AccountcommonRoleV3) Validate(formats strfmt.Registry) error

Validate validates this accountcommon role v3

type AccountcommonUserWithLinkedPlatformAccounts

type AccountcommonUserWithLinkedPlatformAccounts struct {

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// email address
	// Required: true
	EmailAddress *string `json:"emailAddress"`

	// linked platforms
	// Required: true
	LinkedPlatforms []*AccountcommonPlatformAccount `json:"linkedPlatforms"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

AccountcommonUserWithLinkedPlatformAccounts accountcommon user with linked platform accounts

swagger:model accountcommon.UserWithLinkedPlatformAccounts

func (*AccountcommonUserWithLinkedPlatformAccounts) MarshalBinary

func (m *AccountcommonUserWithLinkedPlatformAccounts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountcommonUserWithLinkedPlatformAccounts) UnmarshalBinary

func (m *AccountcommonUserWithLinkedPlatformAccounts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountcommonUserWithLinkedPlatformAccounts) Validate

Validate validates this accountcommon user with linked platform accounts

type ModelPublicUserInformationResponseV3

type ModelPublicUserInformationResponseV3 struct {

	// data
	// Required: true
	Data []*ModelPublicUserInformationV3 `json:"data"`

	// paging
	// Required: true
	Paging *AccountcommonPaginationV3 `json:"paging"`
}

ModelPublicUserInformationResponseV3 model public user information response v3

swagger:model model.PublicUserInformationResponseV3

func (*ModelPublicUserInformationResponseV3) MarshalBinary

func (m *ModelPublicUserInformationResponseV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPublicUserInformationResponseV3) UnmarshalBinary

func (m *ModelPublicUserInformationResponseV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPublicUserInformationResponseV3) Validate

Validate validates this model public user information response v3

type ModelPublicUserInformationV3

type ModelPublicUserInformationV3 struct {

	// country
	// Required: true
	Country *string `json:"country"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// date of birth
	// Required: true
	// Format: date-time
	DateOfBirth *strfmt.DateTime `json:"dateOfBirth"`

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// email address
	// Required: true
	EmailAddress *string `json:"emailAddress"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// phone number
	PhoneNumber string `json:"phoneNumber,omitempty"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`

	// user name
	// Required: true
	UserName *string `json:"userName"`
}

ModelPublicUserInformationV3 model public user information v3

swagger:model model.PublicUserInformationV3

func (*ModelPublicUserInformationV3) MarshalBinary

func (m *ModelPublicUserInformationV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelPublicUserInformationV3) UnmarshalBinary

func (m *ModelPublicUserInformationV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelPublicUserInformationV3) Validate

func (m *ModelPublicUserInformationV3) Validate(formats strfmt.Registry) error

Validate validates this model public user information v3

type ModelRoleCreateV3Request

type ModelRoleCreateV3Request struct {

	// admin role
	// Required: true
	AdminRole *bool `json:"adminRole"`

	// managers
	// Required: true
	Managers []*AccountcommonRoleManagerV3 `json:"managers"`

	// members
	// Required: true
	Members []*AccountcommonRoleMemberV3 `json:"members"`

	// permissions
	// Required: true
	Permissions []*AccountcommonPermissionV3 `json:"permissions"`

	// role name
	// Required: true
	RoleName *string `json:"roleName"`
}

ModelRoleCreateV3Request model role create v3 request

swagger:model model.RoleCreateV3Request

func (*ModelRoleCreateV3Request) MarshalBinary

func (m *ModelRoleCreateV3Request) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelRoleCreateV3Request) UnmarshalBinary

func (m *ModelRoleCreateV3Request) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelRoleCreateV3Request) Validate

func (m *ModelRoleCreateV3Request) Validate(formats strfmt.Registry) error

Validate validates this model role create v3 request

type ModelRoleResponseWithManagersAndPaginationV3

type ModelRoleResponseWithManagersAndPaginationV3 struct {

	// data
	// Required: true
	Data []*ModelRoleResponseWithManagersV3 `json:"data"`

	// paging
	// Required: true
	Paging *AccountcommonPaginationV3 `json:"paging"`
}

ModelRoleResponseWithManagersAndPaginationV3 model role response with managers and pagination v3

swagger:model model.RoleResponseWithManagersAndPaginationV3

func (*ModelRoleResponseWithManagersAndPaginationV3) MarshalBinary

MarshalBinary interface implementation

func (*ModelRoleResponseWithManagersAndPaginationV3) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ModelRoleResponseWithManagersAndPaginationV3) Validate

Validate validates this model role response with managers and pagination v3

type ModelRoleResponseWithManagersV3

type ModelRoleResponseWithManagersV3 struct {

	// managers
	// Required: true
	Managers []*AccountcommonRoleManagerV3 `json:"managers"`

	// permissions
	// Required: true
	Permissions []*AccountcommonPermissionV3 `json:"permissions"`

	// role Id
	// Required: true
	RoleID *string `json:"roleId"`

	// role name
	// Required: true
	RoleName *string `json:"roleName"`
}

ModelRoleResponseWithManagersV3 model role response with managers v3

swagger:model model.RoleResponseWithManagersV3

func (*ModelRoleResponseWithManagersV3) MarshalBinary

func (m *ModelRoleResponseWithManagersV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelRoleResponseWithManagersV3) UnmarshalBinary

func (m *ModelRoleResponseWithManagersV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelRoleResponseWithManagersV3) Validate

Validate validates this model role response with managers v3

type ModelUserCreateRequestV3

type ModelUserCreateRequestV3 struct {

	// password m d5 sum
	PasswordMD5Sum string `json:"PasswordMD5Sum,omitempty"`

	// auth type
	// Required: true
	AuthType *string `json:"authType"`

	// country
	// Required: true
	Country *string `json:"country"`

	// date of birth
	// Required: true
	DateOfBirth *string `json:"dateOfBirth"`

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// email address
	// Required: true
	EmailAddress *string `json:"emailAddress"`

	// password
	// Required: true
	Password *string `json:"password"`
}

ModelUserCreateRequestV3 model user create request v3

swagger:model model.UserCreateRequestV3

func (*ModelUserCreateRequestV3) MarshalBinary

func (m *ModelUserCreateRequestV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserCreateRequestV3) UnmarshalBinary

func (m *ModelUserCreateRequestV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserCreateRequestV3) Validate

func (m *ModelUserCreateRequestV3) Validate(formats strfmt.Registry) error

Validate validates this model user create request v3

type ModelUserCreateResponseV3

type ModelUserCreateResponseV3 struct {

	// auth type
	// Required: true
	AuthType *string `json:"authType"`

	// country
	// Required: true
	Country *string `json:"country"`

	// date of birth
	// Required: true
	// Format: date-time
	DateOfBirth *strfmt.DateTime `json:"dateOfBirth"`

	// display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// email address
	// Required: true
	EmailAddress *string `json:"emailAddress"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user Id
	// Required: true
	UserID *string `json:"userId"`
}

ModelUserCreateResponseV3 model user create response v3

swagger:model model.UserCreateResponseV3

func (*ModelUserCreateResponseV3) MarshalBinary

func (m *ModelUserCreateResponseV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserCreateResponseV3) UnmarshalBinary

func (m *ModelUserCreateResponseV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserCreateResponseV3) Validate

func (m *ModelUserCreateResponseV3) Validate(formats strfmt.Registry) error

Validate validates this model user create response v3

type ModelUserVerificationRequestV3

type ModelUserVerificationRequestV3 struct {

	// code
	// Required: true
	Code *string `json:"code"`

	// contact type
	// Required: true
	ContactType *string `json:"contactType"`

	// language tag
	// Required: true
	LanguageTag *string `json:"languageTag"`
}

ModelUserVerificationRequestV3 model user verification request v3

swagger:model model.UserVerificationRequestV3

func (*ModelUserVerificationRequestV3) MarshalBinary

func (m *ModelUserVerificationRequestV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelUserVerificationRequestV3) UnmarshalBinary

func (m *ModelUserVerificationRequestV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelUserVerificationRequestV3) Validate

func (m *ModelUserVerificationRequestV3) Validate(formats strfmt.Registry) error

Validate validates this model user verification request v3

type OauthmodelErrorResponse

type OauthmodelErrorResponse struct {

	// error
	// Required: true
	Error *string `json:"error"`

	// error description
	ErrorDescription string `json:"error_description,omitempty"`

	// error uri
	ErrorURI string `json:"error_uri,omitempty"`
}

OauthmodelErrorResponse oauthmodel error response

swagger:model oauthmodel.ErrorResponse

func (*OauthmodelErrorResponse) MarshalBinary

func (m *OauthmodelErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthmodelErrorResponse) UnmarshalBinary

func (m *OauthmodelErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthmodelErrorResponse) Validate

func (m *OauthmodelErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this oauthmodel error response

type OauthmodelTokenResponse

type OauthmodelTokenResponse struct {

	// access token
	// Required: true
	AccessToken *string `json:"access_token"`

	// bans
	// Required: true
	Bans []*AccountcommonJWTBan `json:"bans"`

	// display name
	// Required: true
	DisplayName *string `json:"display_name"`

	// expires in
	// Required: true
	ExpiresIn *int32 `json:"expires_in"`

	// jflgs
	Jflgs int32 `json:"jflgs,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// permissions
	// Required: true
	Permissions []*AccountcommonPermission `json:"permissions"`

	// platform id
	PlatformID string `json:"platform_id,omitempty"`

	// platform user id
	PlatformUserID string `json:"platform_user_id,omitempty"`

	// refresh token
	// Required: true
	RefreshToken *string `json:"refresh_token"`

	// roles
	// Required: true
	Roles []string `json:"roles"`

	// token type
	// Required: true
	TokenType *string `json:"token_type"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`
}

OauthmodelTokenResponse oauthmodel token response

swagger:model oauthmodel.TokenResponse

func (*OauthmodelTokenResponse) MarshalBinary

func (m *OauthmodelTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthmodelTokenResponse) UnmarshalBinary

func (m *OauthmodelTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthmodelTokenResponse) Validate

func (m *OauthmodelTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this oauthmodel token response

type OauthmodelTokenResponseV3

type OauthmodelTokenResponseV3 struct {

	// access token
	// Required: true
	AccessToken *string `json:"access_token"`

	// bans
	// Required: true
	Bans []*AccountcommonJWTBanV3 `json:"bans"`

	// display name
	// Required: true
	DisplayName *string `json:"display_name"`

	// expires in
	// Required: true
	ExpiresIn *int32 `json:"expires_in"`

	// jflgs
	Jflgs int32 `json:"jflgs,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// namespace roles
	// Required: true
	NamespaceRoles []*AccountcommonNamespaceRole `json:"namespace_roles"`

	// permissions
	// Required: true
	Permissions []*AccountcommonPermissionV3 `json:"permissions"`

	// platform id
	PlatformID string `json:"platform_id,omitempty"`

	// platform user id
	PlatformUserID string `json:"platform_user_id,omitempty"`

	// refresh token
	// Required: true
	RefreshToken *string `json:"refresh_token"`

	// roles
	// Required: true
	Roles []string `json:"roles"`

	// token type
	// Required: true
	TokenType *string `json:"token_type"`

	// user id
	// Required: true
	UserID *string `json:"user_id"`
}

OauthmodelTokenResponseV3 oauthmodel token response v3

swagger:model oauthmodel.TokenResponseV3

func (*OauthmodelTokenResponseV3) MarshalBinary

func (m *OauthmodelTokenResponseV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthmodelTokenResponseV3) UnmarshalBinary

func (m *OauthmodelTokenResponseV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthmodelTokenResponseV3) Validate

func (m *OauthmodelTokenResponseV3) Validate(formats strfmt.Registry) error

Validate validates this oauthmodel token response v3

type RestErrorResponse

type RestErrorResponse struct {

	// error code
	// Required: true
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// message variables
	MessageVariables *AccountcommonConflictedUserPlatformAccounts `json:"messageVariables,omitempty"`
}

RestErrorResponse rest error response

swagger:model rest.ErrorResponse

func (*RestErrorResponse) MarshalBinary

func (m *RestErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestErrorResponse) UnmarshalBinary

func (m *RestErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestErrorResponse) Validate

func (m *RestErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this rest error response

Jump to

Keyboard shortcuts

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