3.2 KiB
PlatformRelabel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| From | Pointer to string | [optional] | |
| Name | Pointer to string | [optional] | |
| Org | Pointer to string | [optional] | |
| To | Pointer to string | [optional] |
Methods
NewPlatformRelabel
func NewPlatformRelabel() *PlatformRelabel
NewPlatformRelabel instantiates a new PlatformRelabel 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
NewPlatformRelabelWithDefaults
func NewPlatformRelabelWithDefaults() *PlatformRelabel
NewPlatformRelabelWithDefaults instantiates a new PlatformRelabel 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
GetFrom
func (o *PlatformRelabel) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
GetFromOk
func (o *PlatformRelabel) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFrom
func (o *PlatformRelabel) SetFrom(v string)
SetFrom sets From field to given value.
HasFrom
func (o *PlatformRelabel) HasFrom() bool
HasFrom returns a boolean if a field has been set.
GetName
func (o *PlatformRelabel) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *PlatformRelabel) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *PlatformRelabel) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *PlatformRelabel) HasName() bool
HasName returns a boolean if a field has been set.
GetOrg
func (o *PlatformRelabel) GetOrg() string
GetOrg returns the Org field if non-nil, zero value otherwise.
GetOrgOk
func (o *PlatformRelabel) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOrg
func (o *PlatformRelabel) SetOrg(v string)
SetOrg sets Org field to given value.
HasOrg
func (o *PlatformRelabel) HasOrg() bool
HasOrg returns a boolean if a field has been set.
GetTo
func (o *PlatformRelabel) GetTo() string
GetTo returns the To field if non-nil, zero value otherwise.
GetToOk
func (o *PlatformRelabel) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTo
func (o *PlatformRelabel) SetTo(v string)
SetTo sets To field to given value.
HasTo
func (o *PlatformRelabel) HasTo() bool
HasTo returns a boolean if a field has been set.