Documentation ¶
Index ¶
- type CollectionState
- type CollectionType
- type Principal
- type ResponseBody500
- type ResponseBodyCollectionMetadata
- func (m *ResponseBodyCollectionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResponseBodyCollectionMetadata) MarshalBinary() ([]byte, error)
- func (m *ResponseBodyCollectionMetadata) UnmarshalBinary(b []byte) error
- func (m *ResponseBodyCollectionMetadata) Validate(formats strfmt.Registry) error
- type ResponseBodyCollections
- func (m *ResponseBodyCollections) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResponseBodyCollections) MarshalBinary() ([]byte, error)
- func (m *ResponseBodyCollections) UnmarshalBinary(b []byte) error
- func (m *ResponseBodyCollections) Validate(formats strfmt.Registry) error
- type ResponseBodyUserMetadata
- func (m *ResponseBodyUserMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResponseBodyUserMetadata) MarshalBinary() ([]byte, error)
- func (m *ResponseBodyUserMetadata) UnmarshalBinary(b []byte) error
- func (m *ResponseBodyUserMetadata) Validate(formats strfmt.Registry) error
- type ResponseBodyUsers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionState ¶
type CollectionState string
CollectionState collection state
swagger:model collectionState
const ( // CollectionStateEditable captures enum value "editable" CollectionStateEditable CollectionState = "editable" // CollectionStateReviewableInternal captures enum value "reviewable_internal" CollectionStateReviewableInternal CollectionState = "reviewable_internal" // CollectionStateReviewableExternal captures enum value "reviewable_external" CollectionStateReviewableExternal CollectionState = "reviewable_external" // CollectionStateArchived captures enum value "archived" CollectionStateArchived CollectionState = "archived" // CollectionStatePublished captures enum value "published" CollectionStatePublished CollectionState = "published" // CollectionStateUnknown captures enum value "unknown" CollectionStateUnknown CollectionState = "unknown" )
func NewCollectionState ¶
func NewCollectionState(value CollectionState) *CollectionState
func (CollectionState) ContextValidate ¶
ContextValidate validates this collection state based on context it is used
func (CollectionState) Pointer ¶
func (m CollectionState) Pointer() *CollectionState
Pointer returns a pointer to a freshly-allocated CollectionState.
type CollectionType ¶
type CollectionType string
CollectionType collection type
swagger:model collectionType
const ( // CollectionTypeDac captures enum value "dac" CollectionTypeDac CollectionType = "dac" // CollectionTypeRdc captures enum value "rdc" CollectionTypeRdc CollectionType = "rdc" // CollectionTypeDsc captures enum value "dsc" CollectionTypeDsc CollectionType = "dsc" // CollectionTypeUnknown captures enum value "unknown" CollectionTypeUnknown CollectionType = "unknown" )
func NewCollectionType ¶
func NewCollectionType(value CollectionType) *CollectionType
func (CollectionType) ContextValidate ¶
ContextValidate validates this collection type based on context it is used
func (CollectionType) Pointer ¶
func (m CollectionType) Pointer() *CollectionType
Pointer returns a pointer to a freshly-allocated CollectionType.
type Principal ¶
type Principal string
Principal principal
swagger:model principal
func (Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
type ResponseBody500 ¶
type ResponseBody500 struct { // server-side error message. ErrorMessage string `json:"errorMessage,omitempty"` // server-side exit code. ExitCode int64 `json:"exitCode,omitempty"` }
ResponseBody500 JSON object containing server side error.
swagger:model responseBody500
func (*ResponseBody500) ContextValidate ¶
ContextValidate validates this response body500 based on context it is used
func (*ResponseBody500) MarshalBinary ¶
func (m *ResponseBody500) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseBody500) UnmarshalBinary ¶
func (m *ResponseBody500) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseBodyCollectionMetadata ¶
type ResponseBodyCollectionMetadata struct { // collection identifier // Required: true Identifier *string `json:"identifier"` // collection DOI // Required: true IdentifierDOI *string `json:"identifierDOI"` // number of files in the collection // Required: true NumberOfFiles *int64 `json:"numberOfFiles"` // organisational unit // Required: true OrganisationalUnit *string `json:"organisationalUnit"` // collection path // Required: true Path *string `json:"path"` // project identifier // Required: true ProjectID *string `json:"projectID"` // collection storage quota // Required: true QuotaInBytes *int64 `json:"quotaInBytes"` // size of data in the collection // Required: true SizeInBytes *int64 `json:"sizeInBytes"` // state // Required: true State *CollectionState `json:"state"` // type // Required: true Type *CollectionType `json:"type"` }
ResponseBodyCollectionMetadata JSON object containing collection metadata.
swagger:model responseBodyCollectionMetadata
func (*ResponseBodyCollectionMetadata) ContextValidate ¶
func (m *ResponseBodyCollectionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this response body collection metadata based on the context it is used
func (*ResponseBodyCollectionMetadata) MarshalBinary ¶
func (m *ResponseBodyCollectionMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseBodyCollectionMetadata) UnmarshalBinary ¶
func (m *ResponseBodyCollectionMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseBodyCollections ¶
type ResponseBodyCollections struct { // collections Collections []*ResponseBodyCollectionMetadata `json:"collections"` }
ResponseBodyCollections JSON list containing a list of collections
swagger:model responseBodyCollections
func (*ResponseBodyCollections) ContextValidate ¶
func (m *ResponseBodyCollections) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this response body collections based on the context it is used
func (*ResponseBodyCollections) MarshalBinary ¶
func (m *ResponseBodyCollections) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseBodyCollections) UnmarshalBinary ¶
func (m *ResponseBodyCollections) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseBodyUserMetadata ¶
type ResponseBodyUserMetadata struct { // display name // Required: true DisplayName *string `json:"displayName"` // email address // Format: email Email strfmt.Email `json:"email,omitempty"` // identity provider // Required: true IdentityProvider *string `json:"identityProvider"` // organisational units // Required: true OrganisationalUnits []string `json:"organisationalUnits"` }
ResponseBodyUserMetadata JSON object containing user metadata.
swagger:model responseBodyUserMetadata
func (*ResponseBodyUserMetadata) ContextValidate ¶
func (m *ResponseBodyUserMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this response body user metadata based on context it is used
func (*ResponseBodyUserMetadata) MarshalBinary ¶
func (m *ResponseBodyUserMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseBodyUserMetadata) UnmarshalBinary ¶
func (m *ResponseBodyUserMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseBodyUsers ¶
type ResponseBodyUsers struct { // users Users []*ResponseBodyUserMetadata `json:"users"` }
ResponseBodyUsers JSON list containing a list of users
swagger:model responseBodyUsers
func (*ResponseBodyUsers) ContextValidate ¶
ContextValidate validate this response body users based on the context it is used
func (*ResponseBodyUsers) MarshalBinary ¶
func (m *ResponseBodyUsers) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseBodyUsers) UnmarshalBinary ¶
func (m *ResponseBodyUsers) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation