models

package
v0.0.0-...-b25a986 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// LoginDetailsLoginStrategyForm captures enum value "form"
	LoginDetailsLoginStrategyForm string = "form"

	// LoginDetailsLoginStrategyRedirect captures enum value "redirect"
	LoginDetailsLoginStrategyRedirect string = "redirect"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddGroupRequest

type AddGroupRequest struct {

	// group
	// Required: true
	Group *string `json:"group"`

	// members
	// Required: true
	Members []string `json:"members"`
}

AddGroupRequest add group request

swagger:model addGroupRequest

func (*AddGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddGroupRequest) Validate

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

Validate validates this add group request

type AddPolicyRequest

type AddPolicyRequest struct {

	// definition
	Definition string `json:"definition,omitempty"`

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

AddPolicyRequest add policy request

swagger:model addPolicyRequest

func (*AddPolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPolicyRequest) Validate

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

Validate validates this add policy request

type AddUserRequest

type AddUserRequest struct {

	// access key
	// Required: true
	AccessKey *string `json:"accessKey"`

	// secret key
	// Required: true
	SecretKey *string `json:"secretKey"`
}

AddUserRequest add user request

swagger:model addUserRequest

func (*AddUserRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddUserRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddUserRequest) Validate

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

Validate validates this add user request

type Bucket

type Bucket struct {

	// access
	Access BucketAccess `json:"access,omitempty"`

	// creation date
	CreationDate string `json:"creation_date,omitempty"`

	// name
	// Required: true
	// Min Length: 3
	Name *string `json:"name"`

	// size
	Size int64 `json:"size,omitempty"`
}

Bucket bucket

swagger:model bucket

func (*Bucket) MarshalBinary

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

MarshalBinary interface implementation

func (*Bucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Bucket) Validate

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

Validate validates this bucket

type BucketAccess

type BucketAccess string

BucketAccess bucket access

swagger:model bucketAccess

const (

	// BucketAccessPRIVATE captures enum value "PRIVATE"
	BucketAccessPRIVATE BucketAccess = "PRIVATE"

	// BucketAccessPUBLIC captures enum value "PUBLIC"
	BucketAccessPUBLIC BucketAccess = "PUBLIC"

	// BucketAccessCUSTOM captures enum value "CUSTOM"
	BucketAccessCUSTOM BucketAccess = "CUSTOM"
)

func (BucketAccess) Validate

func (m BucketAccess) Validate(formats strfmt.Registry) error

Validate validates this bucket access

type ConfigDescription

type ConfigDescription struct {

	// description
	Description string `json:"description,omitempty"`

	// key
	Key string `json:"key,omitempty"`
}

ConfigDescription config description

swagger:model configDescription

func (*ConfigDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigDescription) Validate

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

Validate validates this config description

type Configuration

type Configuration struct {

	// key values
	KeyValues []*ConfigurationKV `json:"key_values"`

	// name
	Name string `json:"name,omitempty"`
}

Configuration configuration

swagger:model configuration

func (*Configuration) MarshalBinary

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

MarshalBinary interface implementation

func (*Configuration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Configuration) Validate

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

Validate validates this configuration

type ConfigurationKV

type ConfigurationKV struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ConfigurationKV configuration k v

swagger:model configurationKV

func (*ConfigurationKV) MarshalBinary

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

MarshalBinary interface implementation

func (*ConfigurationKV) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConfigurationKV) Validate

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

Validate validates this configuration k v

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error

swagger:model error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Group

type Group struct {

	// members
	Members []string `json:"members"`

	// name
	Name string `json:"name,omitempty"`

	// policy
	Policy string `json:"policy,omitempty"`

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

Group group

swagger:model group

func (*Group) MarshalBinary

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

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Group) Validate

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

Validate validates this group

type ListBucketEventsResponse

type ListBucketEventsResponse struct {

	// events
	Events []*NotificationConfig `json:"events"`

	// total number of bucket events
	Total int64 `json:"total,omitempty"`
}

ListBucketEventsResponse list bucket events response

swagger:model listBucketEventsResponse

func (*ListBucketEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBucketEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBucketEventsResponse) Validate

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

Validate validates this list bucket events response

type ListBucketsResponse

type ListBucketsResponse struct {

	// list of resulting buckets
	Buckets []*Bucket `json:"buckets"`

	// number of buckets accessible to tenant user
	Total int64 `json:"total,omitempty"`
}

ListBucketsResponse list buckets response

swagger:model listBucketsResponse

func (*ListBucketsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBucketsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBucketsResponse) Validate

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

Validate validates this list buckets response

type ListConfigResponse

type ListConfigResponse struct {

	// configurations
	Configurations []*ConfigDescription `json:"configurations"`

	// total number of configurations
	Total int64 `json:"total,omitempty"`
}

ListConfigResponse list config response

swagger:model listConfigResponse

func (*ListConfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListConfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListConfigResponse) Validate

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

Validate validates this list config response

type ListGroupsResponse

type ListGroupsResponse struct {

	// list of groups
	Groups []string `json:"groups"`

	// total number of groups
	Total int64 `json:"total,omitempty"`
}

ListGroupsResponse list groups response

swagger:model listGroupsResponse

func (*ListGroupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListGroupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListGroupsResponse) Validate

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

Validate validates this list groups response

type ListPoliciesResponse

type ListPoliciesResponse struct {

	// list of policies
	Policies []*Policy `json:"policies"`

	// total number of policies
	Total int64 `json:"total,omitempty"`
}

ListPoliciesResponse list policies response

swagger:model listPoliciesResponse

func (*ListPoliciesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListPoliciesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListPoliciesResponse) Validate

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

Validate validates this list policies response

type ListUsersResponse

type ListUsersResponse struct {

	// list of resulting users
	Users []*User `json:"users"`
}

ListUsersResponse list users response

swagger:model listUsersResponse

func (*ListUsersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListUsersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListUsersResponse) Validate

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

Validate validates this list users response

type LoginDetails

type LoginDetails struct {

	// login strategy
	// Enum: [form redirect]
	LoginStrategy string `json:"loginStrategy,omitempty"`

	// redirect
	Redirect string `json:"redirect,omitempty"`
}

LoginDetails login details

swagger:model loginDetails

func (*LoginDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginDetails) Validate

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

Validate validates this login details

type LoginRequest

type LoginRequest struct {

	// access key
	// Required: true
	AccessKey *string `json:"accessKey"`

	// secret key
	// Required: true
	SecretKey *string `json:"secretKey"`
}

LoginRequest login request

swagger:model loginRequest

func (*LoginRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginRequest) Validate

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

Validate validates this login request

type LoginResponse

type LoginResponse struct {

	// session Id
	SessionID string `json:"sessionId,omitempty"`
}

LoginResponse login response

swagger:model loginResponse

func (*LoginResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*LoginResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoginResponse) Validate

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

Validate validates this login response

type MakeBucketRequest

type MakeBucketRequest struct {

	// access
	Access BucketAccess `json:"access,omitempty"`

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

MakeBucketRequest make bucket request

swagger:model makeBucketRequest

func (*MakeBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*MakeBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MakeBucketRequest) Validate

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

Validate validates this make bucket request

type NotificationConfig

type NotificationConfig struct {

	// arn
	Arn string `json:"arn,omitempty"`

	// filter specific type of event. Defaults to all event (default: '[put,delete,get]')
	Events []NotificationEventType `json:"events"`

	// id
	ID string `json:"id,omitempty"`

	// filter event associated to the specified prefix
	Prefix string `json:"prefix,omitempty"`

	// filter event associated to the specified suffix
	Suffix string `json:"suffix,omitempty"`
}

NotificationConfig notification config

swagger:model notificationConfig

func (*NotificationConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*NotificationConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NotificationConfig) Validate

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

Validate validates this notification config

type NotificationEventType

type NotificationEventType string

NotificationEventType notification event type

swagger:model notificationEventType

const (

	// NotificationEventTypePut captures enum value "put"
	NotificationEventTypePut NotificationEventType = "put"

	// NotificationEventTypeDelete captures enum value "delete"
	NotificationEventTypeDelete NotificationEventType = "delete"

	// NotificationEventTypeGet captures enum value "get"
	NotificationEventTypeGet NotificationEventType = "get"
)

func (NotificationEventType) Validate

func (m NotificationEventType) Validate(formats strfmt.Registry) error

Validate validates this notification event type

type Policy

type Policy struct {

	// name
	Name string `json:"name,omitempty"`

	// statements
	Statements []*Statement `json:"statements"`

	// version
	Version string `json:"version,omitempty"`
}

Policy policy

swagger:model policy

func (*Policy) MarshalBinary

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

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Policy) Validate

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

Validate validates this policy

type PolicyEntity

type PolicyEntity string

PolicyEntity policy entity

swagger:model policyEntity

const (

	// PolicyEntityUser captures enum value "user"
	PolicyEntityUser PolicyEntity = "user"

	// PolicyEntityGroup captures enum value "group"
	PolicyEntityGroup PolicyEntity = "group"
)

func (PolicyEntity) Validate

func (m PolicyEntity) Validate(formats strfmt.Registry) error

Validate validates this policy entity

type Principal

type Principal string

Principal principal

swagger:model principal

func (Principal) Validate

