groupclientmodels

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsAssignRoleToMemberRequestV1

type ModelsAssignRoleToMemberRequestV1 struct {

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

ModelsAssignRoleToMemberRequestV1 models assign role to member request v1

swagger:model models.AssignRoleToMemberRequestV1

func (*ModelsAssignRoleToMemberRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsAssignRoleToMemberRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsAssignRoleToMemberRequestV1) Validate

Validate validates this models assign role to member request v1

type ModelsCreateGroupConfigurationRequestV1

type ModelsCreateGroupConfigurationRequestV1 struct {

	// configuration code
	// Required: true
	ConfigurationCode *string `json:"configurationCode"`

	// description
	// Required: true
	Description *string `json:"description"`

	// global rules
	// Required: true
	GlobalRules []*ModelsRule `json:"globalRules"`

	// group admin role Id
	// Required: true
	GroupAdminRoleID *string `json:"groupAdminRoleId"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// group member role Id
	// Required: true
	GroupMemberRoleID *string `json:"groupMemberRoleId"`

	// name
	// Required: true
	Name *string `json:"name"`
}

ModelsCreateGroupConfigurationRequestV1 models create group configuration request v1

swagger:model models.CreateGroupConfigurationRequestV1

func (*ModelsCreateGroupConfigurationRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateGroupConfigurationRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateGroupConfigurationRequestV1) Validate

Validate validates this models create group configuration request v1

type ModelsCreateGroupConfigurationResponseV1

type ModelsCreateGroupConfigurationResponseV1 struct {

	// configuration code
	// Required: true
	ConfigurationCode *string `json:"configurationCode"`

	// description
	// Required: true
	Description *string `json:"description"`

	// global rules
	// Required: true
	GlobalRules []*ModelsRule `json:"globalRules"`

	// group admin role Id
	// Required: true
	GroupAdminRoleID *string `json:"groupAdminRoleId"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// group member role Id
	// Required: true
	GroupMemberRoleID *string `json:"groupMemberRoleId"`

	// name
	// Required: true
	Name *string `json:"name"`
}

ModelsCreateGroupConfigurationResponseV1 models create group configuration response v1

swagger:model models.CreateGroupConfigurationResponseV1

func (*ModelsCreateGroupConfigurationResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateGroupConfigurationResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateGroupConfigurationResponseV1) Validate

Validate validates this models create group configuration response v1

type ModelsCreateMemberRoleRequestV1

type ModelsCreateMemberRoleRequestV1 struct {

	// member role name
	// Required: true
	MemberRoleName *string `json:"memberRoleName"`

	// member role permissions
	// Required: true
	MemberRolePermissions []*ModelsRolePermission `json:"memberRolePermissions"`
}

ModelsCreateMemberRoleRequestV1 models create member role request v1

swagger:model models.CreateMemberRoleRequestV1

func (*ModelsCreateMemberRoleRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateMemberRoleRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateMemberRoleRequestV1) Validate

Validate validates this models create member role request v1

type ModelsCreateMemberRoleResponseV1

type ModelsCreateMemberRoleResponseV1 struct {

	// member role Id
	// Required: true
	MemberRoleID *string `json:"memberRoleId"`

	// member role name
	// Required: true
	MemberRoleName *string `json:"memberRoleName"`

	// member role permissions
	// Required: true
	MemberRolePermissions []*ModelsRolePermission `json:"memberRolePermissions"`
}

ModelsCreateMemberRoleResponseV1 models create member role response v1

swagger:model models.CreateMemberRoleResponseV1

func (*ModelsCreateMemberRoleResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsCreateMemberRoleResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsCreateMemberRoleResponseV1) Validate

Validate validates this models create member role response v1

type ModelsGetGroupConfigurationResponseV1

type ModelsGetGroupConfigurationResponseV1 struct {

	// configuration code
	// Required: true
	ConfigurationCode *string `json:"configurationCode"`

	// description
	// Required: true
	Description *string `json:"description"`

	// global rules
	// Required: true
	GlobalRules []*ModelsRule `json:"globalRules"`

	// group admin role Id
	// Required: true
	GroupAdminRoleID *string `json:"groupAdminRoleId"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// group member role Id
	// Required: true
	GroupMemberRoleID *string `json:"groupMemberRoleId"`

	// name
	// Required: true
	Name *string `json:"name"`

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

ModelsGetGroupConfigurationResponseV1 models get group configuration response v1

swagger:model models.GetGroupConfigurationResponseV1

func (*ModelsGetGroupConfigurationResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetGroupConfigurationResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetGroupConfigurationResponseV1) Validate

Validate validates this models get group configuration response v1

type ModelsGetGroupMemberListResponseV1

type ModelsGetGroupMemberListResponseV1 struct {

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

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

ModelsGetGroupMemberListResponseV1 models get group member list response v1

swagger:model models.GetGroupMemberListResponseV1

func (*ModelsGetGroupMemberListResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetGroupMemberListResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetGroupMemberListResponseV1) Validate

Validate validates this models get group member list response v1

type ModelsGetGroupsListResponseV1

type ModelsGetGroupsListResponseV1 struct {

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

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

ModelsGetGroupsListResponseV1 models get groups list response v1

swagger:model models.GetGroupsListResponseV1

func (*ModelsGetGroupsListResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetGroupsListResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetGroupsListResponseV1) Validate

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

Validate validates this models get groups list response v1

type ModelsGetMemberRequestsListResponseV1

type ModelsGetMemberRequestsListResponseV1 struct {

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

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

ModelsGetMemberRequestsListResponseV1 models get member requests list response v1

swagger:model models.GetMemberRequestsListResponseV1

func (*ModelsGetMemberRequestsListResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetMemberRequestsListResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetMemberRequestsListResponseV1) Validate

Validate validates this models get member requests list response v1

type ModelsGetMemberRoleResponseV1

type ModelsGetMemberRoleResponseV1 struct {

	// member role Id
	// Required: true
	MemberRoleID *string `json:"memberRoleId"`

	// member role name
	// Required: true
	MemberRoleName *string `json:"memberRoleName"`

	// member role permissions
	// Required: true
	MemberRolePermissions []*ModelsRolePermission `json:"memberRolePermissions"`
}

ModelsGetMemberRoleResponseV1 models get member role response v1

swagger:model models.GetMemberRoleResponseV1

func (*ModelsGetMemberRoleResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetMemberRoleResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetMemberRoleResponseV1) Validate

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

Validate validates this models get member role response v1

type ModelsGetMemberRolesListResponseV1

type ModelsGetMemberRolesListResponseV1 struct {

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

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

ModelsGetMemberRolesListResponseV1 models get member roles list response v1

swagger:model models.GetMemberRolesListResponseV1

func (*ModelsGetMemberRolesListResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetMemberRolesListResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetMemberRolesListResponseV1) Validate

Validate validates this models get member roles list response v1

type ModelsGetUserGroupInformationResponseV1

type ModelsGetUserGroupInformationResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

	// member role Id
	// Required: true
	MemberRoleID []string `json:"memberRoleId"`

	// status
	Status string `json:"status,omitempty"`

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

ModelsGetUserGroupInformationResponseV1 models get user group information response v1

swagger:model models.GetUserGroupInformationResponseV1

func (*ModelsGetUserGroupInformationResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGetUserGroupInformationResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGetUserGroupInformationResponseV1) Validate

Validate validates this models get user group information response v1

type ModelsGroupMember

type ModelsGroupMember struct {

	// member role Id
	// Required: true
	MemberRoleID []string `json:"memberRoleId"`

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

ModelsGroupMember models group member

swagger:model models.GroupMember

func (*ModelsGroupMember) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGroupMember) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGroupMember) Validate

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

Validate validates this models group member

type ModelsGroupResponseV1

type ModelsGroupResponseV1 struct {

	// configuration code
	// Required: true
	ConfigurationCode *string `json:"configurationCode"`

	// custom attributes
	// Required: true
	CustomAttributes interface{} `json:"customAttributes"`

	// group description
	// Required: true
	GroupDescription *string `json:"groupDescription"`

	// group icon
	// Required: true
	GroupIcon *string `json:"groupIcon"`

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// group members
	// Required: true
	GroupMembers []*ModelsGroupMember `json:"groupMembers"`

	// group name
	// Required: true
	GroupName *string `json:"groupName"`

	// group region
	// Required: true
	GroupRegion *string `json:"groupRegion"`

	// group rules
	// Required: true
	GroupRules *ModelsGroupRule `json:"groupRules"`

	// group type
	// Required: true
	GroupType *string `json:"groupType"`
}

ModelsGroupResponseV1 models group response v1

swagger:model models.GroupResponseV1

func (*ModelsGroupResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGroupResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGroupResponseV1) Validate

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

Validate validates this models group response v1

type ModelsGroupRule

type ModelsGroupRule struct {

	// group custom rule
	// Required: true
	GroupCustomRule ModelsGroupRuleGroupCustomRule `json:"groupCustomRule"`

	// group predefined rules
	// Required: true
	GroupPredefinedRules []*ModelsRule `json:"groupPredefinedRules"`
}

ModelsGroupRule models group rule

swagger:model models.GroupRule

func (*ModelsGroupRule) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsGroupRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsGroupRule) Validate

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

Validate validates this models group rule

type ModelsGroupRuleGroupCustomRule

type ModelsGroupRuleGroupCustomRule interface{}

ModelsGroupRuleGroupCustomRule models group rule group custom rule

swagger:model models.GroupRule.groupCustomRule

type ModelsJoinGroupResponseV1

type ModelsJoinGroupResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

	// status
	// Required: true
	Status *string `json:"status"`

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

ModelsJoinGroupResponseV1 models join group response v1

swagger:model models.JoinGroupResponseV1

func (*ModelsJoinGroupResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsJoinGroupResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsJoinGroupResponseV1) Validate

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

Validate validates this models join group response v1

type ModelsKickGroupMemberResponseV1

type ModelsKickGroupMemberResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

	// kicked user Id
	// Required: true
	KickedUserID *string `json:"kickedUserId"`
}

ModelsKickGroupMemberResponseV1 models kick group member response v1

swagger:model models.KickGroupMemberResponseV1

func (*ModelsKickGroupMemberResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsKickGroupMemberResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsKickGroupMemberResponseV1) Validate

Validate validates this models kick group member response v1

type ModelsLeaveGroupResponseV1

type ModelsLeaveGroupResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

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

ModelsLeaveGroupResponseV1 models leave group response v1

swagger:model models.LeaveGroupResponseV1

func (*ModelsLeaveGroupResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsLeaveGroupResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsLeaveGroupResponseV1) Validate

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

Validate validates this models leave group response v1

type ModelsListConfigurationResponseV1 added in v0.7.0

type ModelsListConfigurationResponseV1 struct {

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

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

ModelsListConfigurationResponseV1 models list configuration response v1

swagger:model models.ListConfigurationResponseV1

func (*ModelsListConfigurationResponseV1) MarshalBinary added in v0.7.0

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

MarshalBinary interface implementation

func (*ModelsListConfigurationResponseV1) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*ModelsListConfigurationResponseV1) Validate added in v0.7.0

Validate validates this models list configuration response v1

type ModelsMemberRequestGroupResponseV1

type ModelsMemberRequestGroupResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

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

ModelsMemberRequestGroupResponseV1 models member request group response v1

swagger:model models.MemberRequestGroupResponseV1

func (*ModelsMemberRequestGroupResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsMemberRequestGroupResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsMemberRequestGroupResponseV1) Validate

Validate validates this models member request group response v1

type ModelsMemberRequestResponseV1

type ModelsMemberRequestResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

	// request type
	// Required: true
	RequestType *string `json:"requestType"`

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

ModelsMemberRequestResponseV1 models member request response v1

swagger:model models.MemberRequestResponseV1

func (*ModelsMemberRequestResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsMemberRequestResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsMemberRequestResponseV1) Validate

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

Validate validates this models member request response v1

type ModelsPagination

type ModelsPagination 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"`
}

ModelsPagination models pagination

swagger:model models.Pagination

func (*ModelsPagination) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPagination) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPagination) Validate

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

