Documentation ¶
Index ¶
- Constants
- type EmailCredentials
- type EmailCredentialsAttributes
- type Error
- type Field
- type FieldAttributes
- type FieldAttributesAppearance
- type FieldAttributesValidators
- type FieldAttributesValidatorsEnum
- type FieldAttributesValidatorsFormat
- type FieldAttributesValidatorsLength
- type FieldRelationships
- type FieldRelationshipsItemType
- type FieldRequest
- type FieldResponse
- type FieldsResponse
- type Item
- type ItemRelationships
- type ItemRelationshipsItemType
- type ItemRelationshipsLastEditor
- type ItemRequest
- type ItemResponse
- type ItemType
- type ItemTypeAttributes
- type ItemTypeIncluded
- type ItemTypeRelationships
- type ItemTypeRelationshipsFields
- type ItemTypeRelationshipsOrderingField
- type ItemTypeRelationshipsSingletonItem
- type ItemTypeRequest
- type ItemTypeResponse
- type ItemTypesResponse
- type ItemsResponse
- type ItemsResponseMeta
- type Project
- type ProjectAttributes
- type ProjectRelationships
- type ProjectRelationshipsAccount
- type ProjectRequest
- type ProjectResponse
- type ProjectsResponse
- type Relationship
- type Role
- type RoleAttributes
- type RoleRequest
- type RoleResponse
- type RolesResponse
- type Session
- type SessionRelationships
- type SessionRelationshipsUser
- type SigninOKBody
- type SigninParamsBody
- type SignupCreatedBody
- type SignupParamsBody
- type User
- type UserAttributes
- type UserRelationships
- type UserRelationshipsRole
- type UserRequest
- type UserResponse
- type UsersResponse
Constants ¶
const ( // FieldAttributesAppearanceTypeTitle captures enum value "title" FieldAttributesAppearanceTypeTitle string = "title" // FieldAttributesAppearanceTypePlain captures enum value "plain" FieldAttributesAppearanceTypePlain string = "plain" // FieldAttributesAppearanceTypeMarkdown captures enum value "markdown" FieldAttributesAppearanceTypeMarkdown string = "markdown" )
const ( // FieldAttributesValidatorsFormatPredefinedPatternURL captures enum value "url" FieldAttributesValidatorsFormatPredefinedPatternURL string = "url" // FieldAttributesValidatorsFormatPredefinedPatternEmail captures enum value "email" FieldAttributesValidatorsFormatPredefinedPatternEmail string = "email" )
const ( // RelationshipTypeAccount captures enum value "account" RelationshipTypeAccount string = "account" // RelationshipTypeProject captures enum value "project" RelationshipTypeProject string = "project" // RelationshipTypeRole captures enum value "role" RelationshipTypeRole string = "role" // RelationshipTypeSession captures enum value "session" RelationshipTypeSession string = "session" // RelationshipTypeItemType captures enum value "item_type" RelationshipTypeItemType string = "item_type" // RelationshipTypeField captures enum value "field" RelationshipTypeField string = "field" // RelationshipTypeItem captures enum value "item" RelationshipTypeItem string = "item" )
const ( // UserAttributesStateRegistered captures enum value "registered" UserAttributesStateRegistered string = "registered" // UserAttributesStateInvitationPending captures enum value "invitation_pending" UserAttributesStateInvitationPending string = "invitation_pending" )
const ( // EmailCredentialsTypeEmailCredentials captures enum value "email_credentials" EmailCredentialsTypeEmailCredentials string = "email_credentials" )
const ( // FieldAttributesFieldTypeString captures enum value "string" FieldAttributesFieldTypeString string = "string" )
const ( // FieldTypeField captures enum value "field" FieldTypeField string = "field" )
const ( // ItemTypeItem captures enum value "item" ItemTypeItem string = "item" )
const ( // ItemTypeTypeItemType captures enum value "item_type" ItemTypeTypeItemType string = "item_type" )
const ( // ProjectTypeProject captures enum value "project" ProjectTypeProject string = "project" )
const ( // RoleTypeRole captures enum value "role" RoleTypeRole string = "role" )
const ( // SessionTypeSession captures enum value "session" SessionTypeSession string = "session" )
const ( // UserTypeUser captures enum value "user" UserTypeUser string = "user" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailCredentials ¶
type EmailCredentials struct { // attributes // Required: true Attributes EmailCredentialsAttributes `json:"attributes"` // type // Required: true Type string `json:"type"` }
EmailCredentials email credentials swagger:model EmailCredentials
func (*EmailCredentials) MarshalBinary ¶
func (m *EmailCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmailCredentials) UnmarshalBinary ¶
func (m *EmailCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmailCredentialsAttributes ¶
type EmailCredentialsAttributes struct { // email // Required: true Email strfmt.Email `json:"email"` // password // Required: true // Max Length: 32 // Min Length: 8 Password strfmt.Password `json:"password"` }
EmailCredentialsAttributes email credentials attributes swagger:model emailCredentialsAttributes
func (*EmailCredentialsAttributes) MarshalBinary ¶
func (m *EmailCredentialsAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmailCredentialsAttributes) UnmarshalBinary ¶
func (m *EmailCredentialsAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // code // Required: true Code int32 `json:"code"` // error // Required: true Error string `json:"error"` }
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Field ¶
type Field struct { // attributes // Required: true Attributes *FieldAttributes `json:"attributes"` // id // Read Only: true ID string `json:"id,omitempty"` // relationships Relationships *FieldRelationships `json:"relationships,omitempty"` // type // Required: true Type string `json:"type"` }
Field field swagger:model Field
func (*Field) MarshalBinary ¶
MarshalBinary interface implementation
func (*Field) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FieldAttributes ¶
type FieldAttributes struct { // api key // Required: true // Max Length: 32 // Min Length: 1 APIKey string `json:"apiKey"` // appearance // Required: true Appearance FieldAttributesAppearance `json:"appearance"` // field type // Required: true FieldType string `json:"fieldType"` // hint Hint string `json:"hint,omitempty"` // label // Required: true Label string `json:"label"` // localized Localized bool `json:"localized,omitempty"` // position Position int32 `json:"position,omitempty"` // validators // Required: true Validators FieldAttributesValidators `json:"validators"` }
FieldAttributes field attributes swagger:model fieldAttributes
func (*FieldAttributes) MarshalBinary ¶
func (m *FieldAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldAttributes) UnmarshalBinary ¶
func (m *FieldAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldAttributesAppearance ¶
type FieldAttributesAppearance struct { // type Type string `json:"type,omitempty"` }
FieldAttributesAppearance field attributes appearance swagger:model fieldAttributesAppearance
func (*FieldAttributesAppearance) MarshalBinary ¶
func (m *FieldAttributesAppearance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldAttributesAppearance) UnmarshalBinary ¶
func (m *FieldAttributesAppearance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldAttributesValidators ¶
type FieldAttributesValidators struct { // enum Enum *FieldAttributesValidatorsEnum `json:"enum,omitempty"` // format Format *FieldAttributesValidatorsFormat `json:"format,omitempty"` // length Length *FieldAttributesValidatorsLength `json:"length,omitempty"` // required Required interface{} `json:"required,omitempty"` // unique Unique interface{} `json:"unique,omitempty"` }
FieldAttributesValidators field attributes validators swagger:model fieldAttributesValidators
func (*FieldAttributesValidators) MarshalBinary ¶
func (m *FieldAttributesValidators) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldAttributesValidators) UnmarshalBinary ¶
func (m *FieldAttributesValidators) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldAttributesValidatorsEnum ¶
type FieldAttributesValidatorsEnum struct { // values // Required: true // Min Items: 1 Values []string `json:"values"` }
FieldAttributesValidatorsEnum field attributes validators enum swagger:model fieldAttributesValidatorsEnum
func (*FieldAttributesValidatorsEnum) MarshalBinary ¶
func (m *FieldAttributesValidatorsEnum) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldAttributesValidatorsEnum) UnmarshalBinary ¶
func (m *FieldAttributesValidatorsEnum) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldAttributesValidatorsFormat ¶
type FieldAttributesValidatorsFormat struct { // custom pattern CustomPattern *string `json:"customPattern,omitempty"` // predefined pattern PredefinedPattern *string `json:"predefinedPattern,omitempty"` }
FieldAttributesValidatorsFormat field attributes validators format swagger:model fieldAttributesValidatorsFormat
func (*FieldAttributesValidatorsFormat) MarshalBinary ¶
func (m *FieldAttributesValidatorsFormat) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldAttributesValidatorsFormat) UnmarshalBinary ¶
func (m *FieldAttributesValidatorsFormat) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldAttributesValidatorsLength ¶
type FieldAttributesValidatorsLength struct { // eq Eq *string `json:"eq,omitempty"` // max Max *string `json:"max,omitempty"` // min Min *string `json:"min,omitempty"` }
FieldAttributesValidatorsLength field attributes validators length swagger:model fieldAttributesValidatorsLength
func (*FieldAttributesValidatorsLength) MarshalBinary ¶
func (m *FieldAttributesValidatorsLength) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldAttributesValidatorsLength) UnmarshalBinary ¶
func (m *FieldAttributesValidatorsLength) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldRelationships ¶
type FieldRelationships struct { // item type ItemType *FieldRelationshipsItemType `json:"itemType,omitempty"` }
FieldRelationships field relationships swagger:model FieldRelationships
func (*FieldRelationships) MarshalBinary ¶
func (m *FieldRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldRelationships) UnmarshalBinary ¶
func (m *FieldRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldRelationshipsItemType ¶
type FieldRelationshipsItemType struct { // data Data *Relationship `json:"data,omitempty"` }
FieldRelationshipsItemType field relationships item type swagger:model fieldRelationshipsItemType
func (*FieldRelationshipsItemType) MarshalBinary ¶
func (m *FieldRelationshipsItemType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldRelationshipsItemType) UnmarshalBinary ¶
func (m *FieldRelationshipsItemType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldRequest ¶
type FieldRequest struct { // data // Required: true Data *Field `json:"data"` }
FieldRequest field request swagger:model FieldRequest
func (*FieldRequest) MarshalBinary ¶
func (m *FieldRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldRequest) UnmarshalBinary ¶
func (m *FieldRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldResponse ¶
type FieldResponse struct { // data Data *Field `json:"data,omitempty"` }
FieldResponse field response swagger:model FieldResponse
func (*FieldResponse) MarshalBinary ¶
func (m *FieldResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldResponse) UnmarshalBinary ¶
func (m *FieldResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldsResponse ¶
type FieldsResponse struct { // data Data []*Field `json:"data"` }
FieldsResponse fields response swagger:model FieldsResponse
func (*FieldsResponse) MarshalBinary ¶
func (m *FieldsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldsResponse) UnmarshalBinary ¶
func (m *FieldsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Item ¶
type Item struct { // attributes // Required: true Attributes map[string]interface{} `json:"attributes"` // id // Read Only: true ID string `json:"id,omitempty"` // relationships // Required: true Relationships *ItemRelationships `json:"relationships"` // type // Required: true Type string `json:"type"` }
Item item swagger:model Item
func (*Item) MarshalBinary ¶
MarshalBinary interface implementation
func (*Item) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemRelationships ¶
type ItemRelationships struct { // item type // Required: true ItemType *ItemRelationshipsItemType `json:"itemType"` // last editor LastEditor *ItemRelationshipsLastEditor `json:"lastEditor,omitempty"` }
ItemRelationships item relationships swagger:model ItemRelationships
func (*ItemRelationships) MarshalBinary ¶
func (m *ItemRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemRelationships) UnmarshalBinary ¶
func (m *ItemRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemRelationshipsItemType ¶
type ItemRelationshipsItemType struct { // data // Required: true Data *Relationship `json:"data"` }
ItemRelationshipsItemType item relationships item type swagger:model itemRelationshipsItemType
func (*ItemRelationshipsItemType) MarshalBinary ¶
func (m *ItemRelationshipsItemType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemRelationshipsItemType) UnmarshalBinary ¶
func (m *ItemRelationshipsItemType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemRelationshipsLastEditor ¶
type ItemRelationshipsLastEditor struct { // data Data *Relationship `json:"data,omitempty"` }
ItemRelationshipsLastEditor item relationships last editor swagger:model itemRelationshipsLastEditor
func (*ItemRelationshipsLastEditor) MarshalBinary ¶
func (m *ItemRelationshipsLastEditor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemRelationshipsLastEditor) UnmarshalBinary ¶
func (m *ItemRelationshipsLastEditor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemRequest ¶
type ItemRequest struct { // data // Required: true Data *Item `json:"data"` }
ItemRequest item request swagger:model ItemRequest
func (*ItemRequest) MarshalBinary ¶
func (m *ItemRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemRequest) UnmarshalBinary ¶
func (m *ItemRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemResponse ¶
type ItemResponse struct { // data Data *Item `json:"data,omitempty"` }
ItemResponse item response swagger:model ItemResponse
func (*ItemResponse) MarshalBinary ¶
func (m *ItemResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemResponse) UnmarshalBinary ¶
func (m *ItemResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemType ¶
type ItemType struct { // attributes // Required: true Attributes *ItemTypeAttributes `json:"attributes"` // id // Read Only: true ID string `json:"id,omitempty"` // relationships Relationships *ItemTypeRelationships `json:"relationships,omitempty"` // type // Required: true Type string `json:"type"` }
ItemType item type swagger:model ItemType
func (*ItemType) MarshalBinary ¶
MarshalBinary interface implementation
func (*ItemType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemTypeAttributes ¶
type ItemTypeAttributes struct { // api key // Required: true // Max Length: 32 // Min Length: 1 APIKey string `json:"apiKey"` // name Name string `json:"name,omitempty"` }
ItemTypeAttributes item type attributes swagger:model itemTypeAttributes
func (*ItemTypeAttributes) MarshalBinary ¶
func (m *ItemTypeAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeAttributes) UnmarshalBinary ¶
func (m *ItemTypeAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypeIncluded ¶
type ItemTypeIncluded []*Field
ItemTypeIncluded item type included swagger:model ItemTypeIncluded
type ItemTypeRelationships ¶
type ItemTypeRelationships struct { // fields Fields *ItemTypeRelationshipsFields `json:"fields,omitempty"` // ordering field OrderingField *ItemTypeRelationshipsOrderingField `json:"orderingField,omitempty"` // singleton item SingletonItem *ItemTypeRelationshipsSingletonItem `json:"singletonItem,omitempty"` }
ItemTypeRelationships item type relationships swagger:model ItemTypeRelationships
func (*ItemTypeRelationships) MarshalBinary ¶
func (m *ItemTypeRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeRelationships) UnmarshalBinary ¶
func (m *ItemTypeRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypeRelationshipsFields ¶
type ItemTypeRelationshipsFields struct { // data Data []*Relationship `json:"data"` }
ItemTypeRelationshipsFields item type relationships fields swagger:model itemTypeRelationshipsFields
func (*ItemTypeRelationshipsFields) MarshalBinary ¶
func (m *ItemTypeRelationshipsFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeRelationshipsFields) UnmarshalBinary ¶
func (m *ItemTypeRelationshipsFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypeRelationshipsOrderingField ¶
type ItemTypeRelationshipsOrderingField struct { // data Data *Relationship `json:"data,omitempty"` }
ItemTypeRelationshipsOrderingField item type relationships ordering field swagger:model itemTypeRelationshipsOrderingField
func (*ItemTypeRelationshipsOrderingField) MarshalBinary ¶
func (m *ItemTypeRelationshipsOrderingField) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeRelationshipsOrderingField) UnmarshalBinary ¶
func (m *ItemTypeRelationshipsOrderingField) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypeRelationshipsSingletonItem ¶
type ItemTypeRelationshipsSingletonItem struct { // data Data *Relationship `json:"data,omitempty"` }
ItemTypeRelationshipsSingletonItem item type relationships singleton item swagger:model itemTypeRelationshipsSingletonItem
func (*ItemTypeRelationshipsSingletonItem) MarshalBinary ¶
func (m *ItemTypeRelationshipsSingletonItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeRelationshipsSingletonItem) UnmarshalBinary ¶
func (m *ItemTypeRelationshipsSingletonItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypeRequest ¶
type ItemTypeRequest struct { // data // Required: true Data *ItemType `json:"data"` }
ItemTypeRequest item type request swagger:model ItemTypeRequest
func (*ItemTypeRequest) MarshalBinary ¶
func (m *ItemTypeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeRequest) UnmarshalBinary ¶
func (m *ItemTypeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypeResponse ¶
type ItemTypeResponse struct { // data Data *ItemType `json:"data,omitempty"` // included Included ItemTypeIncluded `json:"included"` }
ItemTypeResponse item type response swagger:model ItemTypeResponse
func (*ItemTypeResponse) MarshalBinary ¶
func (m *ItemTypeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypeResponse) UnmarshalBinary ¶
func (m *ItemTypeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemTypesResponse ¶
type ItemTypesResponse struct { // data Data []*ItemType `json:"data"` }
ItemTypesResponse item types response swagger:model ItemTypesResponse
func (*ItemTypesResponse) MarshalBinary ¶
func (m *ItemTypesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemTypesResponse) UnmarshalBinary ¶
func (m *ItemTypesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemsResponse ¶
type ItemsResponse struct { // data Data []*Item `json:"data"` // meta Meta *ItemsResponseMeta `json:"meta,omitempty"` }
ItemsResponse items response swagger:model ItemsResponse
func (*ItemsResponse) MarshalBinary ¶
func (m *ItemsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemsResponse) UnmarshalBinary ¶
func (m *ItemsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemsResponseMeta ¶
type ItemsResponseMeta struct { // total count TotalCount int32 `json:"totalCount,omitempty"` }
ItemsResponseMeta items response meta swagger:model ItemsResponseMeta
func (*ItemsResponseMeta) MarshalBinary ¶
func (m *ItemsResponseMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemsResponseMeta) UnmarshalBinary ¶
func (m *ItemsResponseMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Project ¶
type Project struct { // attributes // Required: true Attributes *ProjectAttributes `json:"attributes"` // id // Read Only: true ID string `json:"id,omitempty"` // relationships Relationships *ProjectRelationships `json:"relationships,omitempty"` // type // Required: true Type string `json:"type"` }
Project project swagger:model Project
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProjectAttributes ¶
type ProjectAttributes struct { // name // Required: true Name string `json:"name"` }
ProjectAttributes project attributes swagger:model projectAttributes
func (*ProjectAttributes) MarshalBinary ¶
func (m *ProjectAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectAttributes) UnmarshalBinary ¶
func (m *ProjectAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationships ¶
type ProjectRelationships struct { // account Account *ProjectRelationshipsAccount `json:"account,omitempty"` }
ProjectRelationships project relationships swagger:model ProjectRelationships
func (*ProjectRelationships) MarshalBinary ¶
func (m *ProjectRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationships) UnmarshalBinary ¶
func (m *ProjectRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRelationshipsAccount ¶
type ProjectRelationshipsAccount struct { // data Data *Relationship `json:"data,omitempty"` }
ProjectRelationshipsAccount project relationships account swagger:model projectRelationshipsAccount
func (*ProjectRelationshipsAccount) MarshalBinary ¶
func (m *ProjectRelationshipsAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRelationshipsAccount) UnmarshalBinary ¶
func (m *ProjectRelationshipsAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectRequest ¶
type ProjectRequest struct { // data // Required: true Data *Project `json:"data"` }
ProjectRequest project request swagger:model ProjectRequest
func (*ProjectRequest) MarshalBinary ¶
func (m *ProjectRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectRequest) UnmarshalBinary ¶
func (m *ProjectRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectResponse ¶
type ProjectResponse struct { // data Data *Project `json:"data,omitempty"` }
ProjectResponse project response swagger:model ProjectResponse
func (*ProjectResponse) MarshalBinary ¶
func (m *ProjectResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectResponse) UnmarshalBinary ¶
func (m *ProjectResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectsResponse ¶
type ProjectsResponse struct { // data Data []*Project `json:"data"` }
ProjectsResponse projects response swagger:model ProjectsResponse
func (*ProjectsResponse) MarshalBinary ¶
func (m *ProjectsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectsResponse) UnmarshalBinary ¶
func (m *ProjectsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Relationship ¶
type Relationship struct { // id // Required: true ID string `json:"id"` // type // Required: true Type string `json:"type"` }
Relationship relationship swagger:model Relationship
func (*Relationship) MarshalBinary ¶
func (m *Relationship) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Relationship) UnmarshalBinary ¶
func (m *Relationship) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // attributes // Required: true Attributes RoleAttributes `json:"attributes"` // id // Read Only: true ID string `json:"id,omitempty"` // type // Required: true Type string `json:"type"` }
Role role swagger:model Role
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RoleAttributes ¶
type RoleAttributes struct { // can edit project CanEditProject bool `json:"canEditProject,omitempty"` // can edit schema CanEditSchema bool `json:"canEditSchema,omitempty"` // can manage access tokens CanManageAccessTokens bool `json:"canManageAccessTokens,omitempty"` // can manage users CanManageUsers bool `json:"canManageUsers,omitempty"` // can publish content CanPublishContent bool `json:"canPublishContent,omitempty"` // name // Required: true Name string `json:"name"` }
RoleAttributes role attributes swagger:model roleAttributes
func (*RoleAttributes) MarshalBinary ¶
func (m *RoleAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleAttributes) UnmarshalBinary ¶
func (m *RoleAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleRequest ¶
type RoleRequest struct { // data // Required: true Data *Role `json:"data"` }
RoleRequest role request swagger:model RoleRequest
func (*RoleRequest) MarshalBinary ¶
func (m *RoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleRequest) UnmarshalBinary ¶
func (m *RoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleResponse ¶
type RoleResponse struct { // data Data *Role `json:"data,omitempty"` }
RoleResponse role response swagger:model RoleResponse
func (*RoleResponse) MarshalBinary ¶
func (m *RoleResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleResponse) UnmarshalBinary ¶
func (m *RoleResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RolesResponse ¶
type RolesResponse struct { // data Data []*Role `json:"data"` }
RolesResponse roles response swagger:model RolesResponse
func (*RolesResponse) MarshalBinary ¶
func (m *RolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RolesResponse) UnmarshalBinary ¶
func (m *RolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Session ¶
type Session struct { // id // Required: true ID string `json:"id"` // relationships // Required: true Relationships *SessionRelationships `json:"relationships"` // type // Required: true Type string `json:"type"` }
Session session swagger:model Session
func (*Session) MarshalBinary ¶
MarshalBinary interface implementation
func (*Session) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SessionRelationships ¶
type SessionRelationships struct { // user User *SessionRelationshipsUser `json:"user,omitempty"` }
SessionRelationships session relationships swagger:model SessionRelationships
func (*SessionRelationships) MarshalBinary ¶
func (m *SessionRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionRelationships) UnmarshalBinary ¶
func (m *SessionRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SessionRelationshipsUser ¶
type SessionRelationshipsUser struct { // data Data *Relationship `json:"data,omitempty"` }
SessionRelationshipsUser session relationships user swagger:model sessionRelationshipsUser
func (*SessionRelationshipsUser) MarshalBinary ¶
func (m *SessionRelationshipsUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SessionRelationshipsUser) UnmarshalBinary ¶
func (m *SessionRelationshipsUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SigninOKBody ¶
type SigninOKBody struct { // data Data *Session `json:"data,omitempty"` }
SigninOKBody signin o k body swagger:model signinOKBody
func (*SigninOKBody) MarshalBinary ¶
func (m *SigninOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigninOKBody) UnmarshalBinary ¶
func (m *SigninOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SigninParamsBody ¶
type SigninParamsBody struct { // data // Required: true Data *EmailCredentials `json:"data"` }
SigninParamsBody signin params body swagger:model signinParamsBody
func (*SigninParamsBody) MarshalBinary ¶
func (m *SigninParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigninParamsBody) UnmarshalBinary ¶
func (m *SigninParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SignupCreatedBody ¶
type SignupCreatedBody struct { // data Data *Session `json:"data,omitempty"` }
SignupCreatedBody signup created body swagger:model signupCreatedBody
func (*SignupCreatedBody) MarshalBinary ¶
func (m *SignupCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SignupCreatedBody) UnmarshalBinary ¶
func (m *SignupCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SignupParamsBody ¶
type SignupParamsBody struct { // data // Required: true Data *EmailCredentials `json:"data"` }
SignupParamsBody signup params body swagger:model signupParamsBody
func (*SignupParamsBody) MarshalBinary ¶
func (m *SignupParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SignupParamsBody) UnmarshalBinary ¶
func (m *SignupParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // attributes // Required: true Attributes *UserAttributes `json:"attributes"` // id // Read Only: true ID string `json:"id,omitempty"` // relationships // Required: true Relationships *UserRelationships `json:"relationships"` // type // Required: true Type string `json:"type"` }
User user swagger:model User
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserAttributes ¶
type UserAttributes struct { // email // Required: true Email strfmt.Email `json:"email"` // state State string `json:"state,omitempty"` }
UserAttributes user attributes swagger:model userAttributes
func (*UserAttributes) MarshalBinary ¶
func (m *UserAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserAttributes) UnmarshalBinary ¶
func (m *UserAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserRelationships ¶
type UserRelationships struct { // role // Required: true Role *UserRelationshipsRole `json:"role"` }
UserRelationships user relationships swagger:model UserRelationships
func (*UserRelationships) MarshalBinary ¶
func (m *UserRelationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserRelationships) UnmarshalBinary ¶
func (m *UserRelationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserRelationshipsRole ¶
type UserRelationshipsRole struct { // data // Required: true Data *Relationship `json:"data"` }
UserRelationshipsRole user relationships role swagger:model userRelationshipsRole
func (*UserRelationshipsRole) MarshalBinary ¶
func (m *UserRelationshipsRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserRelationshipsRole) UnmarshalBinary ¶
func (m *UserRelationshipsRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserRequest ¶
type UserRequest struct { // data // Required: true Data *User `json:"data"` }
UserRequest user request swagger:model UserRequest
func (*UserRequest) MarshalBinary ¶
func (m *UserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserRequest) UnmarshalBinary ¶
func (m *UserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserResponse ¶
type UserResponse struct { // data Data *User `json:"data,omitempty"` }
UserResponse user response swagger:model UserResponse
func (*UserResponse) MarshalBinary ¶
func (m *UserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserResponse) UnmarshalBinary ¶
func (m *UserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UsersResponse ¶
type UsersResponse struct { // data Data []*User `json:"data"` }
UsersResponse users response swagger:model UsersResponse
func (*UsersResponse) MarshalBinary ¶
func (m *UsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UsersResponse) UnmarshalBinary ¶
func (m *UsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- email_credentials.go
- email_credentials_attributes.go
- error.go
- field.go
- field_attributes.go
- field_attributes_appearance.go
- field_attributes_validators.go
- field_attributes_validators_enum.go
- field_attributes_validators_format.go
- field_attributes_validators_length.go
- field_relationships.go
- field_relationships_item_type.go
- field_request.go
- field_response.go
- fields_response.go
- item.go
- item_relationships.go
- item_relationships_item_type.go
- item_relationships_last_editor.go
- item_request.go
- item_response.go
- item_type.go
- item_type_attributes.go
- item_type_included.go
- item_type_relationships.go
- item_type_relationships_fields.go
- item_type_relationships_ordering_field.go
- item_type_relationships_singleton_item.go
- item_type_request.go
- item_type_response.go
- item_types_response.go
- items_response.go
- items_response_meta.go
- project.go
- project_attributes.go
- project_relationships.go
- project_relationships_account.go
- project_request.go
- project_response.go
- projects_response.go
- relationship.go
- role.go
- role_attributes.go
- role_request.go
- role_response.go
- roles_response.go
- session.go
- session_relationships.go
- session_relationships_user.go
- signin_o_k_body.go
- signin_params_body.go
- signup_created_body.go
- signup_params_body.go
- user.go
- user_attributes.go
- user_relationships.go
- user_relationships_role.go
- user_request.go
- user_response.go
- users_response.go