Skip to content

Latest commit

 

History

History
654 lines (359 loc) · 20.3 KB

LoggingDigitaloceanResponse.md

File metadata and controls

654 lines (359 loc) · 20.3 KB

LoggingDigitaloceanResponse

Properties

Name Type Description Notes
Name Pointer to string The name for the real-time logging configuration. [optional]
Placement Pointer to NullableString Where in the generated VCL the logging call should be placed. If not set, endpoints with format_version of 2 are placed in vcl_log and those with format_version of 1 are placed in vcl_deliver. [optional]
ResponseCondition Pointer to NullableString The name of an existing condition in the configured endpoint, or leave blank to always execute. [optional]
Format Pointer to string A Fastly log format string. [optional] [default to "%h %l %u %t "%r" %>s %b"]
FormatVersion Pointer to string The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log if format_version is set to 2 and in vcl_deliver if format_version is set to 1. [optional] [default to "2"]
MessageType Pointer to string How the message should be formatted. [optional] [default to "classic"]
TimestampFormat Pointer to NullableString A timestamp format [optional] [readonly]
CompressionCodec Pointer to string The codec used for compressing your logs. Valid values are zstd, snappy, and gzip. Specifying both compression_codec and gzip_level in the same API request will result in an error. [optional]
Period Pointer to string How frequently log files are finalized so they can be available for reading (in seconds). [optional] [default to "3600"]
GzipLevel Pointer to string The level of gzip encoding when sending logs (default 0, no compression). Specifying both compression_codec and gzip_level in the same API request will result in an error. [optional] [default to "0"]
CreatedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
DeletedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
UpdatedAt Pointer to NullableTime Date and time in ISO 8601 format. [optional] [readonly]
ServiceID Pointer to string [optional] [readonly]
Version Pointer to string [optional] [readonly]
BucketName Pointer to string The name of the DigitalOcean Space. [optional]
AccessKey Pointer to string Your DigitalOcean Spaces account access key. [optional]
SecretKey Pointer to string Your DigitalOcean Spaces account secret key. [optional]
Domain Pointer to string The domain of the DigitalOcean Spaces endpoint. [optional] [default to "nyc3.digitaloceanspaces.com"]
Path Pointer to NullableString The path to upload logs to. [optional] [default to "null"]
PublicKey Pointer to NullableString A PGP public key that Fastly will use to encrypt your log files before writing them to disk. [optional] [default to "null"]

Methods

NewLoggingDigitaloceanResponse

func NewLoggingDigitaloceanResponse() *LoggingDigitaloceanResponse

NewLoggingDigitaloceanResponse instantiates a new LoggingDigitaloceanResponse 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

NewLoggingDigitaloceanResponseWithDefaults

func NewLoggingDigitaloceanResponseWithDefaults() *LoggingDigitaloceanResponse

NewLoggingDigitaloceanResponseWithDefaults instantiates a new LoggingDigitaloceanResponse 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

GetName

func (o *LoggingDigitaloceanResponse) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *LoggingDigitaloceanResponse) 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 *LoggingDigitaloceanResponse) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *LoggingDigitaloceanResponse) HasName() bool

HasName returns a boolean if a field has been set.

GetPlacement

func (o *LoggingDigitaloceanResponse) GetPlacement() string

GetPlacement returns the Placement field if non-nil, zero value otherwise.

GetPlacementOk

func (o *LoggingDigitaloceanResponse) GetPlacementOk() (*string, bool)

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

SetPlacement

func (o *LoggingDigitaloceanResponse) SetPlacement(v string)

SetPlacement sets Placement field to given value.

HasPlacement

func (o *LoggingDigitaloceanResponse) HasPlacement() bool

HasPlacement returns a boolean if a field has been set.

SetPlacementNil

func (o *LoggingDigitaloceanResponse) SetPlacementNil(b bool)

SetPlacementNil sets the value for Placement to be an explicit nil

UnsetPlacement

func (o *LoggingDigitaloceanResponse) UnsetPlacement()

UnsetPlacement ensures that no value is present for Placement, not even an explicit nil

GetResponseCondition

func (o *LoggingDigitaloceanResponse) GetResponseCondition() string

GetResponseCondition returns the ResponseCondition field if non-nil, zero value otherwise.

GetResponseConditionOk

func (o *LoggingDigitaloceanResponse) GetResponseConditionOk() (*string, bool)

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

SetResponseCondition

func (o *LoggingDigitaloceanResponse) SetResponseCondition(v string)

SetResponseCondition sets ResponseCondition field to given value.

HasResponseCondition

func (o *LoggingDigitaloceanResponse) HasResponseCondition() bool

HasResponseCondition returns a boolean if a field has been set.

SetResponseConditionNil

func (o *LoggingDigitaloceanResponse) SetResponseConditionNil(b bool)

SetResponseConditionNil sets the value for ResponseCondition to be an explicit nil

UnsetResponseCondition

func (o *LoggingDigitaloceanResponse) UnsetResponseCondition()

UnsetResponseCondition ensures that no value is present for ResponseCondition, not even an explicit nil

GetFormat

