models

package
v8.0.0-...-36f974d Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequest

type BadRequest struct {

	// message
	Message string `json:"message,omitempty"`
}

BadRequest bad request

swagger:model BadRequest

func (BadRequest) Error

func (o BadRequest) Error() string

func (*BadRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*BadRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BadRequest) Validate

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

Validate validates this bad request

type Branch

type Branch string

Branch branch

swagger:model Branch

const (

	// BranchMaster captures enum value "master"
	BranchMaster Branch = "master"

	// BranchDEVBRANCH captures enum value "DEV_BRANCH"
	BranchDEVBRANCH Branch = "DEV_BRANCH"

	// BranchTest captures enum value "test"
	BranchTest Branch = "test"
)

func (Branch) Validate

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

Validate validates this branch

type Category

type Category string

Category category

swagger:model Category

const (

	// CategoryA captures enum value "a"
	CategoryA Category = "a"

	// CategoryB captures enum value "b"
	CategoryB Category = "b"
)

func (Category) Validate

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

Validate validates this category

type Deployment

type Deployment struct {

	// application
	Application string `json:"application,omitempty"`

	// date
	// Format: date-time
	Date strfmt.DateTime `json:"date,omitempty"`

	// environment
	Environment string `json:"environment,omitempty"`

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

Deployment deployment

swagger:model Deployment

func (*Deployment) MarshalBinary

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

MarshalBinary interface implementation

func (*Deployment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Deployment) Validate

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

Validate validates this deployment

type Event

type Event struct {

	// data
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`

	// pk
	Pk string `json:"pk,omitempty"`

	// sk
	Sk string `json:"sk,omitempty"`

	// ttl
	TTL int64 `json:"ttl,omitempty"`
}

Event event

swagger:model Event

func (*Event) MarshalBinary

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type HealthCheckInput

type HealthCheckInput struct {
}

HealthCheckInput holds the input parameters for a healthCheck operation.

func (HealthCheckInput) Path

func (i HealthCheckInput) Path() (string, error)

Path returns the URI path for the input.

func (HealthCheckInput) Validate

func (i HealthCheckInput) Validate() error

Validate returns an error if any of the HealthCheckInput parameters don't satisfy the requirements from the swagger yml file.

type InternalError

type InternalError struct {

	// message
	Message string `json:"message,omitempty"`
}

InternalError internal error

swagger:model InternalError

func (InternalError) Error

func (o InternalError) Error() string

func (*InternalError) MarshalBinary

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

MarshalBinary interface implementation

func (*InternalError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InternalError) Validate

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

Validate validates this internal error

type NoRangeThingWithCompositeAttributes

type NoRangeThingWithCompositeAttributes struct {

	// branch
	// Required: true
	Branch *string `json:"branch"`

	// date
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

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

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

NoRangeThingWithCompositeAttributes no range thing with composite attributes

swagger:model NoRangeThingWithCompositeAttributes

func (*NoRangeThingWithCompositeAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*NoRangeThingWithCompositeAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NoRangeThingWithCompositeAttributes) Validate

Validate validates this no range thing with composite attributes

type Object

type Object struct {

	// bar
	Bar string `json:"bar,omitempty"`

	// foo
	Foo string `json:"foo,omitempty"`
}

Object object

swagger:model Object

func (*Object) MarshalBinary

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

MarshalBinary interface implementation

func (*Object) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Object) Validate

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

Validate validates this object

type SimpleThing

type SimpleThing struct {

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

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

SimpleThing simple thing

swagger:model SimpleThing

func (*SimpleThing) MarshalBinary

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

MarshalBinary interface implementation

func (*SimpleThing) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SimpleThing) Validate

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

Validate validates this simple thing

type TeacherSharingRule

type TeacherSharingRule struct {

	// app
	App string `json:"app,omitempty"`

	// district
	District string `json:"district,omitempty"`

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

	// school
	School string `json:"school,omitempty"`

	// sections
	Sections []string `json:"sections"`

	// teacher
	Teacher string `json:"teacher,omitempty"`
}

TeacherSharingRule teacher sharing rule

swagger:model TeacherSharingRule

func (*TeacherSharingRule) MarshalBinary

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

MarshalBinary interface implementation

func (*TeacherSharingRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TeacherSharingRule) Validate

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

Validate validates this teacher sharing rule

type Thing

type Thing struct {

	// category
	Category Category `json:"category,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// hash nullable
	HashNullable *string `json:"hashNullable,omitempty"`

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

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

	// nested object
	NestedObject *Object `json:"nestedObject,omitempty"`

	// range nullable
	// Format: date-time
	RangeNullable *strfmt.DateTime `json:"rangeNullable,omitempty"`

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

Thing thing

swagger:model Thing

func (*Thing) MarshalBinary

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

MarshalBinary interface implementation

func (*Thing) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Thing) Validate

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

Validate validates this thing

type ThingAllowingBatchWrites

type ThingAllowingBatchWrites struct {

	// category
	Category Category `json:"category,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

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

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

	// nested object
	NestedObject *Object `json:"nestedObject,omitempty"`

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

ThingAllowingBatchWrites thing allowing batch writes

swagger:model ThingAllowingBatchWrites

func (*ThingAllowingBatchWrites) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingAllowingBatchWrites) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingAllowingBatchWrites) Validate

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

Validate validates this thing allowing batch writes

type ThingAllowingBatchWritesWithCompositeAttributes

type ThingAllowingBatchWritesWithCompositeAttributes struct {

	// date
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

	// id
	// Required: true
	ID *string `json:"id"`

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

ThingAllowingBatchWritesWithCompositeAttributes thing allowing batch writes with composite attributes

swagger:model ThingAllowingBatchWritesWithCompositeAttributes

func (*ThingAllowingBatchWritesWithCompositeAttributes) MarshalBinary

MarshalBinary interface implementation

func (*ThingAllowingBatchWritesWithCompositeAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ThingAllowingBatchWritesWithCompositeAttributes) Validate

Validate validates this thing allowing batch writes with composite attributes

type ThingWithAdditionalAttributes

type ThingWithAdditionalAttributes struct {

	// additional b attribute
	// Format: byte
	AdditionalBAttribute strfmt.Base64 `json:"additionalBAttribute,omitempty"`

	// additional n attribute
	AdditionalNAttribute *int64 `json:"additionalNAttribute,omitempty"`

	// additional s attribute
	AdditionalSAttribute *string `json:"additionalSAttribute,omitempty"`

	// category
	Category Category `json:"category,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// hash nullable
	HashNullable *string `json:"hashNullable,omitempty"`

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

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

	// nested object
	NestedObject *Object `json:"nestedObject,omitempty"`

	// range nullable
	// Format: date-time
	RangeNullable *strfmt.DateTime `json:"rangeNullable,omitempty"`

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

ThingWithAdditionalAttributes thing with additional attributes

swagger:model ThingWithAdditionalAttributes

func (*ThingWithAdditionalAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithAdditionalAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithAdditionalAttributes) Validate

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

Validate validates this thing with additional attributes

type ThingWithCompositeAttributes

type ThingWithCompositeAttributes struct {

	// branch
	// Required: true
	Branch *string `json:"branch"`

	// date
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

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

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

ThingWithCompositeAttributes thing with composite attributes

swagger:model ThingWithCompositeAttributes

func (*ThingWithCompositeAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithCompositeAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithCompositeAttributes) Validate

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

Validate validates this thing with composite attributes

type ThingWithCompositeEnumAttributes

type ThingWithCompositeEnumAttributes struct {

	// branch ID
	// Required: true
	BranchID Branch `json:"branchID"`

	// date
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

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

ThingWithCompositeEnumAttributes thing with composite enum attributes

swagger:model ThingWithCompositeEnumAttributes

func (*ThingWithCompositeEnumAttributes) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithCompositeEnumAttributes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithCompositeEnumAttributes) Validate

Validate validates this thing with composite enum attributes

type ThingWithDateRange

type ThingWithDateRange struct {

	// date
	// Format: date-time
	Date strfmt.DateTime `json:"date,omitempty"`

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

ThingWithDateRange thing with date range

swagger:model ThingWithDateRange

func (*ThingWithDateRange) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithDateRange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithDateRange) Validate

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

Validate validates this thing with date range

type ThingWithDateTimeComposite

type ThingWithDateTimeComposite struct {

	// created
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

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

	// resource
	Resource string `json:"resource,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

ThingWithDateTimeComposite thing with date time composite

swagger:model ThingWithDateTimeComposite

func (*ThingWithDateTimeComposite) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithDateTimeComposite) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithDateTimeComposite) Validate

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

Validate validates this thing with date time composite

type ThingWithEnumHashKey

type ThingWithEnumHashKey struct {

	// branch
	Branch Branch `json:"branch,omitempty"`

	// date
	// Format: date-time
	Date strfmt.DateTime `json:"date,omitempty"`

	// date2
	// Format: date-time
	Date2 strfmt.DateTime `json:"date2,omitempty"`
}

ThingWithEnumHashKey thing with enum hash key

swagger:model ThingWithEnumHashKey

func (*ThingWithEnumHashKey) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithEnumHashKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithEnumHashKey) Validate

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

Validate validates this thing with enum hash key

type ThingWithMatchingKeys

type ThingWithMatchingKeys struct {

	// assoc ID
	AssocID string `json:"assocID,omitempty"`

	// assoc type
	AssocType string `json:"assocType,omitempty"`

	// bear
	Bear string `json:"bear,omitempty"`

	// created
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`
}

ThingWithMatchingKeys thing with matching keys

swagger:model ThingWithMatchingKeys

func (*ThingWithMatchingKeys) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithMatchingKeys) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithMatchingKeys) Validate

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

Validate validates this thing with matching keys

type ThingWithMultiUseCompositeAttribute

type ThingWithMultiUseCompositeAttribute struct {

	// four
	// Required: true
	Four *string `json:"four"`

	// one
	// Required: true
	One *string `json:"one"`

	// three
	// Required: true
	Three *string `json:"three"`

	// two
	// Required: true
	Two *string `json:"two"`
}

ThingWithMultiUseCompositeAttribute thing with multi use composite attribute

swagger:model ThingWithMultiUseCompositeAttribute

func (*ThingWithMultiUseCompositeAttribute) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithMultiUseCompositeAttribute) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithMultiUseCompositeAttribute) Validate

Validate validates this thing with multi use composite attribute

type ThingWithRequiredCompositePropertiesAndKeysOnly

type ThingWithRequiredCompositePropertiesAndKeysOnly struct {

	// property one
	// Required: true
	PropertyOne *string `json:"propertyOne"`

	// property three
	// Required: true
	PropertyThree *string `json:"propertyThree"`

	// property two
	// Required: true
	PropertyTwo *string `json:"propertyTwo"`
}

ThingWithRequiredCompositePropertiesAndKeysOnly thing with required composite properties and keys only

swagger:model ThingWithRequiredCompositePropertiesAndKeysOnly

func (*ThingWithRequiredCompositePropertiesAndKeysOnly) MarshalBinary

MarshalBinary interface implementation

func (*ThingWithRequiredCompositePropertiesAndKeysOnly) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ThingWithRequiredCompositePropertiesAndKeysOnly) Validate

Validate validates this thing with required composite properties and keys only

type ThingWithRequiredFields

type ThingWithRequiredFields struct {

	// id
	// Required: true
	ID *string `json:"id"`

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

ThingWithRequiredFields thing with required fields

swagger:model ThingWithRequiredFields

func (*ThingWithRequiredFields) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithRequiredFields) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithRequiredFields) Validate

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

Validate validates this thing with required fields