Validate validates this models pagination

type ModelsPublicCreateNewGroupRequestV1

type ModelsPublicCreateNewGroupRequestV1 struct {

	// configuration code
	// Required: true
	ConfigurationCode *string `json:"configurationCode"`

	// custom attributes
	// Required: true
	CustomAttributes interface{} `json:"customAttributes"`

	// group description
	// Required: true
	GroupDescription *string `json:"groupDescription"`

	// group icon
	// Required: true
	GroupIcon *string `json:"groupIcon"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// group name
	// Required: true
	GroupName *string `json:"groupName"`

	// group region
	// Required: true
	GroupRegion *string `json:"groupRegion"`

	// group rules
	// Required: true
	GroupRules *ModelsGroupRule `json:"groupRules"`

	// group type
	// Required: true
	GroupType *string `json:"groupType"`
}

ModelsPublicCreateNewGroupRequestV1 models public create new group request v1

swagger:model models.PublicCreateNewGroupRequestV1

func (*ModelsPublicCreateNewGroupRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsPublicCreateNewGroupRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsPublicCreateNewGroupRequestV1) Validate

Validate validates this models public create new group request v1

type ModelsRemoveRoleFromMemberRequestV1

type ModelsRemoveRoleFromMemberRequestV1 struct {

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

ModelsRemoveRoleFromMemberRequestV1 models remove role from member request v1

swagger:model models.RemoveRoleFromMemberRequestV1

func (*ModelsRemoveRoleFromMemberRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsRemoveRoleFromMemberRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRemoveRoleFromMemberRequestV1) Validate

Validate validates this models remove role from member request v1

type ModelsRolePermission

type ModelsRolePermission struct {

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

	// resource name
	// Required: true
	ResourceName *string `json:"resourceName"`
}

ModelsRolePermission models role permission

swagger:model models.RolePermission

func (*ModelsRolePermission) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsRolePermission) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRolePermission) Validate

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

Validate validates this models role permission

type ModelsRule

type ModelsRule struct {

	// allowed action
	// Required: true
	AllowedAction *string `json:"allowedAction"`

	// rule detail
	// Required: true
	RuleDetail []*ModelsRuleInformation `json:"ruleDetail"`
}

ModelsRule models rule

swagger:model models.Rule

func (*ModelsRule) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRule) Validate

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

Validate validates this models rule

type ModelsRuleInformation

type ModelsRuleInformation struct {

	// rule attribute
	// Required: true
	RuleAttribute *string `json:"ruleAttribute"`

	// rule criteria
	// Required: true
	RuleCriteria *string `json:"ruleCriteria"`

	// rule value
	// Required: true
	RuleValue *float64 `json:"ruleValue"`
}

ModelsRuleInformation models rule information

swagger:model models.RuleInformation

func (*ModelsRuleInformation) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsRuleInformation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsRuleInformation) Validate

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

Validate validates this models rule information

type ModelsUpdateGroupConfigurationGlobalRulesRequestV1

type ModelsUpdateGroupConfigurationGlobalRulesRequestV1 struct {

	// rule detail
	// Required: true
	RuleDetail []*ModelsRuleInformation `json:"ruleDetail"`
}

ModelsUpdateGroupConfigurationGlobalRulesRequestV1 models update group configuration global rules request v1

swagger:model models.UpdateGroupConfigurationGlobalRulesRequestV1

func (*ModelsUpdateGroupConfigurationGlobalRulesRequestV1) MarshalBinary

MarshalBinary interface implementation

func (*ModelsUpdateGroupConfigurationGlobalRulesRequestV1) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupConfigurationGlobalRulesRequestV1) Validate

Validate validates this models update group configuration global rules request v1

type ModelsUpdateGroupConfigurationRequestV1

type ModelsUpdateGroupConfigurationRequestV1 struct {

	// description
	// Required: true
	Description *string `json:"description"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// name
	// Required: true
	Name *string `json:"name"`
}

