models

package
v0.0.0-...-281c92d Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MIT Imports: 6 Imported by: 9

Documentation

Index

Constants

View Source
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"
)
View Source
const (

	// FieldAttributesValidatorsFormatPredefinedPatternURL captures enum value "url"
	FieldAttributesValidatorsFormatPredefinedPatternURL string = "url"

	// FieldAttributesValidatorsFormatPredefinedPatternEmail captures enum value "email"
	FieldAttributesValidatorsFormatPredefinedPatternEmail string = "email"
)
View Source
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"
)
View Source
const (

	// UserAttributesStateRegistered captures enum value "registered"
	UserAttributesStateRegistered string = "registered"

	// UserAttributesStateInvitationPending captures enum value "invitation_pending"
	UserAttributesStateInvitationPending string = "invitation_pending"
)
View Source
const (

	// EmailCredentialsTypeEmailCredentials captures enum value "email_credentials"
	EmailCredentialsTypeEmailCredentials string = "email_credentials"
)
View Source
const (

	// FieldAttributesFieldTypeString captures enum value "string"
	FieldAttributesFieldTypeString string = "string"
)
View Source
const (

	// FieldTypeField captures enum value "field"
	FieldTypeField string = "field"
)
View Source
const (

	// ItemTypeItem captures enum value "item"
	ItemTypeItem string = "item"
)
View Source
const (

	// ItemTypeTypeItemType captures enum value "item_type"
	ItemTypeTypeItemType string = "item_type"
)
View Source
const (

	// ProjectTypeProject captures enum value "project"
	ProjectTypeProject string = "project"
)
View Source
const (

	// RoleTypeRole captures enum value "role"
	RoleTypeRole string = "role"
)
View Source
const (

	// SessionTypeSession captures enum value "session"
	SessionTypeSession string = "session"
)
View Source
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

func (*EmailCredentials) Validate

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

Validate validates this email credentials

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

func (*EmailCredentialsAttributes) Validate

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

Validate validates this email credentials attributes

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

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 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

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

MarshalBinary interface implementation

func (*Field) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Field) Validate

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

Validate validates this field

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

func (*FieldAttributes) Validate

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

Validate validates this field attributes

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

func (*FieldAttributesAppearance) Validate

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

Validate validates this field attributes appearance

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

func (*FieldAttributesValidators) Validate

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

Validate validates this field attributes validators

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

func (*FieldAttributesValidatorsEnum) Validate

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

Validate validates this field attributes validators enum

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

func (*FieldAttributesValidatorsFormat) Validate

Validate validates this field attributes validators format

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

func (*FieldAttributesValidatorsLength) Validate

Validate validates this field attributes validators length

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

func (*FieldRelationships) Validate

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

Validate validates this field relationships

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

func (*FieldRelationshipsItemType) Validate

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

Validate validates this field relationships item type

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

func (*FieldRequest) Validate

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

Validate validates this field request

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

func (*FieldResponse) Validate

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

Validate validates this field response

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

func (*FieldsResponse) Validate

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

Validate validates this fields response

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

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

MarshalBinary interface implementation

func (*Item) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Item) Validate

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

Validate validates this item

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

func (*ItemRelationships) Validate

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

Validate validates this item relationships

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

func (*ItemRelationshipsItemType) Validate

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

Validate validates this item relationships item type

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

func (*ItemRelationshipsLastEditor) Validate

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

Validate validates this item relationships last editor

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

func (*ItemRequest) Validate

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

Validate validates this item request

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

func (*ItemResponse) Validate

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

Validate validates this item response

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

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

MarshalBinary interface implementation

func (*ItemType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemType) Validate

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

Validate validates this item type

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

func (*ItemTypeAttributes) Validate

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

Validate validates this item type attributes

type ItemTypeIncluded

type ItemTypeIncluded []*Field

ItemTypeIncluded item type included swagger:model ItemTypeIncluded

func (ItemTypeIncluded) Validate

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

Validate validates this item type included

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

func (*ItemTypeRelationships) Validate

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

Validate validates this item type relationships

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

func (*ItemTypeRelationshipsFields) Validate

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

Validate validates this item type relationships fields

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

func (*ItemTypeRelationshipsOrderingField) Validate

Validate validates this item type relationships ordering field

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

func (*ItemTypeRelationshipsSingletonItem) Validate

Validate validates this item type relationships singleton item

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

func (*ItemTypeRequest) Validate

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

Validate validates this item type request

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

func (*ItemTypeResponse) Validate

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

Validate validates this item type response

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

func (*ItemTypesResponse) Validate

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

Validate validates this item types response

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

func (*ItemsResponse) Validate

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

Validate validates this items response

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

func (*ItemsResponseMeta) Validate

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

Validate validates this items response meta

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

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

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

func (*ProjectAttributes) Validate

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

Validate validates this project attributes

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

func (*ProjectRelationships) Validate

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

Validate validates this project relationships

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

func (*ProjectRelationshipsAccount) Validate

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

Validate validates this project relationships account

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

func (*ProjectRequest) Validate

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

Validate validates this project request

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

func (*ProjectResponse) Validate

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

Validate validates this project response

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

func (*ProjectsResponse) Validate

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

Validate validates this projects response

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

func (*Relationship) Validate

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

Validate validates this relationship

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

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

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Role) Validate

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

Validate validates this role

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

func (*RoleAttributes) Validate

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

Validate validates this role attributes

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

func (*RoleRequest) Validate

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

Validate validates this role request

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

func (*RoleResponse) Validate

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

Validate validates this role response

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

func (*RolesResponse) Validate

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

Validate validates this roles response

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

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

MarshalBinary interface implementation

func (*Session) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Session) Validate

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

Validate validates this session

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

func (*SessionRelationships) Validate

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

Validate validates this session relationships

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

func (*SessionRelationshipsUser) Validate

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

Validate validates this session relationships user

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

func (*SigninOKBody) Validate

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

Validate validates this signin o k body

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

func (*SigninParamsBody) Validate

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

Validate validates this signin params body

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

func (*SignupCreatedBody) Validate

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

Validate validates this signup created body

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

func (*SignupParamsBody) Validate

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

Validate validates this signup params body

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

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

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

func (*UserAttributes) Validate

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

Validate validates this user attributes

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

func (*UserRelationships) Validate

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

Validate validates this user relationships

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

func (*UserRelationshipsRole) Validate

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

Validate validates this user relationships role

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

func (*UserRequest) Validate

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

Validate validates this user request

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

func (*UserResponse) Validate

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

Validate validates this user response

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

func (*UsersResponse) Validate

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

Validate validates this users response

Jump to

Keyboard shortcuts

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