func (o *LoggingDigitaloceanResponse) GetFormat() string

GetFormat returns the Format field if non-nil, zero value otherwise.

GetFormatOk

func (o *LoggingDigitaloceanResponse) GetFormatOk() (*string, bool)

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

SetFormat

func (o *LoggingDigitaloceanResponse) SetFormat(v string)

SetFormat sets Format field to given value.

HasFormat

func (o *LoggingDigitaloceanResponse) HasFormat() bool

HasFormat returns a boolean if a field has been set.

GetFormatVersion

func (o *LoggingDigitaloceanResponse) GetFormatVersion() string

GetFormatVersion returns the FormatVersion field if non-nil, zero value otherwise.

GetFormatVersionOk

func (o *LoggingDigitaloceanResponse) GetFormatVersionOk() (*string, bool)

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

SetFormatVersion

func (o *LoggingDigitaloceanResponse) SetFormatVersion(v string)

SetFormatVersion sets FormatVersion field to given value.

HasFormatVersion

func (o *LoggingDigitaloceanResponse) HasFormatVersion() bool

HasFormatVersion returns a boolean if a field has been set.

GetMessageType

func (o *LoggingDigitaloceanResponse) GetMessageType() string

GetMessageType returns the MessageType field if non-nil, zero value otherwise.

GetMessageTypeOk

func (o *LoggingDigitaloceanResponse) GetMessageTypeOk() (*string, bool)

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

SetMessageType

func (o *LoggingDigitaloceanResponse) SetMessageType(v string)

SetMessageType sets MessageType field to given value.

HasMessageType

func (o *LoggingDigitaloceanResponse) HasMessageType() bool

HasMessageType returns a boolean if a field has been set.

GetTimestampFormat

func (o *LoggingDigitaloceanResponse) GetTimestampFormat() string

GetTimestampFormat returns the TimestampFormat field if non-nil, zero value otherwise.

GetTimestampFormatOk

func (o *LoggingDigitaloceanResponse) GetTimestampFormatOk() (*string, bool)

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

SetTimestampFormat

func (o *LoggingDigitaloceanResponse) SetTimestampFormat(v string)

SetTimestampFormat sets TimestampFormat field to given value.

HasTimestampFormat

func (o *LoggingDigitaloceanResponse) HasTimestampFormat() bool

HasTimestampFormat returns a boolean if a field has been set.

SetTimestampFormatNil

func (o *LoggingDigitaloceanResponse) SetTimestampFormatNil(b bool)

SetTimestampFormatNil sets the value for TimestampFormat to be an explicit nil

UnsetTimestampFormat

func (o *LoggingDigitaloceanResponse) UnsetTimestampFormat()

UnsetTimestampFormat ensures that no value is present for TimestampFormat, not even an explicit nil

GetCompressionCodec

func (o *LoggingDigitaloceanResponse) GetCompressionCodec() string

GetCompressionCodec returns the CompressionCodec field if non-nil, zero value otherwise.

GetCompressionCodecOk

func (o *LoggingDigitaloceanResponse) GetCompressionCodecOk() (*string, bool)

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

SetCompressionCodec

func (o *LoggingDigitaloceanResponse) SetCompressionCodec(v string)

SetCompressionCodec sets CompressionCodec field to given value.

HasCompressionCodec

func (o *LoggingDigitaloceanResponse) HasCompressionCodec() bool

HasCompressionCodec returns a boolean if a field has been set.

GetPeriod

func (o *LoggingDigitaloceanResponse) GetPeriod() string

GetPeriod returns the Period field if non-nil, zero value otherwise.

GetPeriodOk

func (o *LoggingDigitaloceanResponse) GetPeriodOk() (*string, bool)

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

SetPeriod

func (o *LoggingDigitaloceanResponse) SetPeriod(v string)

SetPeriod sets Period field to given value.

HasPeriod

func (o *LoggingDigitaloceanResponse) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

GetGzipLevel

func (o *LoggingDigitaloceanResponse) GetGzipLevel() string

GetGzipLevel returns the GzipLevel field if non-nil, zero value otherwise.

GetGzipLevelOk

func (o *LoggingDigitaloceanResponse) GetGzipLevelOk() (*string, bool)

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

SetGzipLevel

func (o *LoggingDigitaloceanResponse) SetGzipLevel(v string)

SetGzipLevel sets GzipLevel field to given value.

HasGzipLevel

func (o *LoggingDigitaloceanResponse) HasGzipLevel() bool

HasGzipLevel returns a boolean if a field has been set.

GetCreatedAt

func (o *LoggingDigitaloceanResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

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

SetCreatedAt

func (o *LoggingDigitaloceanResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *LoggingDigitaloceanResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *LoggingDigitaloceanResponse) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *LoggingDigitaloceanResponse) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

GetDeletedAt

func (o *LoggingDigitaloceanResponse) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

GetDeletedAtOk

func (o *LoggingDigitaloceanResponse) GetDeletedAtOk() (*time.Time, bool)

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

SetDeletedAt

func (o *LoggingDigitaloceanResponse) SetDeletedAt(v time.Time)

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *LoggingDigitaloceanResponse) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