type ThingWithRequiredFields2

type ThingWithRequiredFields2 struct {

	// id
	// Required: true
	ID *string `json:"id"`

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

ThingWithRequiredFields2 thing with required fields2

swagger:model ThingWithRequiredFields2

func (*ThingWithRequiredFields2) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithRequiredFields2) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithRequiredFields2) Validate

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

Validate validates this thing with required fields2

type ThingWithUnderscores

type ThingWithUnderscores struct {

	// id app
	IDApp string `json:"id_app,omitempty"`
}

ThingWithUnderscores thing with underscores

swagger:model ThingWithUnderscores

func (*ThingWithUnderscores) MarshalBinary

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

MarshalBinary interface implementation

func (*ThingWithUnderscores) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ThingWithUnderscores) Validate

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

Validate validates this thing with underscores

type UnknownResponse

type UnknownResponse struct {

	// body
	Body string `json:"body,omitempty"`

	// status code
	StatusCode int64 `json:"statusCode,omitempty"`
}

UnknownResponse unknown response

swagger:model UnknownResponse

func (UnknownResponse) Error

func (u UnknownResponse) Error() string

func (*UnknownResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UnknownResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UnknownResponse) Validate

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

Validate validates this unknown response

Jump to

Keyboard shortcuts

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