lib/api/members/members_models/cluster.go

103 lines
2.2 KiB
Go
Raw Normal View History

2021-07-31 03:05:02 +00:00
// Code generated by go-swagger; DO NOT EDIT.
2021-08-05 19:37:53 +00:00
// (c) 2012-2020 by Taxnexus, Inc.
2021-07-31 03:05:02 +00:00
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
2023-04-07 18:00:15 +00:00
package members_models
2021-07-31 03:05:02 +00:00
// 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-04-15 14:27:18 +00:00
CreatedByID *string `json:"CreatedByID,omitempty"`
2021-07-31 03:05:02 +00:00
// Created Date
2023-04-15 14:27:18 +00:00
CreatedDate *string `json:"CreatedDate,omitempty"`
2021-07-31 03:05:02 +00:00
// Description
2023-04-15 14:27:18 +00:00
Description *string `json:"Description,omitempty"`
2021-07-31 03:05:02 +00:00
// Environment
2023-04-15 14:27:18 +00:00
Environment *string `json:"Environment,omitempty"`
2021-07-31 03:05:02 +00:00
// Gateway
2023-04-15 14:27:18 +00:00
Gateway *string `json:"Gateway,omitempty"`
2021-07-31 03:05:02 +00:00
2023-03-28 17:47:34 +00:00
// Record Id
2021-07-31 03:05:02 +00:00
ID string `json:"ID,omitempty"`
// IP Address
2023-04-15 14:27:18 +00:00
IPAddress *string `json:"IPAddress,omitempty"`
2021-07-31 03:05:02 +00:00
// Last Modified By
2023-04-15 14:27:18 +00:00
LastModifiedByID *string `json:"LastModifiedByID,omitempty"`
2021-07-31 03:05:02 +00:00
// Last Modified Date
2023-04-15 14:27:18 +00:00
LastModifiedDate *string `json:"LastModifiedDate,omitempty"`
2021-07-31 03:05:02 +00:00
// Cluster Name
2023-04-15 14:27:18 +00:00
Name *string `json:"Name,omitempty"`
2021-07-31 03:05:02 +00:00
// Owner
2023-04-15 14:27:18 +00:00
OwnerID *string `json:"OwnerID,omitempty"`
2021-07-31 03:05:02 +00:00
// External Reference
2023-04-15 14:27:18 +00:00
Ref *string `json:"Ref,omitempty"`
2021-07-31 03:05:02 +00:00
// Status
2023-04-15 14:27:18 +00:00
Status *string `json:"Status,omitempty"`
2021-07-31 03:05:02 +00:00
// Subnet
2023-04-15 14:27:18 +00:00
Subnet *string `json:"Subnet,omitempty"`
2021-07-31 03:05:02 +00:00
// The ID of the tenant who owns this Database
2023-04-15 14:27:18 +00:00
TenantID *string `json:"TenantID,omitempty"`
2021-07-31 03:05:02 +00:00
// Type
2023-04-15 14:27:18 +00:00
Type *string `json:"Type,omitempty"`
2021-07-31 03:05:02 +00:00
// Zone
2023-04-15 14:27:18 +00:00
Zone *string `json:"Zone,omitempty"`
2021-07-31 03:05:02 +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
}