models

package
v0.0.0-...-c4e9093 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingAccountRef

type BillingAccountRef struct {

	// billing contact
	BillingContact *Contact `json:"billingContact,omitempty"`

	// Identifies the buyer’s billing account to which the recurring and non-recurring charges for this order or order item will be billed.
	// If the value ‘NEW’ is provided it means that buyer request a new BAN.
	// Required: true
	ID *string `json:"id"`
}

BillingAccountRef References the billing arrangement that a buyer has with a seller that provides products to the customer.

swagger:model BillingAccountRef

func (*BillingAccountRef) MarshalBinary

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

MarshalBinary interface implementation

func (*BillingAccountRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BillingAccountRef) Validate

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

Validate validates this billing account ref

type CancelProductOrder

type CancelProductOrder struct {

	// Technical attribute to extend this class.
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Technical attribute to extend this class.
	AtType string `json:"@type,omitempty"`

	// If seller denied cancellation request he could here provide reason for this denial
	CancellationDeniedReason string `json:"cancellationDeniedReason,omitempty"`

	// An optional free-form text field for the Seller to provide additional information regarding the reason for the cancellation.
	CancellationReason string `json:"cancellationReason,omitempty"`

	// Hyperlink to access order cancellation request.This is not a product order href.
	Href string `json:"href,omitempty"`

	// Unique identifier for the order cancellation request that is generated by the Seller when the order cancellation is accepted via an API. This is not the order id.
	// Required: true
	ID *string `json:"id"`

	// product order
	// Required: true
	ProductOrder *ProductOrderRefCancel `json:"productOrder"`

	// Identifies the date the Seller cancelled the Order.
	// Required: true
	// Format: date-time
	RequestedCancellationDate *strfmt.DateTime `json:"requestedCancellationDate"`

	// state
	// Required: true
	State TaskStateType `json:"state"`
}

CancelProductOrder Structure to allow Seller to answer to a cancel order request

swagger:model CancelProductOrder

func (*CancelProductOrder) MarshalBinary

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

MarshalBinary interface implementation

func (*CancelProductOrder) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CancelProductOrder) Validate

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

Validate validates this cancel product order

type CancelProductOrderCreate

type CancelProductOrderCreate struct {

	// Technical attribute to extend this class.
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Technical attribute to extend this class.
	AtType string `json:"@type,omitempty"`

	// An optional free-form text field for the Seller to provide additional information regarding the reason for the cancellation.
	CancellationReason string `json:"cancellationReason,omitempty"`

	// product order
	// Required: true
	ProductOrder *ProductOrderRefCancel `json:"productOrder"`

	// Identifies the date the Seller cancelled the Order.
	// Required: true
	// Format: date-time
	RequestedCancellationDate *strfmt.DateTime `json:"requestedCancellationDate"`
}

CancelProductOrderCreate cancel product order create

swagger:model CancelProductOrder_Create

func (*CancelProductOrderCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*CancelProductOrderCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CancelProductOrderCreate) Validate

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

Validate validates this cancel product order create

type ChargePeriod

type ChargePeriod string

ChargePeriod Used to describe a charge period for recurring one

swagger:model ChargePeriod

const (

	// ChargePeriodDay captures enum value "day"
	ChargePeriodDay ChargePeriod = "day"

	// ChargePeriodWeek captures enum value "week"
	ChargePeriodWeek ChargePeriod = "week"

	// ChargePeriodMonth captures enum value "month"
	ChargePeriodMonth ChargePeriod = "month"

	// ChargePeriodYear captures enum value "year"
	ChargePeriodYear ChargePeriod = "year"
)

func (ChargePeriod) Validate

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

Validate validates this charge period

type Contact

type Contact struct {

	// Technical attribut to extend API
	AtReferredType string `json:"@referredType,omitempty"`

	// Identifies the name of the person or office to be contacted on billing matters.
	// Required: true
	ContactName *string `json:"contactName"`

	// Identifies the electronic mail address of the Billing Contact when a Buyer profile does not already exist.
	// Required: true
	EmailAdress *string `json:"emailAdress"`

	// Identifies the telephone number (excluding extension) of the billing contact
	// Required: true
	PhoneNumber *string `json:"phoneNumber"`

	// Identifies the telephone number extension of the billing contact
	PhoneNumberExtension string `json:"phoneNumberExtension,omitempty"`

	// Identifies the address of the person or office to be contacted on billing matters.
	// Required: true
	StreetAdress *string `json:"streetAdress"`
}

Contact Contact allow to capture contact information. It is used to capture billing account contact information

swagger:model Contact

func (*Contact) MarshalBinary

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

MarshalBinary interface implementation

func (*Contact) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Contact) Validate

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

Validate validates this contact

type Describing

type Describing interface {
	runtime.Validatable

	// URL targeting where product description is stored
	AtSchemaLocation() string
	SetAtSchemaLocation(string)

	// Type of the product
	AtType() string
	SetAtType(string)
}

Describing Polymorphic class to describe request product attribute

swagger:discriminator Describing @type

func UnmarshalDescribing

func UnmarshalDescribing(reader io.Reader, consumer runtime.Consumer) (Describing, error)

UnmarshalDescribing unmarshals polymorphic Describing

func UnmarshalDescribingSlice

func UnmarshalDescribingSlice(reader io.Reader, consumer runtime.Consumer) ([]Describing, error)

UnmarshalDescribingSlice unmarshals polymorphic slices of Describing

type DesiredOrderResponses

type DesiredOrderResponses string

DesiredOrderResponses The kind of responses that the buyer expects to receive from the seller.

swagger:model DesiredOrderResponses

const (

	// DesiredOrderResponsesConfirmationAndEngineeringDesign captures enum value "confirmationAndEngineeringDesign"
	DesiredOrderResponsesConfirmationAndEngineeringDesign DesiredOrderResponses = "confirmationAndEngineeringDesign"

	// DesiredOrderResponsesConfirmationOnly captures enum value "confirmationOnly"
	DesiredOrderResponsesConfirmationOnly DesiredOrderResponses = "confirmationOnly"

	// DesiredOrderResponsesNone captures enum value "none"
	DesiredOrderResponsesNone DesiredOrderResponses = "none"
)

func (DesiredOrderResponses) Validate

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

Validate validates this desired order responses

type ErrorRepresentation

type ErrorRepresentation struct {

	// it provides a link to the schema describing a REST resource.
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// The class type of a REST resource.
	AtType string `json:"@type,omitempty"`

	// Application related code (as defined in the API or from a common list)
	// Required: true
	Code *int32 `json:"code"`

	// Text that provide more details and corrective actions related to the error. This can be shown to a client user.
	Message string `json:"message,omitempty"`

	// Text that explains the reason for error. This can be shown to a client user.
	// Required: true
	Reason *string `json:"reason"`

	// url pointing to documentation describing the error
	ReferenceError string `json:"referenceError,omitempty"`

	// http error code extension like 400-2
	Status int32 `json:"status,omitempty"`
}

ErrorRepresentation Class used to describe API response error

swagger:model ErrorRepresentation

func (*ErrorRepresentation) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorRepresentation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorRepresentation) Validate

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

Validate validates this error representation

type FieldedAddress

