Name | Type | Description | Notes |
---|---|---|---|
Object | string | Type of Object, always equals to "publishing-auth" | |
Id | string | Unique identifier for the content. | |
PrivateKey | string | Private key used to sign JWT tokens. | |
FallbackURL | Pointer to string | URL to redirect to when the visitor auth secret is invalid. | [optional] |
func NewContentPublishingAuth(object string, id string, privateKey string, ) *ContentPublishingAuth
NewContentPublishingAuth instantiates a new ContentPublishingAuth 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 NewContentPublishingAuthWithDefaults() *ContentPublishingAuth
NewContentPublishingAuthWithDefaults instantiates a new ContentPublishingAuth 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 *ContentPublishingAuth) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *ContentPublishingAuth) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentPublishingAuth) SetObject(v string)
SetObject sets Object field to given value.
func (o *ContentPublishingAuth) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ContentPublishingAuth) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentPublishingAuth) SetId(v string)
SetId sets Id field to given value.
func (o *ContentPublishingAuth) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.
func (o *ContentPublishingAuth) GetPrivateKeyOk() (*string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentPublishingAuth) SetPrivateKey(v string)
SetPrivateKey sets PrivateKey field to given value.
func (o *ContentPublishingAuth) GetFallbackURL() string
GetFallbackURL returns the FallbackURL field if non-nil, zero value otherwise.
func (o *ContentPublishingAuth) GetFallbackURLOk() (*string, bool)
GetFallbackURLOk returns a tuple with the FallbackURL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentPublishingAuth) SetFallbackURL(v string)
SetFallbackURL sets FallbackURL field to given value.
func (o *ContentPublishingAuth) HasFallbackURL() bool
HasFallbackURL returns a boolean if a field has been set.