Name | Type | Description | Notes |
---|---|---|---|
CreatedAt | Pointer to time.Time | [optional] | |
Destinations | Pointer to []Destination | [optional] | |
Guid | Pointer to string | [optional] | |
Host | Pointer to NullableString | [optional] | |
Links | Pointer to RouteLinks | [optional] | |
Metadata | Pointer to V3AppsGuidDropletsCurrentGet200ResponseMetadata | [optional] | |
Path | Pointer to NullableString | [optional] | |
Port | Pointer to NullableInt32 | [optional] | |
Protocol | Pointer to string | [optional] | |
Relationships | Pointer to V3RoutesPostRequestRelationships | [optional] | |
UpdatedAt | Pointer to time.Time | [optional] | |
Url | Pointer to string | [optional] |
func NewRoute() *Route
NewRoute instantiates a new Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRouteWithDefaults() *Route
NewRouteWithDefaults instantiates a new Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Route) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Route) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Route) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Route) GetDestinations() []Destination
GetDestinations returns the Destinations field if non-nil, zero value otherwise.
func (o *Route) GetDestinationsOk() (*[]Destination, bool)
GetDestinationsOk returns a tuple with the Destinations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetDestinations(v []Destination)
SetDestinations sets Destinations field to given value.
func (o *Route) HasDestinations() bool
HasDestinations returns a boolean if a field has been set.
func (o *Route) GetGuid() string
GetGuid returns the Guid field if non-nil, zero value otherwise.
func (o *Route) GetGuidOk() (*string, bool)
GetGuidOk returns a tuple with the Guid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetGuid(v string)
SetGuid sets Guid field to given value.
func (o *Route) HasGuid() bool
HasGuid returns a boolean if a field has been set.
func (o *Route) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *Route) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetHost(v string)
SetHost sets Host field to given value.
func (o *Route) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *Route) SetHostNil(b bool)
SetHostNil sets the value for Host to be an explicit nil
func (o *Route) UnsetHost()
UnsetHost ensures that no value is present for Host, not even an explicit nil
func (o *Route) GetLinks() RouteLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *Route) GetLinksOk() (*RouteLinks, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetLinks(v RouteLinks)
SetLinks sets Links field to given value.
func (o *Route) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (o *Route) GetMetadata() V3AppsGuidDropletsCurrentGet200ResponseMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Route) GetMetadataOk() (*V3AppsGuidDropletsCurrentGet200ResponseMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetMetadata(v V3AppsGuidDropletsCurrentGet200ResponseMetadata)
SetMetadata sets Metadata field to given value.
func (o *Route) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Route) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *Route) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetPath(v string)
SetPath sets Path field to given value.
func (o *Route) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *Route) SetPathNil(b bool)
SetPathNil sets the value for Path to be an explicit nil
func (o *Route) UnsetPath()
UnsetPath ensures that no value is present for Path, not even an explicit nil
func (o *Route) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *Route) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetPort(v int32)
SetPort sets Port field to given value.
func (o *Route) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *Route) SetPortNil(b bool)
SetPortNil sets the value for Port to be an explicit nil
func (o *Route) UnsetPort()
UnsetPort ensures that no value is present for Port, not even an explicit nil
func (o *Route) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *Route) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *Route) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (o *Route) GetRelationships() V3RoutesPostRequestRelationships
GetRelationships returns the Relationships field if non-nil, zero value otherwise.
func (o *Route) GetRelationshipsOk() (*V3RoutesPostRequestRelationships, bool)
GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetRelationships(v V3RoutesPostRequestRelationships)
SetRelationships sets Relationships field to given value.
func (o *Route) HasRelationships() bool
HasRelationships returns a boolean if a field has been set.
func (o *Route) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Route) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Route) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Route) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *Route) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Route) HasUrl() bool
HasUrl returns a boolean if a field has been set.