type FieldedAddress struct {

	// geographic sub address
	GeographicSubAddress *GeographicSubAddress `json:"GeographicSubAddress,omitempty"`

	// The city that the address is in
	// Required: true
	City *string `json:"city"`

	// Country that the address is in
	// Required: true
	Country *string `json:"country"`

	// The locality that the address is in
	Locality string `json:"locality,omitempty"`

	// Descriptor for a postal delivery area, used to speed and simplify the delivery of mail (also known as zipcode)
	// Required: true
	Postcode *string `json:"postcode"`

	// An extension of a postal code. E.g. the part following the dash in an american urban property address
	PostcodeExtension string `json:"postcodeExtension,omitempty"`

	// The State or Province that the address is in
	// Required: true
	StateOrProvince *string `json:"stateOrProvince"`

	// Name of the street or other street type
	// Required: true
	StreetName *string `json:"streetName"`

	// Number identifying a specific property on a public street. It may be combined with streetNrLast for ranged addresses
	StreetNr string `json:"streetNr,omitempty"`

	// Last number in a range of street numbers allocated to a property
	StreetNrLast string `json:"streetNrLast,omitempty"`

	// Last street number suffix for a ranged address
	StreetNrLastSuffix string `json:"streetNrLastSuffix,omitempty"`

	// The first street number suffix
	StreetNrSuffix string `json:"streetNrSuffix,omitempty"`

	// A modifier denoting a relative direction
	StreetSuffix string `json:"streetSuffix,omitempty"`

	// Alley, avenue, boulevard, brae, crescent, drive, highway, lane, terrace, parade, place, tarn, way, wharf
	// Required: true
	StreetType *string `json:"streetType"`
	// contains filtered or unexported fields
}

FieldedAddress A type of Address that has a discrete field and value for each type of boundary or identifier down to the lowest level of detail. For example “street number” is one field, “street name” is another field, etc.

swagger:model FieldedAddress

func (*FieldedAddress) AdditionalSiteInformation

func (m *FieldedAddress) AdditionalSiteInformation() string

AdditionalSiteInformation gets the additional site information of this subtype

func (*FieldedAddress) AtType

func (m *FieldedAddress) AtType() string

AtType gets the at type of this subtype

func (*FieldedAddress) Href

func (m *FieldedAddress) Href() string

Href gets the href of this subtype

func (*FieldedAddress) ID

func (m *FieldedAddress) ID() string

ID gets the id of this subtype

func (*FieldedAddress) MarshalBinary

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

MarshalBinary interface implementation

func (FieldedAddress) MarshalJSON

func (m FieldedAddress) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*FieldedAddress) Role

func (m *FieldedAddress) Role() *string

Role gets the role of this subtype

func (*FieldedAddress) SetAdditionalSiteInformation

func (m *FieldedAddress) SetAdditionalSiteInformation(val string)

SetAdditionalSiteInformation sets the additional site information of this subtype

func (*FieldedAddress) SetAtType

func (m *FieldedAddress) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*FieldedAddress) SetHref

func (m *FieldedAddress) SetHref(val string)

SetHref sets the href of this subtype

func (*FieldedAddress) SetID

func (m *FieldedAddress) SetID(val string)

SetID sets the id of this subtype

func (*FieldedAddress) SetRole

func (m *FieldedAddress) SetRole(val *string)

SetRole sets the role of this subtype

func (*FieldedAddress) SetSiteCompanyName

func (m *FieldedAddress) SetSiteCompanyName(val string)

SetSiteCompanyName sets the site company name of this subtype

func (*FieldedAddress) SetSiteCustomerName

func (m *FieldedAddress) SetSiteCustomerName(val string)

SetSiteCustomerName sets the site customer name of this subtype

func (*FieldedAddress) SetSiteDescription

func (m *FieldedAddress) SetSiteDescription(val string)

SetSiteDescription sets the site description of this subtype

func (*FieldedAddress) SetSiteName

func (m *FieldedAddress) SetSiteName(val string)

SetSiteName sets the site name of this subtype

func (*FieldedAddress) SiteCompanyName

func (m *FieldedAddress) SiteCompanyName() string

SiteCompanyName gets the site company name of this subtype

func (*FieldedAddress) SiteCustomerName

func (m *FieldedAddress) SiteCustomerName() string

SiteCustomerName gets the site customer name of this subtype

func (*FieldedAddress) SiteDescription

func (m *FieldedAddress) SiteDescription() string

SiteDescription gets the site description of this subtype

func (*FieldedAddress) SiteName

func (m *FieldedAddress) SiteName() string

SiteName gets the site name of this subtype

func (*FieldedAddress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FieldedAddress) UnmarshalJSON

func (m *FieldedAddress) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*FieldedAddress) Validate

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

Validate validates this fielded address

type FormattedAddress

type FormattedAddress struct {

	// The first address line in a formatted address
	// Required: true
	AddrLine1 *string `json:"addrLine1"`

	// The second address line in a formatted address
	AddrLine2 string `json:"addrLine2,omitempty"`

	// The city that the address is in
	// Required: true
	City *string `json:"city"`

	// Country that the address is in
	// Required: true
	Country *string `json:"country"`

	// An area of defined or undefined boundaries within a local authority or other legislatively defined area, usually rural or semi rural in nature
	Locality string `json:"locality,omitempty"`

	// Descriptor for a postal delivery area, used to speed and simplify the delivery of mail (also known as ZIP code)
	// Required: true
	Postcode *string `json:"postcode"`

	// An extension of a postal code. E.g. the part following the dash in an American urban property address
	PostcodeExtension string `json:"postcodeExtension,omitempty"`

	// The State or Province that the address is in
	// Required: true
	StateOrProvince *string `json:"stateOrProvince"`
	// contains filtered or unexported fields
}

FormattedAddress A type of Address that has discrete fields for each type of boundary or identifier with the exception of street and more specific location details, which are combined into a maximum of two strings based on local postal addressing conventions.

swagger:model FormattedAddress

func (*FormattedAddress) AdditionalSiteInformation

func (m *FormattedAddress) AdditionalSiteInformation() string

AdditionalSiteInformation gets the additional site information of this subtype

func (*FormattedAddress) AtType

func (m *FormattedAddress) AtType() string

AtType gets the at type of this subtype

func (*FormattedAddress) Href

func (m *FormattedAddress) Href() string

Href gets the href of this subtype

func (*FormattedAddress) ID

func (m *FormattedAddress) ID() string

ID gets the id of this subtype

func (*FormattedAddress) MarshalBinary

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

MarshalBinary interface implementation

func (FormattedAddress) MarshalJSON

func (m FormattedAddress) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*FormattedAddress) Role

func (m *FormattedAddress) Role() *string

Role gets the role of this subtype

func (*FormattedAddress) SetAdditionalSiteInformation

func (m *FormattedAddress) SetAdditionalSiteInformation(val string)

SetAdditionalSiteInformation sets the additional site information of this subtype

func (*FormattedAddress) SetAtType

func (m *FormattedAddress) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*FormattedAddress) SetHref

func (m *FormattedAddress) SetHref(val string)

SetHref sets the href of this subtype

func (*FormattedAddress) SetID

func (m *FormattedAddress) SetID(val string)

SetID sets the id of this subtype

func (*FormattedAddress) SetRole

func (m *FormattedAddress) SetRole(val *string)

SetRole sets the role of this subtype

func (*FormattedAddress) SetSiteCompanyName

func (m *FormattedAddress) SetSiteCompanyName(val string)

SetSiteCompanyName sets the site company name of this subtype

func (*FormattedAddress) SetSiteCustomerName

func (m *FormattedAddress) SetSiteCustomerName(val string)

SetSiteCustomerName sets the site customer name of this subtype

func (*FormattedAddress) SetSiteDescription

func (m *FormattedAddress) SetSiteDescription(val string)

SetSiteDescription sets the site description of this subtype

func (*FormattedAddress) SetSiteName

func (m *FormattedAddress) SetSiteName(val string)

SetSiteName sets the site name of this subtype

func (*FormattedAddress) SiteCompanyName

func (m *FormattedAddress) SiteCompanyName() string

SiteCompanyName gets the site company name of this subtype

func (*FormattedAddress) SiteCustomerName

func (m *FormattedAddress) SiteCustomerName() string

SiteCustomerName gets the site customer name of this subtype

func (*FormattedAddress) SiteDescription

func (m *FormattedAddress) SiteDescription() string

SiteDescription gets the site description of this subtype

func (*FormattedAddress) SiteName

func (m *FormattedAddress) SiteName() string

SiteName gets the site name of this subtype

func (*FormattedAddress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FormattedAddress) UnmarshalJSON

func (m *FormattedAddress) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*FormattedAddress) Validate

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

Validate validates this formatted address

type GeographicLocation