SetDeletedAtNil

func (o *LoggingDigitaloceanResponse) SetDeletedAtNil(b bool)

SetDeletedAtNil sets the value for DeletedAt to be an explicit nil

UnsetDeletedAt

func (o *LoggingDigitaloceanResponse) UnsetDeletedAt()

UnsetDeletedAt ensures that no value is present for DeletedAt, not even an explicit nil

GetUpdatedAt

func (o *LoggingDigitaloceanResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

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

SetUpdatedAt

func (o *LoggingDigitaloceanResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *LoggingDigitaloceanResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *LoggingDigitaloceanResponse) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *LoggingDigitaloceanResponse) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

GetServiceID

func (o *LoggingDigitaloceanResponse) GetServiceID() string

GetServiceID returns the ServiceID field if non-nil, zero value otherwise.

GetServiceIDOk

func (o *LoggingDigitaloceanResponse) GetServiceIDOk() (*string, bool)

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

SetServiceID

func (o *LoggingDigitaloceanResponse) SetServiceID(v string)

SetServiceID sets ServiceID field to given value.

HasServiceID

func (o *LoggingDigitaloceanResponse) HasServiceID() bool

HasServiceID returns a boolean if a field has been set.

GetVersion

func (o *LoggingDigitaloceanResponse) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *LoggingDigitaloceanResponse) GetVersionOk() (*string, bool)

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

SetVersion

func (o *LoggingDigitaloceanResponse) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *LoggingDigitaloceanResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

GetBucketName

func (o *LoggingDigitaloceanResponse) GetBucketName() string

GetBucketName returns the BucketName field if non-nil, zero value otherwise.

GetBucketNameOk

func (o *LoggingDigitaloceanResponse) GetBucketNameOk() (*string, bool)

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

SetBucketName

func (o *LoggingDigitaloceanResponse) SetBucketName(v string)

SetBucketName sets BucketName field to given value.

HasBucketName

func (o *LoggingDigitaloceanResponse) HasBucketName() bool

HasBucketName returns a boolean if a field has been set.

GetAccessKey

func (o *LoggingDigitaloceanResponse) GetAccessKey() string

GetAccessKey returns the AccessKey field if non-nil, zero value otherwise.

GetAccessKeyOk

func (o *LoggingDigitaloceanResponse) GetAccessKeyOk() (*string, bool)

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

SetAccessKey

func (o *LoggingDigitaloceanResponse) SetAccessKey(v string)

SetAccessKey sets AccessKey field to given value.

HasAccessKey

func (o *LoggingDigitaloceanResponse) HasAccessKey() bool

HasAccessKey returns a boolean if a field has been set.

GetSecretKey

func (o *LoggingDigitaloceanResponse) GetSecretKey() string

GetSecretKey returns the SecretKey field if non-nil, zero value otherwise.

GetSecretKeyOk

func (o *LoggingDigitaloceanResponse) GetSecretKeyOk() (*string, bool)

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

SetSecretKey

func (o *LoggingDigitaloceanResponse) SetSecretKey(v string)

SetSecretKey sets SecretKey field to given value.

HasSecretKey

func (o *LoggingDigitaloceanResponse) HasSecretKey() bool

HasSecretKey returns a boolean if a field has been set.

GetDomain

func (o *LoggingDigitaloceanResponse) GetDomain() string

GetDomain returns the Domain field if non-nil, zero value otherwise.

GetDomainOk

func (o *LoggingDigitaloceanResponse) GetDomainOk() (*string, bool)

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

SetDomain

func (o *LoggingDigitaloceanResponse) SetDomain(v string)

SetDomain sets Domain field to given value.

HasDomain

func (o *LoggingDigitaloceanResponse) HasDomain() bool

HasDomain returns a boolean if a field has been set.

GetPath

func (o *LoggingDigitaloceanResponse) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

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

SetPath

func (o *LoggingDigitaloceanResponse) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *LoggingDigitaloceanResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

SetPathNil

func (o *LoggingDigitaloceanResponse) SetPathNil(b bool)

SetPathNil sets the value for Path to be an explicit nil

UnsetPath

func (o *LoggingDigitaloceanResponse) UnsetPath()

UnsetPath ensures that no value is present for Path, not even an explicit nil

GetPublicKey

func (o *LoggingDigitaloceanResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.

GetPublicKeyOk

func (o *LoggingDigitaloceanResponse) GetPublicKeyOk() (*string, bool)

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

SetPublicKey

func (o *LoggingDigitaloceanResponse) SetPublicKey(v string)

SetPublicKey sets PublicKey field to given value.

HasPublicKey

func (o *LoggingDigitaloceanResponse) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

SetPublicKeyNil

func (o *LoggingDigitaloceanResponse) SetPublicKeyNil(b bool)

SetPublicKeyNil sets the value for PublicKey to be an explicit nil

UnsetPublicKey

func (o *LoggingDigitaloceanResponse) UnsetPublicKey()

UnsetPublicKey ensures that no value is present for PublicKey, not even an explicit nil

Back to API list | Back to README