ModelsUpdateGroupConfigurationRequestV1 models update group configuration request v1

swagger:model models.UpdateGroupConfigurationRequestV1

func (*ModelsUpdateGroupConfigurationRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateGroupConfigurationRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupConfigurationRequestV1) Validate

Validate validates this models update group configuration request v1

type ModelsUpdateGroupConfigurationResponseV1

type ModelsUpdateGroupConfigurationResponseV1 struct {

	// configuration code
	// Required: true
	ConfigurationCode *string `json:"configurationCode"`

	// description
	// Required: true
	Description *string `json:"description"`

	// global rules
	// Required: true
	GlobalRules []*ModelsRule `json:"globalRules"`

	// group admin role Id
	// Required: true
	GroupAdminRoleID *string `json:"groupAdminRoleId"`

	// group max member
	// Required: true
	GroupMaxMember *int32 `json:"groupMaxMember"`

	// group member role Id
	// Required: true
	GroupMemberRoleID *string `json:"groupMemberRoleId"`

	// name
	// Required: true
	Name *string `json:"name"`
}

ModelsUpdateGroupConfigurationResponseV1 models update group configuration response v1

swagger:model models.UpdateGroupConfigurationResponseV1

func (*ModelsUpdateGroupConfigurationResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateGroupConfigurationResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupConfigurationResponseV1) Validate