type GeographicLocation struct {

	// geographic point
	// Required: true
	GeographicPoint *GeographicPoint `json:"geographicPoint"`

	// The spatial reference system used to determine the coordinates
	// Required: true
	SpatialRef *string `json:"spatialRef"`
	// contains filtered or unexported fields
}

GeographicLocation A set of coordinates (typically including latitude and longitude) that describes a particular loca-tion on earth.

swagger:model GeographicLocation

func (*GeographicLocation) AdditionalSiteInformation

func (m *GeographicLocation) AdditionalSiteInformation() string

AdditionalSiteInformation gets the additional site information of this subtype

func (*GeographicLocation) AtType

func (m *GeographicLocation) AtType() string

AtType gets the at type of this subtype

func (*GeographicLocation) Href

func (m *GeographicLocation) Href() string

Href gets the href of this subtype

func (*GeographicLocation) ID

func (m *GeographicLocation) ID() string

ID gets the id of this subtype

func (*GeographicLocation) MarshalBinary

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

MarshalBinary interface implementation

func (GeographicLocation) MarshalJSON

func (m GeographicLocation) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*GeographicLocation) Role

func (m *GeographicLocation) Role() *string

Role gets the role of this subtype

func (*GeographicLocation) SetAdditionalSiteInformation

func (m *GeographicLocation) SetAdditionalSiteInformation(val string)

SetAdditionalSiteInformation sets the additional site information of this subtype

func (*GeographicLocation) SetAtType

func (m *GeographicLocation) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*GeographicLocation) SetHref

func (m *GeographicLocation) SetHref(val string)

SetHref sets the href of this subtype

func (*GeographicLocation) SetID

func (m *GeographicLocation) SetID(val string)

SetID sets the id of this subtype

func (*GeographicLocation) SetRole

func (m *GeographicLocation) SetRole(val *string)

SetRole sets the role of this subtype

func (*GeographicLocation) SetSiteCompanyName

func (m *GeographicLocation) SetSiteCompanyName(val string)

SetSiteCompanyName sets the site company name of this subtype

func (*GeographicLocation) SetSiteCustomerName

func (m *GeographicLocation) SetSiteCustomerName(val string)

SetSiteCustomerName sets the site customer name of this subtype

func (*GeographicLocation) SetSiteDescription

func (m *GeographicLocation) SetSiteDescription(val string)

SetSiteDescription sets the site description of this subtype

func (*GeographicLocation) SetSiteName

func (m *GeographicLocation) SetSiteName(val string)

SetSiteName sets the site name of this subtype

func (*GeographicLocation) SiteCompanyName

func (m *GeographicLocation) SiteCompanyName() string

SiteCompanyName gets the site company name of this subtype

func (*GeographicLocation) SiteCustomerName

func (m *GeographicLocation) SiteCustomerName() string

SiteCustomerName gets the site customer name of this subtype

func (*GeographicLocation) SiteDescription

func (m *GeographicLocation) SiteDescription() string

SiteDescription gets the site description of this subtype

func (*GeographicLocation) SiteName

func (m *GeographicLocation) SiteName() string

SiteName gets the site name of this subtype

func (*GeographicLocation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GeographicLocation) UnmarshalJSON

func (m *GeographicLocation) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*GeographicLocation) Validate

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

Validate validates this geographic location

type GeographicPoint

type GeographicPoint struct {

	// The latitude expressed in decimal degrees format
	// Required: true
	Latitude *string `json:"latitude"`

	// The longitude expressed in decimal degrees format
	// Required: true
	Longitude *string `json:"longitude"`
}

GeographicPoint geographic point

swagger:model GeographicPoint

func (*GeographicPoint) MarshalBinary

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

MarshalBinary interface implementation

func (*GeographicPoint) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GeographicPoint) Validate

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

Validate validates this geographic point

type GeographicSite

type GeographicSite struct {
	GeographicSiteAllOf1
	// contains filtered or unexported fields
}

GeographicSite A fixed physical location at which a Product can be installed.

swagger:model GeographicSite

func (*GeographicSite) AdditionalSiteInformation

func (m *GeographicSite) AdditionalSiteInformation() string

AdditionalSiteInformation gets the additional site information of this subtype

func (*GeographicSite) AtType

func (m *GeographicSite) AtType() string

AtType gets the at type of this subtype

func (*GeographicSite) Href

func (m *GeographicSite) Href() string

Href gets the href of this subtype

func (*GeographicSite) ID

func (m *GeographicSite) ID() string

ID gets the id of this subtype

func (*GeographicSite) MarshalBinary

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

MarshalBinary interface implementation

func (GeographicSite) MarshalJSON

func (m GeographicSite) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*GeographicSite) Role

func (m *GeographicSite) Role() *string

Role gets the role of this subtype

func (*GeographicSite) SetAdditionalSiteInformation

func (m *GeographicSite) SetAdditionalSiteInformation(val string)

SetAdditionalSiteInformation sets the additional site information of this subtype

func (*GeographicSite) SetAtType

func (m *GeographicSite) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*GeographicSite) SetHref

func (m *GeographicSite) SetHref(val string)

SetHref sets the href of this subtype

func (*GeographicSite) SetID

func (m *GeographicSite) SetID(val string)

SetID sets the id of this subtype

func (*GeographicSite) SetRole

func (m *GeographicSite) SetRole(val *string)

SetRole sets the role of this subtype

func (*GeographicSite) SetSiteCompanyName

func (m *GeographicSite) SetSiteCompanyName(val string)

SetSiteCompanyName sets the site company name of this subtype

func (*GeographicSite) SetSiteCustomerName

func (m *GeographicSite) SetSiteCustomerName(val string)

SetSiteCustomerName sets the site customer name of this subtype

func (*GeographicSite) SetSiteDescription

func (m *GeographicSite) SetSiteDescription(val string)

SetSiteDescription sets the site description of this subtype

func (*GeographicSite) SetSiteName

func (m *GeographicSite) SetSiteName(val string)

SetSiteName sets the site name of this subtype

func (*GeographicSite) SiteCompanyName

func (m *GeographicSite) SiteCompanyName() string

SiteCompanyName gets the site company name of this subtype

func (*GeographicSite) SiteCustomerName

func (m *GeographicSite) SiteCustomerName() string

SiteCustomerName gets the site customer name of this subtype

func (*GeographicSite) SiteDescription

func (m *GeographicSite) SiteDescription() string

SiteDescription gets the site description of this subtype

func (*GeographicSite) SiteName

func (m *GeographicSite) SiteName() string

SiteName gets the site name of this subtype

func (*GeographicSite) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GeographicSite) UnmarshalJSON

func (m *GeographicSite) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*GeographicSite) Validate

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

Validate validates this geographic site

type GeographicSiteAllOf1

type GeographicSiteAllOf1 interface{}

GeographicSiteAllOf1 geographic site all of1

swagger:model GeographicSiteAllOf1

type GeographicSubAddress

type GeographicSubAddress struct {

	// Technical attribute to exend this class if needed (JSON schema locator)
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Technical attribute to exend this class if needed
	AtType string `json:"@type,omitempty"`

	// Allows for buildings that have well-known names
	BuildingName string `json:"buildingName,omitempty"`

	// Unique Identifier of the subAddress
	ID string `json:"id,omitempty"`

	// Used where a level type may be repeated e.g. BASEMENT 1, BASEMENT 2
	LevelNumber string `json:"levelNumber,omitempty"`

	// Describes level types within a building
	LevelType string `json:"levelType,omitempty"`

	// "Private streets internal to a property (e.g. a university) may have internal names that are not recorded by the land title office
	PrivateStreetName string `json:"privateStreetName,omitempty"`

	// Private streets numbers internal to a private street
	PrivateStreetNumber string `json:"privateStreetNumber,omitempty"`

	// sub unit
	SubUnit []*SubUnit `json:"subUnit"`
}

GeographicSubAddress It is used for addressing within a property in an urban area (country properties are often defined differently). It may refer to a building, a building cluster, or a floor of a multistory building.

