2021-08-14 22:34:08 +00:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
|
|
|
// (c) 2012-2020 by Taxnexus, Inc.
|
|
|
|
// All rights reserved worldwide.
|
|
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
|
|
|
|
package sfgate_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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Cluster cluster
|
|
|
|
//
|
|
|
|
// swagger:model Cluster
|
|
|
|
type Cluster struct {
|
|
|
|
|
|
|
|
// Created By
|
2023-03-28 17:47:34 +00:00
|
|
|
CreatedByID string `json:"CreatedByID,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Created Date
|
2023-03-28 17:47:34 +00:00
|
|
|
CreatedDate string `json:"CreatedDate,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Description
|
2023-03-28 17:47:34 +00:00
|
|
|
Description string `json:"Description,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Environment
|
2023-03-28 17:47:34 +00:00
|
|
|
Environment string `json:"Environment,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Gateway
|
2023-03-28 17:47:34 +00:00
|
|
|
Gateway string `json:"Gateway,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
2023-03-28 17:47:34 +00:00
|
|
|
// Record Id
|
|
|
|
ID string `json:"ID,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// IP Address
|
2023-03-28 17:47:34 +00:00
|
|
|
IPAddress string `json:"IpAddress,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Last Modified By
|
2023-03-28 17:47:34 +00:00
|
|
|
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Last Modified Date
|
2023-03-28 17:47:34 +00:00
|
|
|
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Cluster Name
|
2023-03-28 17:47:34 +00:00
|
|
|
Name string `json:"Name,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Owner
|
2023-03-28 17:47:34 +00:00
|
|
|
OwnerID string `json:"OwnerID,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// External Reference
|
2023-03-28 17:47:34 +00:00
|
|
|
Ref string `json:"Ref,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Status
|
2023-03-28 17:47:34 +00:00
|
|
|
Status string `json:"Status,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Subnet
|
2023-03-28 17:47:34 +00:00
|
|
|
Subnet string `json:"Subnet,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// tenantid
|
2023-03-28 17:47:34 +00:00
|
|
|
TenantID string `json:"TenantID,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Type
|
2023-03-28 17:47:34 +00:00
|
|
|
Type string `json:"Type,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
|
|
|
|
// Zone
|
2023-03-28 17:47:34 +00:00
|
|
|
Zone string `json:"Zone,omitempty"`
|
2021-08-14 22:34:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this cluster
|
|
|
|
func (m *Cluster) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// ContextValidate validates this cluster based on context it is used
|
|
|
|
func (m *Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *Cluster) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *Cluster) UnmarshalBinary(b []byte) error {
|
|
|
|
var res Cluster
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|