Validate validates this models update group configuration response v1

type ModelsUpdateGroupCustomAttributesRequestV1

type ModelsUpdateGroupCustomAttributesRequestV1 struct {

	// custom attributes
	// Required: true
	CustomAttributes interface{} `json:"customAttributes"`
}

ModelsUpdateGroupCustomAttributesRequestV1 models update group custom attributes request v1

swagger:model models.UpdateGroupCustomAttributesRequestV1

func (*ModelsUpdateGroupCustomAttributesRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateGroupCustomAttributesRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupCustomAttributesRequestV1) Validate

Validate validates this models update group custom attributes request v1

type ModelsUpdateGroupCustomRuleRequestV1

type ModelsUpdateGroupCustomRuleRequestV1 struct {

	// group custom rule
	// Required: true
	GroupCustomRule interface{} `json:"groupCustomRule"`
}

ModelsUpdateGroupCustomRuleRequestV1 models update group custom rule request v1

swagger:model models.UpdateGroupCustomRuleRequestV1

func (*ModelsUpdateGroupCustomRuleRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateGroupCustomRuleRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupCustomRuleRequestV1) Validate

Validate validates this models update group custom rule request v1

type ModelsUpdateGroupPredefinedRuleRequestV1

type ModelsUpdateGroupPredefinedRuleRequestV1 struct {

	// rule detail
	// Required: true
	RuleDetail []*ModelsRuleInformation `json:"ruleDetail"`
}