swagger:model GeographicSubAddress

func (*GeographicSubAddress) MarshalBinary

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

MarshalBinary interface implementation

func (*GeographicSubAddress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GeographicSubAddress) Validate

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

Validate validates this geographic sub address

type Hub

type Hub struct {

	// callback urn, for instance an url http://yourdomain/listener/api/v1/event
	// Required: true
	Callback *string `json:"callback"`

	// id of the Hub
	// Required: true
	ID *string `json:"id"`

	// attribute selection & search criteria
	// Required: true
	Query *string `json:"query"`
}

Hub This resource is used to manage notification subscription.

swagger:model Hub

func (*Hub) MarshalBinary

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

MarshalBinary interface implementation

func (*Hub) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Hub) Validate

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

Validate validates this hub

type HubInput

type HubInput struct {

	// This attribute is the callback url where event will be sent when occurs, for instance an url http://yourdomain/listener/api/v1/event
	// Required: true
	Callback *string `json:"callback"`

	// This attribute is used to define notification type. Example: ","query":”eventType = ProductOrderStateChangeNotification”}
	// Required: true
	Query *string `json:"query"`
}

HubInput This class is used to request a HUB creation - Used in the POST operation

swagger:model HubInput

func (*HubInput) MarshalBinary

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

MarshalBinary interface implementation

func (*HubInput) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HubInput) Validate

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

Validate validates this hub input

type Money

type Money struct {

	// Currency (ISO4217 norm uses 3 letters to define the currency
	// Required: true
	Unit *string `json:"unit"`

	// A positive floating point number
	// Required: true
	Value *float32 `json:"value"`
}

Money base / value business entity used to represent money

swagger:model Money

func (*Money) MarshalBinary

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

MarshalBinary interface implementation

func (*Money) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Money) Validate

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

Validate validates this money

type Note

type Note struct {

	// The author of the note
	// Required: true
	Author *string `json:"author"`

	// The date of the note. Format is YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00).
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

	// The text of the note
	// Required: true
	Text *string `json:"text"`
}

Note Free form text to clarify or explain the order.

swagger:model Note

func (*Note) MarshalBinary

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

MarshalBinary interface implementation

func (*Note) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Note) Validate

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

Validate validates this note

type OrderActivity

type OrderActivity string

OrderActivity The type of order as defined by the business.

swagger:model OrderActivity

const (

	// OrderActivityInstall captures enum value "install"
	OrderActivityInstall OrderActivity = "install"

	// OrderActivityChange captures enum value "change"
	OrderActivityChange OrderActivity = "change"

	// OrderActivityDisconnect captures enum value "disconnect"
	OrderActivityDisconnect OrderActivity = "disconnect"
)

func (OrderActivity) Validate

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

Validate validates this order activity

type OrderItem

type OrderItem struct {

	// Target a description file of productOrder extension
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Type of productOrder
	AtType string `json:"@type,omitempty"`

	// action
	// Required: true
	Action ProductActionType `json:"action"`

	// billing account
	BillingAccount *BillingAccountRef `json:"billingAccount,omitempty"`

	// Identifier of the line item (generally it is a sequence number 01, 02, 03, ...)
	// Required: true
	ID *string `json:"id"`

	// order item price
	OrderItemPrice []*OrderItemPrice `json:"orderItemPrice"`

	// order item relationship
	OrderItemRelationship []*OrderItemRelationShip `json:"orderItemRelationship"`

	// pricing method
	PricingMethod PricingMethod `json:"pricingMethod,omitempty"`

	// The identifier references the previously agreed upon pricing terms, as applicable, based on the pricingMethod (e.g. a contract id or tariff id.
	PricingReference string `json:"pricingReference,omitempty"`

	// The length of the contract in months
	PricingTerm int32 `json:"pricingTerm,omitempty"`

	// product
	Product *Product `json:"product,omitempty"`

	// product offering
	ProductOffering *ProductOfferingRef `json:"productOffering,omitempty"`

	// qualification
	Qualification *QualificationRef `json:"qualification,omitempty"`

	// quote
	Quote *QuoteRef `json:"quote,omitempty"`

	// related party
	RelatedParty []*RelatedParty `json:"relatedParty"`

	// state
	// Required: true
	State ProductOrderItemStateType `json:"state"`

	// state change
	StateChange []*StateChange `json:"stateChange"`
}

OrderItem An enumeration of the entities that are part of this order expressed in terms of a Product Offering or a Product (for a change order).

swagger:model OrderItem

func (*OrderItem) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderItem) Validate

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

Validate validates this order item

type OrderItemPrice

type OrderItemPrice struct {

	// Technical attribute to extend the class
	AtType string `json:"@type,omitempty"`

	// A narrative that explains in detail the semantics of yhis order item price
	Description string `json:"description,omitempty"`

	// Name of the product price
	// Required: true
	Name *string `json:"name"`

	// price
	// Required: true
	Price *Price `json:"price"`

	// price type
	// Required: true
	PriceType PriceType `json:"priceType"`

	// recurring charge period
	RecurringChargePeriod ChargePeriod `json:"recurringChargePeriod,omitempty"`
}

OrderItemPrice Structure used to define a product price. An order item could have 0-* order item price.

swagger:model OrderItemPrice

func (*OrderItemPrice) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderItemPrice) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderItemPrice) Validate

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

Validate validates this order item price

type OrderItemRelationShip

type OrderItemRelationShip struct {

	// The id of the targeted order item by the relationship
	// Required: true
	ID *string `json:"id"`

	// Id of another product order if this relationship is between two distinct orders.
	ProductOrderID string `json:"productOrderId,omitempty"`

	// Indicates the type of order item relationship
	// Required: true
	Type *string `json:"type"`
}

OrderItemRelationShip This class allows the ability to associate one order item to another order item.

swagger:model OrderItemRelationShip

func (*OrderItemRelationShip) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderItemRelationShip) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderItemRelationShip) Validate

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

Validate validates this order item relation ship

type OrderMessage

type OrderMessage struct {

	// The code associated with the Message
	Code string `json:"code,omitempty"`

	// Indicates whether the Buyer must submit an updated Order to resolve the Error/Jeopardy condition.
	CorrectionRequired *bool `json:"correctionRequired,omitempty"`

	// The field/attribute on the Order associated with message
	Field string `json:"field,omitempty"`

	// A description of the error condition or information to be conveyed to the Buyer
	// Required: true
	MessageInformation *string `json:"messageInformation"`

	// severity
	// Required: true
	Severity Severity `json:"severity"`
}

OrderMessage An optional array of messages associated with the Order

swagger:model OrderMessage

func (*OrderMessage) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderMessage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderMessage) Validate

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

Validate validates this order message

type Price

type Price struct {

	// Technical attribute to extend the class.
	AtType string `json:"@type,omitempty"`

	// duty free amount
	// Required: true
	DutyFreeAmount *Money `json:"dutyFreeAmount"`

	// tax included amount
	// Required: true
	TaxIncludedAmount *Money `json:"taxIncludedAmount"`

	// tax rate
	// Required: true
	TaxRate *float32 `json:"taxRate"`

	// unit of mesure
	UnitOfMesure string `json:"unitOfMesure,omitempty"`
}

Price Provides pre tax & tax included amount for an ordered product

swagger:model Price

func (*Price) MarshalBinary

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

MarshalBinary interface implementation

func (*Price) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Price) Validate

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

Validate validates this price

type PriceType

type PriceType string

PriceType Type of price (as of now only recurring and non-recurring are managed)

swagger:model PriceType

const (

	// PriceTypeRecurring captures enum value "recurring"
	PriceTypeRecurring PriceType = "recurring"

	// PriceTypeNonRecurring captures enum value "nonRecurring"
	PriceTypeNonRecurring PriceType = "nonRecurring"
)

func (PriceType) Validate

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

Validate validates this price type

type PricingMethod

type PricingMethod string

PricingMethod An enumeration of valid pricing methods for ordered items

