mirror of https://github.com/vernonkeenan/lib
94 lines
2.0 KiB
Go
94 lines
2.0 KiB
Go
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
// (c) 2012-2020 by Telnexus LLC
|
|
// All rights reserved worldwide.
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
package cloud_models
|
|
|
|
// This file was generated by the swagger tool.
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/go-openapi/strfmt"
|
|
"github.com/go-openapi/swag"
|
|
)
|
|
|
|
// Hub hub
|
|
//
|
|
// swagger:model Hub
|
|
type Hub struct {
|
|
|
|
// Account
|
|
AccountID string `json:"AccountID,omitempty"`
|
|
|
|
// Billing Contact
|
|
BillingContactID string `json:"BillingContactID,omitempty"`
|
|
|
|
// Contact
|
|
ContactID string `json:"ContactID,omitempty"`
|
|
|
|
// Created By
|
|
CreatedByID string `json:"CreatedById,omitempty"`
|
|
|
|
// Created Date
|
|
CreatedDate string `json:"CreatedDate,omitempty"`
|
|
|
|
// Current Users
|
|
CurrentUsers float64 `json:"CurrentUsers,omitempty"`
|
|
|
|
// Record Id
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
// Last Modified By
|
|
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
|
|
|
|
// Last Modifed Date
|
|
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
|
|
|
|
// Max Users
|
|
MaxUsers float64 `json:"MaxUsers,omitempty"`
|
|
|
|
// Hub Name
|
|
Name string `json:"Name,omitempty"`
|
|
|
|
// Order Item
|
|
OrderItem string `json:"OrderItem,omitempty"`
|
|
|
|
// Vendor
|
|
VendorID string `json:"VendorID,omitempty"`
|
|
|
|
// Vendor Tenant ID
|
|
VendorTenantID string `json:"VendorTenantID,omitempty"`
|
|
}
|
|
|
|
// Validate validates this hub
|
|
func (m *Hub) Validate(formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// ContextValidate validates this hub based on context it is used
|
|
func (m *Hub) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// MarshalBinary interface implementation
|
|
func (m *Hub) MarshalBinary() ([]byte, error) {
|
|
if m == nil {
|
|
return nil, nil
|
|
}
|
|
return swag.WriteJSON(m)
|
|
}
|
|
|
|
// UnmarshalBinary interface implementation
|
|
func (m *Hub) UnmarshalBinary(b []byte) error {
|
|
var res Hub
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
return err
|
|
}
|
|
*m = res
|
|
return nil
|
|
}
|