ModelsUpdateGroupPredefinedRuleRequestV1 models update group predefined rule request v1

swagger:model models.UpdateGroupPredefinedRuleRequestV1

func (*ModelsUpdateGroupPredefinedRuleRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateGroupPredefinedRuleRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupPredefinedRuleRequestV1) Validate

Validate validates this models update group predefined rule request v1

type ModelsUpdateGroupRequestV1

type ModelsUpdateGroupRequestV1 struct {

	// custom attributes
	// Required: true
	CustomAttributes ModelsUpdateGroupRequestV1CustomAttributes `json:"customAttributes"`

	// group description
	// Required: true
	GroupDescription *string `json:"groupDescription"`

	// group icon
	// Required: true
	GroupIcon *string `json:"groupIcon"`

	// group name
	// Required: true
	GroupName *string `json:"groupName"`

	// group region
	// Required: true
	GroupRegion *string `json:"groupRegion"`

	// group type
	// Required: true
	GroupType *string `json:"groupType"`
}

ModelsUpdateGroupRequestV1 models update group request v1

swagger:model models.UpdateGroupRequestV1

func (*ModelsUpdateGroupRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateGroupRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateGroupRequestV1) Validate

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

Validate validates this models update group request v1

type ModelsUpdateGroupRequestV1CustomAttributes