swagger:model PricingMethod

const (

	// PricingMethodTariff captures enum value "tariff"
	PricingMethodTariff PricingMethod = "tariff"

	// PricingMethodContract captures enum value "contract"
	PricingMethodContract PricingMethod = "contract"

	// PricingMethodIndividualCaseBasis captures enum value "individualCaseBasis"
	PricingMethodIndividualCaseBasis PricingMethod = "individualCaseBasis"

	// PricingMethodOther captures enum value "other"
	PricingMethodOther PricingMethod = "other"
)

func (PricingMethod) Validate

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

Validate validates this pricing method

type Product

type Product struct {

	// Buyer product Id - informative information
	BuyerProductID string `json:"buyerProductId,omitempty"`

	// href
	Href string `json:"href,omitempty"`

	// Unique (within the product domain) identifier for the product that is generated by the seller when the product is instantiated.
	ID string `json:"id,omitempty"`

	// product relationship
	ProductRelationship []*ProductRelationship `json:"productRelationship"`

	// product specification
	ProductSpecification *ProductSpecificationRef `json:"productSpecification,omitempty"`
	// contains filtered or unexported fields
}

Product One or more services sold to a Buyer by a Seller. A particular Product Offering defines the technical and commercial attributes and behav-iors of a Product.

swagger:model Product

func (*Product) MarshalBinary

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

MarshalBinary interface implementation

func (Product) MarshalJSON

func (m Product) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Product) Place

func (m *Product) Place() []RelatedPlaceReforValue

Place gets the place of this base type

func (*Product) SetPlace

func (m *Product) SetPlace(val []RelatedPlaceReforValue)

SetPlace sets the place of this base type

func (*Product) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Product) UnmarshalJSON

func (m *Product) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Product) Validate

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

Validate validates this product

type ProductActionType

type ProductActionType string

ProductActionType An enumeration of valid product actions

swagger:model ProductActionType

const (

	// ProductActionTypeAdd captures enum value "add"
	ProductActionTypeAdd ProductActionType = "add"

	// ProductActionTypeChange captures enum value "change"
	ProductActionTypeChange ProductActionType = "change"

	// ProductActionTypeRemove captures enum value "remove"
	ProductActionTypeRemove ProductActionType = "remove"

	// ProductActionTypeNoChange captures enum value "noChange"
	ProductActionTypeNoChange ProductActionType = "noChange"
)

func (ProductActionType) Validate

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

Validate validates this product action type

type ProductOfferingRef

type ProductOfferingRef struct {

	// A unique product offering identifier. This identifier is provided by the seller and communicated to the buyer
	// Required: true
	ID *string `json:"id"`
}

ProductOfferingRef The commercial and technical details of a Product sold by a particular Seller. A Product Offering defines all of the commercial terms and, through association with a particular Product Specification, defines all the technical attributes and behaviors of the Product. A Product Offering may constrain the allowable set of configurable technical attributes and/or behaviors specified in the associated Product Specification

swagger:model ProductOfferingRef

func (*ProductOfferingRef) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductOfferingRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductOfferingRef) Validate

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

Validate validates this product offering ref

type ProductOrder

type ProductOrder struct {

	// Technical attribute to extend the API
	AtBaseType string `json:"@baseType,omitempty"`

	// Technical attribute to extend the API
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Technical attribute to extend the API
	AtType string `json:"@type,omitempty"`

	// billing account
	BillingAccount *BillingAccountRef `json:"billingAccount,omitempty"`

	// Buyer order creation date. Format is YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00)
	// Format: date-time
	BuyerRequestDate strfmt.DateTime `json:"buyerRequestDate,omitempty"`

	// Identifies the date the Seller canceled the Order
	// Format: date-time
	CancellationDate strfmt.DateTime `json:"cancellationDate,omitempty"`

	// Indicates reason why buyer requested cancellation
	CancellationReason string `json:"cancellationReason,omitempty"`

	// The date the order is completed. Format is YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00)
	// Format: date-time
	CompletionDate strfmt.DateTime `json:"completionDate,omitempty"`

	// desired responses
	// Required: true
	DesiredResponses DesiredOrderResponses `json:"desiredResponses"`

	// Expected delivery date amended by the provider
	// Format: date-time
	ExpectedCompletionDate strfmt.DateTime `json:"expectedCompletionDate,omitempty"`

	// Indicates that expedited treatment is requested and any charges generated in provisioning this request (e.g., additional engineering charges or labor charges if applicable) will be accepted by the buyer.
	ExpeditePriority bool `json:"expeditePriority,omitempty"`

	// A number that uniquely identifies an order within the buyer's enterprise.
	// Required: true
	ExternalID *string `json:"externalId"`

	// Hyperlink to access the order
	// Required: true
	Href *string `json:"href"`

	// Unique (within the ordering domain) identifier for the order that is generated by the seller when the order is initially accepted.
	// Required: true
	ID *string `json:"id"`

	// note
	Note []*Note `json:"note"`

	// order activity
	// Required: true
	OrderActivity OrderActivity `json:"orderActivity"`

	// Date when the order was created by seller. Format is YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00)
	// Required: true
	// Format: date-time
	OrderDate *strfmt.DateTime `json:"orderDate"`

	// order item
	// Required: true
	// Min Items: 1
	OrderItem []*OrderItem `json:"orderItem"`

	// order message
	OrderMessage []*OrderMessage `json:"orderMessage"`

	// The version number that the Buyer uses to refer to this particular version of the order
	// Required: true
	OrderVersion *string `json:"orderVersion"`

	// pricing method
	PricingMethod PricingMethod `json:"pricingMethod,omitempty"`

	// The identifier references the previously agreed upon pricing terms, as applicable, based on the pricingMethod (e.g. a contract id or tariff id.
	PricingReference string `json:"pricingReference,omitempty"`

	// The length of the contract in months.
	PricingTerm int32 `json:"pricingTerm,omitempty"`

	// An integer that specifies that expedited treatment is to be provided in a specific priority.
	// This field will be ignored if the Expedite/Priority Indicator is False.
	// The valid values and the business/operational rules for this field will be defined by the Seller as part of the contracting or on-boarding process.
	Priority int32 `json:"priority,omitempty"`

	// An identifier that is used to group Orders that is important to the Buyer. A ProjectId can be used to relate multiple Orders together
	ProjectID string `json:"projectId,omitempty"`

	// Related Buyer Purchase Order Number (RPON)
	RelatedBuyerPON string `json:"relatedBuyerPON,omitempty"`

	// related party
	// Required: true
	RelatedParty []*RelatedParty `json:"relatedParty"`

	// Identifies the buyer's desired due date (requested delivery date). Cannot be requested on cancelled orders.  Format is YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00).
	// Required: true
	// Format: date-time
	RequestedCompletionDate *strfmt.DateTime `json:"requestedCompletionDate"`

	// The buyer's requested date that order processing should start. Format is YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00).
	// Format: date-time
	RequestedStartDate strfmt.DateTime `json:"requestedStartDate,omitempty"`

	// state
	// Required: true
	State ProductOrderStateType `json:"state"`

	// state change
	StateChange []*StateChange `json:"stateChange"`

	// Within the United States, indicates the provisioning and restoration priority as defined under the TSP Service Vendor Handbook, The valid values are defined in ATIS OBF document: ATIS-0404001
	TspRestorationPriority string `json:"tspRestorationPriority,omitempty"`
}

ProductOrder A ProductOrder is a type of business interaction that is used to procure a Product based upon a Product Offering.

swagger:model ProductOrder

func (*ProductOrder) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductOrder) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductOrder) Validate

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

Validate validates this product order

type ProductOrderCreate

