Skip to content

Latest commit

 

History

History
118 lines (65 loc) · 3.14 KB

File metadata and controls

118 lines (65 loc) · 3.14 KB

PageRuleDiffRedirect

Properties

Name Type Description Notes
Enable Pointer to bool [optional]
StatusCode Pointer to int32 [optional]
Url Pointer to NullableString [optional]

Methods

NewPageRuleDiffRedirect

func NewPageRuleDiffRedirect() *PageRuleDiffRedirect

NewPageRuleDiffRedirect instantiates a new PageRuleDiffRedirect 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

NewPageRuleDiffRedirectWithDefaults

func NewPageRuleDiffRedirectWithDefaults() *PageRuleDiffRedirect

NewPageRuleDiffRedirectWithDefaults instantiates a new PageRuleDiffRedirect 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

GetEnable

func (o *PageRuleDiffRedirect) GetEnable() bool

GetEnable returns the Enable field if non-nil, zero value otherwise.

GetEnableOk

func (o *PageRuleDiffRedirect) GetEnableOk() (*bool, bool)

GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnable

func (o *PageRuleDiffRedirect) SetEnable(v bool)

SetEnable sets Enable field to given value.

HasEnable

func (o *PageRuleDiffRedirect) HasEnable() bool

HasEnable returns a boolean if a field has been set.

GetStatusCode

func (o *PageRuleDiffRedirect) GetStatusCode() int32

GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.

GetStatusCodeOk

func (o *PageRuleDiffRedirect) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatusCode

func (o *PageRuleDiffRedirect) SetStatusCode(v int32)

SetStatusCode sets StatusCode field to given value.

HasStatusCode

func (o *PageRuleDiffRedirect) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

GetUrl

func (o *PageRuleDiffRedirect) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *PageRuleDiffRedirect) 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.

SetUrl

func (o *PageRuleDiffRedirect) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *PageRuleDiffRedirect) HasUrl() bool

HasUrl returns a boolean if a field has been set.

SetUrlNil

func (o *PageRuleDiffRedirect) SetUrlNil(b bool)

SetUrlNil sets the value for Url to be an explicit nil

UnsetUrl

func (o *PageRuleDiffRedirect) UnsetUrl()

UnsetUrl ensures that no value is present for Url, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]