type ModelsUpdateGroupRequestV1CustomAttributes interface{}

ModelsUpdateGroupRequestV1CustomAttributes models update group request v1 custom attributes

swagger:model models.UpdateGroupRequestV1.customAttributes

type ModelsUpdateMemberRolePermissionsRequestV1

type ModelsUpdateMemberRolePermissionsRequestV1 struct {

	// member role permissions
	// Required: true
	MemberRolePermissions []*ModelsRolePermission `json:"memberRolePermissions"`
}

ModelsUpdateMemberRolePermissionsRequestV1 models update member role permissions request v1

swagger:model models.UpdateMemberRolePermissionsRequestV1

func (*ModelsUpdateMemberRolePermissionsRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateMemberRolePermissionsRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateMemberRolePermissionsRequestV1) Validate

Validate validates this models update member role permissions request v1

type ModelsUpdateMemberRoleRequestV1

type ModelsUpdateMemberRoleRequestV1 struct {

	// member role name
	// Required: true
	MemberRoleName *string `json:"memberRoleName"`
}

ModelsUpdateMemberRoleRequestV1 models update member role request v1

swagger:model models.UpdateMemberRoleRequestV1

func (*ModelsUpdateMemberRoleRequestV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateMemberRoleRequestV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateMemberRoleRequestV1) Validate

Validate validates this models update member role request v1

type ModelsUpdateMemberRoleResponseV1

type ModelsUpdateMemberRoleResponseV1 struct {

	// member role Id
	// Required: true
	MemberRoleID *string `json:"memberRoleId"`

	// member role name
	// Required: true
	MemberRoleName *string `json:"memberRoleName"`

	// member role permissions
	// Required: true
	MemberRolePermissions []*ModelsRolePermission `json:"memberRolePermissions"`
}

ModelsUpdateMemberRoleResponseV1 models update member role response v1

swagger:model models.UpdateMemberRoleResponseV1

func (*ModelsUpdateMemberRoleResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUpdateMemberRoleResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUpdateMemberRoleResponseV1) Validate

Validate validates this models update member role response v1

type ModelsUserInvitationResponseV1

type ModelsUserInvitationResponseV1 struct {

	// group Id
	// Required: true
	GroupID *string `json:"groupId"`

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

ModelsUserInvitationResponseV1 models user invitation response v1

swagger:model models.UserInvitationResponseV1

func (*ModelsUserInvitationResponseV1) MarshalBinary

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

MarshalBinary interface implementation

func (*ModelsUserInvitationResponseV1) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModelsUserInvitationResponseV1) Validate

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

Validate validates this models user invitation response v1

type ResponseErrorResponse

type ResponseErrorResponse struct {

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

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

ResponseErrorResponse response error response

swagger:model response.ErrorResponse

func (*ResponseErrorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseErrorResponse) Validate

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

Validate validates this response error response

Source Files

Jump to

Keyboard shortcuts

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