type ProductOrderCreate struct {

	// Technical attribute to extend API
	AtBaseType string `json:"@baseType,omitempty"`

	// Technical attribute to extend API
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Technical attribute to extend API
	AtType string `json:"@type,omitempty"`

	// billing account
	BillingAccount *BillingAccountRef `json:"billingAccount,omitempty"`

	// Date when the order was submitted by the Buyer to the Seller
	// Required: true
	// Format: date-time
	BuyerRequestDate *strfmt.DateTime `json:"buyerRequestDate"`

	// desired response
	// Required: true
	DesiredResponse DesiredOrderResponses `json:"desiredResponse"`

	// Indicates that expedited treatment is requested and any charges generated in provisioning this request (e.g., additional engineering charges or labor charges if applicable) will be accepted by the buyer.
	ExpeditePriority bool `json:"expeditePriority,omitempty"`

	// Buyer Purchase Order Number: A number that uniquely identifies an order within the Buyer's enterprise
	// Required: true
	ExternalID *string `json:"externalId"`

	// note
	Note []*Note `json:"note"`

	// order activity
	// Required: true
	OrderActivity OrderActivity `json:"orderActivity"`

	// order item
	// Required: true
	// Min Items: 1
	OrderItem []*ProductOrderItemCreate `json:"orderItem"`

	// Buyer Order Version: The version number that the Buyer uses to refer to this particular version of the order.
	// Required: true
	OrderVersion *string `json:"orderVersion"`

	// pricing method
	PricingMethod PricingMethod `json:"pricingMethod,omitempty"`

	// The identifier references the previously agreed upon pricing terms, as applicable, based on the pricingMethod (e.g. a contract id or tariff id.
	PricingReference string `json:"pricingReference,omitempty"`

	// The length of the contract in months
	PricingTerm int32 `json:"pricingTerm,omitempty"`

	// An integer that specifies that expedited treatment is to be provided in a specific priority.
	Priority int32 `json:"priority,omitempty"`

	// An identifier that is used to group Orders that is important to the Buyer. A ProjectId can be used to relate multiple Orders together.
	ProjectID string `json:"projectId,omitempty"`

	// Related Buyer Purchase Order Number (RPON) - Identifies the Buyer Purchase Order Number that is related to this order.
	RelatedBuyerPON string `json:"relatedBuyerPON,omitempty"`

	// related party
	// Required: true
	RelatedParty []*RelatedParty `json:"relatedParty"`

	// Identifies the Buyer's desired due date (requested delivery date)
	// Required: true
	// Format: date-time
	RequestedCompletionDate *strfmt.DateTime `json:"requestedCompletionDate"`

	// If specified, identifies the Buyer's desired date for order processing to start
	// Format: date-time
	RequestedStartDate strfmt.DateTime `json:"requestedStartDate,omitempty"`

	// Within the United States, indicates the provisioning and restoration priority as defined under the TSP Service Vendor Handbook.
	TspRestorationPriority string `json:"tspRestorationPriority,omitempty"`
}

ProductOrderCreate A CreateProductOrder object is provided as input to the product order create operation.

swagger:model ProductOrder_Create

func (*ProductOrderCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductOrderCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductOrderCreate) Validate

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

Validate validates this product order create

type ProductOrderItemCreate

type ProductOrderItemCreate struct {

	// Technical attribute to extend API
	AtSchemaLocation string `json:"@schemaLocation,omitempty"`

	// Technical attribute to extend API
	AtType string `json:"@type,omitempty"`

	// action
	// Required: true
	Action ProductActionType `json:"action"`

	// billing account
	BillingAccount *BillingAccountRef `json:"billingAccount,omitempty"`

	// Identifier of the line item (generally it is a sequence number 01, 02, 03, ...)
	// Required: true
	ID *string `json:"id"`

	// order item price
	// Min Items: 1
	OrderItemPrice []*OrderItemPrice `json:"orderItemPrice"`

	// order item relationship
	OrderItemRelationship []*OrderItemRelationShip `json:"orderItemRelationship"`

	// pricing method
	PricingMethod PricingMethod `json:"pricingMethod,omitempty"`

	// The identifier references the previously agreed upon pricing terms, as applicable, based on the pricingMethod (e.g. a contract id or tariff id.
	PricingReference string `json:"pricingReference,omitempty"`

	// The length of the contract in months
	// Minimum: 0
	PricingTerm *int32 `json:"pricingTerm,omitempty"`

	// product
	Product *Product `json:"product,omitempty"`

	// product offering
	// Required: true
	ProductOffering *ProductOfferingRef `json:"productOffering"`

	// qualification
	Qualification *QualificationRef `json:"qualification,omitempty"`

	// quote
	Quote *QuoteRef `json:"quote,omitempty"`

	// related party
	RelatedParty []*RelatedParty `json:"relatedParty"`
}

ProductOrderItemCreate A ProductOrderItem_Create object is provided as input to the product order item create operation.

swagger:model ProductOrderItem_Create

func (*ProductOrderItemCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductOrderItemCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductOrderItemCreate) Validate

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

Validate validates this product order item create

type ProductOrderItemStateType

type ProductOrderItemStateType string

ProductOrderItemStateType An enumeration of valid order item statuses.

swagger:model ProductOrderItemStateType

const (

	// ProductOrderItemStateTypeAcknowledged captures enum value "acknowledged"
	ProductOrderItemStateTypeAcknowledged ProductOrderItemStateType = "acknowledged"

	// ProductOrderItemStateTypeRejected captures enum value "rejected"
	ProductOrderItemStateTypeRejected ProductOrderItemStateType = "rejected"

	// ProductOrderItemStateTypeInProgress captures enum value "inProgress"
	ProductOrderItemStateTypeInProgress ProductOrderItemStateType = "inProgress"

	// ProductOrderItemStateTypePending captures enum value "pending"
	ProductOrderItemStateTypePending ProductOrderItemStateType = "pending"

	// ProductOrderItemStateTypeHeld captures enum value "held"
	ProductOrderItemStateTypeHeld ProductOrderItemStateType = "held"

	// ProductOrderItemStateTypeAssesssingCancellation captures enum value "assesssingCancellation"
	ProductOrderItemStateTypeAssesssingCancellation ProductOrderItemStateType = "assesssingCancellation"

	// ProductOrderItemStateTypePendingCancellation captures enum value "pendingCancellation"
	ProductOrderItemStateTypePendingCancellation ProductOrderItemStateType = "pendingCancellation"

	// ProductOrderItemStateTypeCancelled captures enum value "cancelled"
	ProductOrderItemStateTypeCancelled ProductOrderItemStateType = "cancelled"

	// ProductOrderItemStateTypeInProgressConfigured captures enum value "inProgress.configured"
	ProductOrderItemStateTypeInProgressConfigured ProductOrderItemStateType = "inProgress.configured"

	// ProductOrderItemStateTypeFailed captures enum value "failed"
	ProductOrderItemStateTypeFailed ProductOrderItemStateType = "failed"

	// ProductOrderItemStateTypeCompleted captures enum value "completed"
	ProductOrderItemStateTypeCompleted ProductOrderItemStateType = "completed"
)

func (ProductOrderItemStateType) Validate

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

Validate validates this product order item state type

type ProductOrderRefCancel

type ProductOrderRefCancel struct {

	// Technical attribute to extend the API
	AtReferredType string `json:"@referredType,omitempty"`

	// A number that uniquely identifies an order within the buyer's enterprise.
	// Must be provided if provided when the order was initially accepted
	ExternalID string `json:"externalId,omitempty"`

	// Hyperlink to access the order
	Href string `json:"href,omitempty"`

	// Unique (within the ordering domain) identifier for the order that is generated by the seller when the order is initially accepted.
	// Required: true
	ID *string `json:"id"`

	// state
	State ProductOrderStateType `json:"state,omitempty"`

	// The version number that the Buyer uses to refer to this particular version of the order.
	// This not checked for conformance (informative information)
	Version string `json:"version,omitempty"`
}

ProductOrderRefCancel A reference to a product order used to perform cancellation request.

swagger:model ProductOrderRefCancel

func (*ProductOrderRefCancel) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductOrderRefCancel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductOrderRefCancel) Validate

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

Validate validates this product order ref cancel

type ProductOrderStateType

type ProductOrderStateType string