func (m Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type ProfilerType

type ProfilerType string

ProfilerType profiler type

swagger:model profilerType

const (

	// ProfilerTypeCPU captures enum value "cpu"
	ProfilerTypeCPU ProfilerType = "cpu"

	// ProfilerTypeMem captures enum value "mem"
	ProfilerTypeMem ProfilerType = "mem"

	// ProfilerTypeBlock captures enum value "block"
	ProfilerTypeBlock ProfilerType = "block"

	// ProfilerTypeMutex captures enum value "mutex"
	ProfilerTypeMutex ProfilerType = "mutex"

	// ProfilerTypeTrace captures enum value "trace"
	ProfilerTypeTrace ProfilerType = "trace"

	// ProfilerTypeThreads captures enum value "threads"
	ProfilerTypeThreads ProfilerType = "threads"

	// ProfilerTypeGoroutines captures enum value "goroutines"
	ProfilerTypeGoroutines ProfilerType = "goroutines"
)

func (ProfilerType) Validate

func (m ProfilerType) Validate(formats strfmt.Registry) error

Validate validates this profiler type

type ProfilingStartRequest

type ProfilingStartRequest struct {

	// type
	// Required: true
	Type ProfilerType `json:"type"`
}

ProfilingStartRequest profiling start request

swagger:model profilingStartRequest

func (*ProfilingStartRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ProfilingStartRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProfilingStartRequest) Validate

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

Validate validates this profiling start request

type ProfilingType

type ProfilingType string

ProfilingType profiling type

swagger:model profilingType

const (

	// ProfilingTypeCPU captures enum value "cpu"
	ProfilingTypeCPU ProfilingType = "cpu"

	// ProfilingTypeMem captures enum value "mem"
	ProfilingTypeMem ProfilingType = "mem"

	// ProfilingTypeBlock captures enum value "block"
	ProfilingTypeBlock ProfilingType = "block"

	// ProfilingTypeMutex captures enum value "mutex"
	ProfilingTypeMutex ProfilingType = "mutex"

	// ProfilingTypeTrace captures enum value "trace"
	ProfilingTypeTrace ProfilingType = "trace"

	// ProfilingTypeThreads captures enum value "threads"
	ProfilingTypeThreads ProfilingType = "threads"

	// ProfilingTypeGoroutines captures enum value "goroutines"
	ProfilingTypeGoroutines ProfilingType = "goroutines"
)

func (ProfilingType) Validate

func (m ProfilingType) Validate(formats strfmt.Registry) error

Validate validates this profiling type

type SetBucketPolicyRequest

type SetBucketPolicyRequest struct {

	// access
	// Required: true
	Access BucketAccess `json:"access"`
}

SetBucketPolicyRequest set bucket policy request

swagger:model setBucketPolicyRequest

func (*SetBucketPolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SetBucketPolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetBucketPolicyRequest) Validate

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

Validate validates this set bucket policy request

type SetConfigRequest

type SetConfigRequest struct {

	// Used if configuration is an event notification's target
	ArnResourceID string `json:"arn_resource_id,omitempty"`

	// key values
	// Required: true
	// Min Items: 1
	KeyValues []*ConfigurationKV `json:"key_values"`
}

SetConfigRequest set config request

swagger:model setConfigRequest

func (*SetConfigRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SetConfigRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetConfigRequest) Validate

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

Validate validates this set config request

type SetPolicyRequest

type SetPolicyRequest struct {

	// entity name
	// Required: true
	EntityName *string `json:"entityName"`

	// entity type
	// Required: true
	EntityType PolicyEntity `json:"entityType"`
}

SetPolicyRequest set policy request

swagger:model setPolicyRequest

func (*SetPolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SetPolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SetPolicyRequest) Validate

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

Validate validates this set policy request

type StartProfilingItem

type StartProfilingItem struct {

	// error
	Error string `json:"error,omitempty"`

	// node name
	NodeName string `json:"nodeName,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

StartProfilingItem start profiling item

swagger:model startProfilingItem

func (*StartProfilingItem) MarshalBinary

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

MarshalBinary interface implementation

func (*StartProfilingItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartProfilingItem) Validate

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

Validate validates this start profiling item

type StartProfilingList

type StartProfilingList struct {

	// start results
	StartResults []*StartProfilingItem `json:"startResults"`

	// number of start results
	Total int64 `json:"total,omitempty"`
}

StartProfilingList start profiling list

swagger:model startProfilingList

func (*StartProfilingList) MarshalBinary

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

MarshalBinary interface implementation

func (*StartProfilingList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartProfilingList) Validate

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

Validate validates this start profiling list

type Statement

type Statement struct {

	// actions
	Actions []string `json:"actions"`

	// effect
	Effect string `json:"effect,omitempty"`

	// resources
	Resources []string `json:"resources"`
}

Statement statement

swagger:model statement

func (*Statement) MarshalBinary

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

MarshalBinary interface implementation

func (*Statement) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Statement) Validate

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

Validate validates this statement

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// members
	// Required: true
	Members []string `json:"members"`

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

UpdateGroupRequest update group request

swagger:model updateGroupRequest

func (*UpdateGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateGroupRequest) Validate

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

Validate validates this update group request

type User

type User struct {

	// access key
	AccessKey string `json:"accessKey,omitempty"`

	// member of
	MemberOf []string `json:"memberOf"`

	// policy
	Policy string `json:"policy,omitempty"`

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

User user

swagger:model user

func (*User) MarshalBinary

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*User) Validate

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

Validate validates this user

Jump to

Keyboard shortcuts

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