ProductOrderStateType An enumeration of valid order states

swagger:model ProductOrderStateType

const (

	// ProductOrderStateTypeAcknowledged captures enum value "acknowledged"
	ProductOrderStateTypeAcknowledged ProductOrderStateType = "acknowledged"

	// ProductOrderStateTypeRejected captures enum value "rejected"
	ProductOrderStateTypeRejected ProductOrderStateType = "rejected"

	// ProductOrderStateTypeInProgress captures enum value "inProgress"
	ProductOrderStateTypeInProgress ProductOrderStateType = "inProgress"

	// ProductOrderStateTypePending captures enum value "pending"
	ProductOrderStateTypePending ProductOrderStateType = "pending"

	// ProductOrderStateTypeHeld captures enum value "held"
	ProductOrderStateTypeHeld ProductOrderStateType = "held"

	// ProductOrderStateTypeAssessingCancellation captures enum value "assessingCancellation"
	ProductOrderStateTypeAssessingCancellation ProductOrderStateType = "assessingCancellation"

	// ProductOrderStateTypePendingCancellation captures enum value "pendingCancellation"
	ProductOrderStateTypePendingCancellation ProductOrderStateType = "pendingCancellation"

	// ProductOrderStateTypeCancelled captures enum value "cancelled"
	ProductOrderStateTypeCancelled ProductOrderStateType = "cancelled"

	// ProductOrderStateTypeInProgressConfigured captures enum value "inProgress.configured"
	ProductOrderStateTypeInProgressConfigured ProductOrderStateType = "inProgress.configured"

	// ProductOrderStateTypeInProgressConfirmed captures enum value "inProgress.confirmed"
	ProductOrderStateTypeInProgressConfirmed ProductOrderStateType = "inProgress.confirmed"

	// ProductOrderStateTypeInProgressJeopardy captures enum value "inProgress.jeopardy"
	ProductOrderStateTypeInProgressJeopardy ProductOrderStateType = "inProgress.jeopardy"

	// ProductOrderStateTypeFailed captures enum value "failed"
	ProductOrderStateTypeFailed ProductOrderStateType = "failed"

	// ProductOrderStateTypePartial captures enum value "partial"
	ProductOrderStateTypePartial ProductOrderStateType = "partial"

	// ProductOrderStateTypeCompleted captures enum value "completed"
	ProductOrderStateTypeCompleted ProductOrderStateType = "completed"
)

func (ProductOrderStateType) Validate

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

Validate validates this product order state type

type ProductOrderSummary

type ProductOrderSummary struct {

	// ID given by the consumer and only understandable by him (to facilitate his searches afterwards).
	// MEF: Buyer Purchase Order Number
	// Required: true
	ExternalID *string `json:"externalId"`

	// ID created on repository side (OM system)
	// MEF: Unique identifier for the order that is generated by the Seller when the order is initially accepted via an API.
	// Required: true
	ID *string `json:"id"`

	// Date when the order was created
	// Required: true
	// Format: date-time
	OrderDate *strfmt.DateTime `json:"orderDate"`

	// state
	// Required: true
	State ProductOrderStateType `json:"state"`
}

ProductOrderSummary Structure to define GET without id response. A list of productOrder matching request criteria. Provides Product order summary view.

swagger:model ProductOrderSummary

func (*ProductOrderSummary) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductOrderSummary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductOrderSummary) Validate

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

Validate validates this product order summary

type ProductRef

type ProductRef struct {

	// Targeted Buyer product id - Informative.
	BuyerProductID string `json:"buyerProductId,omitempty"`

	// Hyperlink to the product in the inventory
	Href string `json:"href,omitempty"`

	// Targeted Seller product id
	// Required: true
	ID *string `json:"id"`
}

ProductRef Targeted existing product used in product relationship description.

swagger:model ProductRef

func (*ProductRef) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductRef) Validate

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

Validate validates this product ref

type ProductRelationship

type ProductRelationship struct {

	// product
	// Required: true
	Product *ProductRef `json:"product"`

	// Indicates whether the product is "bundled", "relies on", or "comesFrom" another product.
	// Required: true
	Type *string `json:"type"`
}

ProductRelationship Indicates a relationship between products.

swagger:model ProductRelationship

func (*ProductRelationship) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductRelationship) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductRelationship) Validate

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

Validate validates this product relationship

type ProductSpecificationRef

type ProductSpecificationRef struct {

	// A unique identifier for the product spec, within the product spec domain. It is assigned by the seller and communicated to the buyer at on-boarding time.
	ID string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

ProductSpecificationRef A structured set of well-defined technical attributes and/or behaviors that are used to construct a Product Offering for sale to a market.

swagger:model ProductSpecificationRef

func (*ProductSpecificationRef) Describing

func (m *ProductSpecificationRef) Describing() Describing

Describing gets the describing of this base type

func (*ProductSpecificationRef) MarshalBinary

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

MarshalBinary interface implementation

func (ProductSpecificationRef) MarshalJSON

func (m ProductSpecificationRef) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ProductSpecificationRef) SetDescribing

func (m *ProductSpecificationRef) SetDescribing(val Describing)

SetDescribing sets the describing of this base type

func (*ProductSpecificationRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductSpecificationRef) UnmarshalJSON

func (m *ProductSpecificationRef) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ProductSpecificationRef) Validate

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

Validate validates this product specification ref

type QualificationRef

type QualificationRef struct {

	// Technical attribute to extend the API
	AtReferredType string `json:"@referredType,omitempty"`

	// Hyperlink to the qualification previously done for this item
	Href string `json:"href,omitempty"`

	// id of the qualification previously done for this item
	ID string `json:"id,omitempty"`

	// item id of the qualification previously done for this item
	QualificationItem string `json:"qualificationItem,omitempty"`
}

QualificationRef Using to refer a serviceability request previously done

swagger:model QualificationRef

func (*QualificationRef) MarshalBinary

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

MarshalBinary interface implementation

func (*QualificationRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*QualificationRef) Validate

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

Validate validates this qualification ref

type QuoteRef

type QuoteRef struct {

	// Technical attribute to extend the API
	AtReferredType string `json:"@referredType,omitempty"`

	// Hyperlink to access the quote (using MEF quote API)
	Href string `json:"href,omitempty"`

	// Unique identifier for the Quote that is generated by the Seller when the Quote is initially accepted via an API.
	// Required: true
	ID *string `json:"id"`

	// Identifier of the quote item
	QuoteItem string `json:"quoteItem,omitempty"`
}

QuoteRef Quote used before this order to define pricing terms

swagger:model QuoteRef

func (*QuoteRef) MarshalBinary

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

MarshalBinary interface implementation

func (*QuoteRef) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*QuoteRef) Validate

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

Validate validates this quote ref

type ReferencedAddress

type ReferencedAddress struct {

	// A reference to an address by id; this would include such things as CLLI Codes, or Seller-assigned address identifiers
	// Required: true
	ReferenceID *string `json:"referenceId"`

	// The type of the reference. For North American providers this would normally be CLLI
	// Required: true
	ReferenceType *string `json:"referenceType"`
	// contains filtered or unexported fields
}

ReferencedAddress A globally unique identifier controlled by a generally accepted independent administrative authority that specifies a fixed geographical location.

swagger:model ReferencedAddress

func (*ReferencedAddress) AdditionalSiteInformation

func (m *ReferencedAddress) AdditionalSiteInformation() string

AdditionalSiteInformation gets the additional site information of this subtype

func (*ReferencedAddress) AtType

func (m *ReferencedAddress) AtType() string

AtType gets the at type of this subtype

func (*ReferencedAddress) Href

func (m *ReferencedAddress) Href() string

Href gets the href of this subtype

func (*ReferencedAddress) ID

func (m *ReferencedAddress) ID() string

ID gets the id of this subtype

func (*ReferencedAddress) MarshalBinary

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

MarshalBinary interface implementation

func (ReferencedAddress) MarshalJSON

func (m ReferencedAddress) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*ReferencedAddress) Role

func (m *ReferencedAddress) Role() *string

Role gets the role of this subtype

func (*ReferencedAddress) SetAdditionalSiteInformation

func (m *ReferencedAddress) SetAdditionalSiteInformation(val string)

SetAdditionalSiteInformation sets the additional site information of this subtype

func (*ReferencedAddress) SetAtType

func (m *ReferencedAddress) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*ReferencedAddress) SetHref

func (m *ReferencedAddress) SetHref(val string)

SetHref sets the href of this subtype

func (*ReferencedAddress) SetID

func (m *ReferencedAddress) SetID(val string)

SetID sets the id of this subtype

func (*ReferencedAddress) SetRole

func (m *ReferencedAddress) SetRole(val *string)

SetRole sets the role of this subtype

func (*ReferencedAddress) SetSiteCompanyName

func (m *ReferencedAddress) SetSiteCompanyName(val string)

SetSiteCompanyName sets the site company name of this subtype

func (*ReferencedAddress) SetSiteCustomerName

func (m *ReferencedAddress) SetSiteCustomerName(val string)

SetSiteCustomerName sets the site customer name of this subtype

func (*ReferencedAddress) SetSiteDescription

func (m *ReferencedAddress) SetSiteDescription(val string)

SetSiteDescription sets the site description of this subtype

func (*ReferencedAddress) SetSiteName

func (m *ReferencedAddress) SetSiteName(val string)

SetSiteName sets the site name of this subtype

func (*ReferencedAddress) SiteCompanyName

func (m *ReferencedAddress) SiteCompanyName() string

SiteCompanyName gets the site company name of this subtype

func (*ReferencedAddress) SiteCustomerName

func (m *ReferencedAddress) SiteCustomerName() string

SiteCustomerName gets the site customer name of this subtype

func (*ReferencedAddress) SiteDescription

func (m *ReferencedAddress) SiteDescription() string

SiteDescription gets the site description of this subtype

func (*ReferencedAddress) SiteName

func (m *ReferencedAddress) SiteName() string

SiteName gets the site name of this subtype

func (*ReferencedAddress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReferencedAddress) UnmarshalJSON

func (m *ReferencedAddress) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*ReferencedAddress) Validate

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

Validate validates this referenced address

type RelatedParty

type RelatedParty struct {

	// Technical attribute to extend the API
	AtReferredType string `json:"@referredType,omitempty"`

	// The email address of the related party.
	EmailAddress string `json:"emailAddress,omitempty"`

	// An identifier of the related party. For the "buyer" and "seller" id, this is a  Carrier ID number provided by local regulatory entity.  Unique in the local jurisdiction.
	// Required: true
	ID *string `json:"id"`

	// The name of the related party, e.g. "Jean Pontus".
	// Required: true
	Name *string `json:"name"`

	// The telephone number of the related party.
	// Required: true
	Number *string `json:"number"`

	// Phone number Extension
	NumberExtension string `json:"numberExtension,omitempty"`

	// Role payed by this party for this Order/OrderItem. It could be at : BuyerOrderContact (header), BuyerImplementationContact, BuyerTechnicalContact, UNISiteContact (item), AlternateSiteContact, Buyer (header), Seller(header), ENNISiteContact(item), ENNIAlternateSiteContact(item)
	// Required: true
	// Min Items: 1
	Role []string `json:"role"`
}

RelatedParty An entity or organization that is involved in the product order, such as the buyer, the seller, the order contact, etc.

swagger:model RelatedParty

func (*RelatedParty) MarshalBinary

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

MarshalBinary interface implementation

func (*RelatedParty) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RelatedParty) Validate

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

Validate validates this related party

type RelatedPlaceReforValue

type RelatedPlaceReforValue interface {
	runtime.Validatable

	// The type to which the place is referring. This may be "Site", "FormattedAddress", "FieldedAddress", "ReferencedAddress", or "GeographicLocation
	AtType() string
	SetAtType(string)

	// Additional information about the Site.
	AdditionalSiteInformation() string
	SetAdditionalSiteInformation(string)

	// Reference link to the place
	Href() string
	SetHref(string)

	// Unique identifier of the place.
	ID() string
	SetID(string)

	// The role that the place plays, e.g. "UNI Site", or "ENNI Site".
	// Required: true
	Role() *string
	SetRole(*string)

	// The name of the company that is the administrative authority (e.g. controls access) for this Service Site. (For example, the building owner).
	SiteCompanyName() string
	SetSiteCompanyName(string)

	// The name of the company that is the administrative authority for the space within this Service Site. (For example, the company leasing space in a multi-tenant building).
	SiteCustomerName() string
	SetSiteCustomerName(string)

	// A textual description of the Service Site.
	SiteDescription() string
	SetSiteDescription(string)

	// A name commonly used by people to refer to this Service Site.
	SiteName() string
	SetSiteName(string)
}

RelatedPlaceReforValue Place defines the places where the ordered products are sold or delivered. This is an abstract class that allow to define a role for a defined location structure: fielded address, formatted address, geocode, service site or references address. This class features also site information attributes valued bu the buyer and used by the seller in the site resource.

swagger:discriminator RelatedPlaceReforValue @type

func UnmarshalRelatedPlaceReforValue

func UnmarshalRelatedPlaceReforValue(reader io.Reader, consumer runtime.Consumer) (RelatedPlaceReforValue, error)

UnmarshalRelatedPlaceReforValue unmarshals polymorphic RelatedPlaceReforValue

func UnmarshalRelatedPlaceReforValueSlice

func UnmarshalRelatedPlaceReforValueSlice(reader io.Reader, consumer runtime.Consumer) ([]RelatedPlaceReforValue, error)

UnmarshalRelatedPlaceReforValueSlice unmarshals polymorphic slices of RelatedPlaceReforValue

type Severity

type Severity string

Severity Severity of the order message

swagger:model Severity

const (

	// SeverityError captures enum value "error"
	SeverityError Severity = "error"

	// SeverityInformation captures enum value "information"
	SeverityInformation Severity = "information"
)

func (Severity) Validate

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

Validate validates this severity

type StateChange

type StateChange struct {

	// change date
	// Format: date-time
	ChangeDate strfmt.DateTime `json:"changeDate,omitempty"`

	// change reason
	ChangeReason string `json:"changeReason,omitempty"`

	// state
	State ProductOrderStateType `json:"state,omitempty"`
}

StateChange Holds the state notification reasons and associated date the state changed, populated by the server

swagger:model StateChange

func (*StateChange) MarshalBinary

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

MarshalBinary interface implementation

func (*StateChange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StateChange) Validate

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

Validate validates this state change

type SubUnit

type SubUnit struct {

	// The discriminator used for the subunit, often just a simple number but may also be a range.
	// Required: true
	SubUnitIdentifier *string `json:"subUnitIdentifier"`

	// The type of subunit e.g.BERTH, FLAT, PIER, SUITE, SHOP, TOWER, UNIT, WHARF.
	// Required: true
	SubUnitType *string `json:"subUnitType"`
}

SubUnit sub unit

swagger:model SubUnit

func (*SubUnit) MarshalBinary

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

MarshalBinary interface implementation

func (*SubUnit) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubUnit) Validate

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

Validate validates this sub unit

type TaskStateType

type TaskStateType string

TaskStateType task state type

swagger:model TaskStateType

const (

	// TaskStateTypeAcknowledged captures enum value "acknowledged"
	TaskStateTypeAcknowledged TaskStateType = "acknowledged"

	// TaskStateTypeInProgress captures enum value "inProgress"
	TaskStateTypeInProgress TaskStateType = "inProgress"

	// TaskStateTypeDone captures enum value "done"
	TaskStateTypeDone TaskStateType = "done"

	// TaskStateTypeTerminatedWithError captures enum value "terminatedWithError"
	TaskStateTypeTerminatedWithError TaskStateType = "terminatedWithError"
)

func (TaskStateType) Validate

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

Validate validates this task state type

Jump to

Keyboard shortcuts

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