Skip to content

Latest commit

 

History

History
716 lines (393 loc) · 21.2 KB

LoggingSftpResponse.md

File metadata and controls

716 lines (393 loc) · 21.2 KB

LoggingSftpResponse

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]
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]
Password Pointer to string The password for the server. If both password and secret_key are passed, secret_key will be used in preference. [optional]
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"]
SecretKey Pointer to NullableString The SSH private key for the server. If both password and secret_key are passed, secret_key will be used in preference. [optional] [default to "null"]
SSHKnownHosts Pointer to string A list of host keys for all hosts we can connect to over SFTP. [optional]
User Pointer to string The username for the server. [optional]
Address Pointer to string A hostname or IPv4 address. [optional]
Port Pointer to string The port number. [optional] [default to "22"]
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 int32 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]

Methods

NewLoggingSftpResponse

func NewLoggingSftpResponse() *LoggingSftpResponse

NewLoggingSftpResponse instantiates a new LoggingSftpResponse 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

NewLoggingSftpResponseWithDefaults

func NewLoggingSftpResponseWithDefaults() *LoggingSftpResponse

NewLoggingSftpResponseWithDefaults instantiates a new LoggingSftpResponse 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 *LoggingSftpResponse) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *LoggingSftpResponse) HasName() bool

HasName returns a boolean if a field has been set.

GetPlacement

func (o *LoggingSftpResponse) GetPlacement() string

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

GetPlacementOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetPlacement(v string)

SetPlacement sets Placement field to given value.

HasPlacement

func (o *LoggingSftpResponse) HasPlacement() bool

HasPlacement returns a boolean if a field has been set.

SetPlacementNil

func (o *LoggingSftpResponse) SetPlacementNil(b bool)

SetPlacementNil sets the value for Placement to be an explicit nil

UnsetPlacement

func (o *LoggingSftpResponse) UnsetPlacement()

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

GetResponseCondition

func (o *LoggingSftpResponse) GetResponseCondition() string

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

GetResponseConditionOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetResponseCondition(v string)

SetResponseCondition sets ResponseCondition field to given value.

HasResponseCondition

func (o *LoggingSftpResponse) HasResponseCondition() bool

HasResponseCondition returns a boolean if a field has been set.

SetResponseConditionNil

func (o *LoggingSftpResponse) SetResponseConditionNil(b bool)

SetResponseConditionNil sets the value for ResponseCondition to be an explicit nil

UnsetResponseCondition

func (o *LoggingSftpResponse) UnsetResponseCondition()

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

GetFormat

func (o *LoggingSftpResponse) GetFormat() string

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

GetFormatOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetFormat(v string)

SetFormat sets Format field to given value.

HasFormat

func (o *LoggingSftpResponse) HasFormat() bool

HasFormat returns a boolean if a field has been set.

GetFormatVersion

func (o *LoggingSftpResponse) GetFormatVersion() string

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

GetFormatVersionOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetFormatVersion(v string)

SetFormatVersion sets FormatVersion field to given value.

HasFormatVersion

func (o *LoggingSftpResponse) HasFormatVersion() bool

HasFormatVersion returns a boolean if a field has been set.

GetMessageType

func (o *LoggingSftpResponse) GetMessageType() string

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

GetMessageTypeOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetMessageType(v string)

SetMessageType sets MessageType field to given value.

HasMessageType

func (o *LoggingSftpResponse) HasMessageType() bool

HasMessageType returns a boolean if a field has been set.

GetTimestampFormat

func (o *LoggingSftpResponse) GetTimestampFormat() string

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

GetTimestampFormatOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetTimestampFormat(v string)

SetTimestampFormat sets TimestampFormat field to given value.

HasTimestampFormat

func (o *LoggingSftpResponse) HasTimestampFormat() bool

HasTimestampFormat returns a boolean if a field has been set.

SetTimestampFormatNil

func (o *LoggingSftpResponse) SetTimestampFormatNil(b bool)

SetTimestampFormatNil sets the value for TimestampFormat to be an explicit nil

UnsetTimestampFormat

func (o *LoggingSftpResponse) UnsetTimestampFormat()

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

GetCompressionCodec

func (o *LoggingSftpResponse) GetCompressionCodec() string

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

GetCompressionCodecOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetCompressionCodec(v string)

SetCompressionCodec sets CompressionCodec field to given value.

HasCompressionCodec

func (o *LoggingSftpResponse) HasCompressionCodec() bool

HasCompressionCodec returns a boolean if a field has been set.

GetCreatedAt

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

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

GetCreatedAtOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *LoggingSftpResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *LoggingSftpResponse) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *LoggingSftpResponse) UnsetCreatedAt()

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

GetDeletedAt

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

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

GetDeletedAtOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetDeletedAt(v time.Time)

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *LoggingSftpResponse) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

SetDeletedAtNil

func (o *LoggingSftpResponse) SetDeletedAtNil(b bool)

SetDeletedAtNil sets the value for DeletedAt to be an explicit nil

UnsetDeletedAt

func (o *LoggingSftpResponse) UnsetDeletedAt()

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

GetUpdatedAt

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

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

GetUpdatedAtOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *LoggingSftpResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *LoggingSftpResponse) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *LoggingSftpResponse) UnsetUpdatedAt()

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

GetServiceID

func (o *LoggingSftpResponse) GetServiceID() string

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

GetServiceIDOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetServiceID(v string)

SetServiceID sets ServiceID field to given value.

HasServiceID

func (o *LoggingSftpResponse) HasServiceID() bool

HasServiceID returns a boolean if a field has been set.

GetVersion

func (o *LoggingSftpResponse) GetVersion() string

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

GetVersionOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *LoggingSftpResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

GetPassword

func (o *LoggingSftpResponse) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *LoggingSftpResponse) GetPasswordOk() (*string, bool)

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

SetPassword

func (o *LoggingSftpResponse) SetPassword(v string)

SetPassword sets Password field to given value.

HasPassword

func (o *LoggingSftpResponse) HasPassword() bool

HasPassword returns a boolean if a field has been set.

GetPath

func (o *LoggingSftpResponse) GetPath() string

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

GetPathOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *LoggingSftpResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

SetPathNil

func (o *LoggingSftpResponse) SetPathNil(b bool)

SetPathNil sets the value for Path to be an explicit nil

UnsetPath

func (o *LoggingSftpResponse) UnsetPath()

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

GetPublicKey

func (o *LoggingSftpResponse) GetPublicKey() string

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

GetPublicKeyOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetPublicKey(v string)

SetPublicKey sets PublicKey field to given value.

HasPublicKey

func (o *LoggingSftpResponse) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

SetPublicKeyNil

func (o *LoggingSftpResponse) SetPublicKeyNil(b bool)

SetPublicKeyNil sets the value for PublicKey to be an explicit nil

UnsetPublicKey

func (o *LoggingSftpResponse) UnsetPublicKey()

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

GetSecretKey

func (o *LoggingSftpResponse) GetSecretKey() string

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

GetSecretKeyOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetSecretKey(v string)

SetSecretKey sets SecretKey field to given value.

HasSecretKey

func (o *LoggingSftpResponse) HasSecretKey() bool

HasSecretKey returns a boolean if a field has been set.

SetSecretKeyNil

func (o *LoggingSftpResponse) SetSecretKeyNil(b bool)

SetSecretKeyNil sets the value for SecretKey to be an explicit nil

UnsetSecretKey

func (o *LoggingSftpResponse) UnsetSecretKey()

UnsetSecretKey ensures that no value is present for SecretKey, not even an explicit nil

GetSSHKnownHosts

func (o *LoggingSftpResponse) GetSSHKnownHosts() string

GetSSHKnownHosts returns the SSHKnownHosts field if non-nil, zero value otherwise.

GetSSHKnownHostsOk

func (o *LoggingSftpResponse) GetSSHKnownHostsOk() (*string, bool)

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

SetSSHKnownHosts

func (o *LoggingSftpResponse) SetSSHKnownHosts(v string)

SetSSHKnownHosts sets SSHKnownHosts field to given value.

HasSSHKnownHosts

func (o *LoggingSftpResponse) HasSSHKnownHosts() bool

HasSSHKnownHosts returns a boolean if a field has been set.

GetUser

func (o *LoggingSftpResponse) GetUser() string

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *LoggingSftpResponse) GetUserOk() (*string, bool)

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

SetUser

func (o *LoggingSftpResponse) SetUser(v string)

SetUser sets User field to given value.

HasUser

func (o *LoggingSftpResponse) HasUser() bool

HasUser returns a boolean if a field has been set.

GetAddress

func (o *LoggingSftpResponse) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *LoggingSftpResponse) GetAddressOk() (*string, bool)

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

SetAddress

func (o *LoggingSftpResponse) SetAddress(v string)

SetAddress sets Address field to given value.

HasAddress

func (o *LoggingSftpResponse) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetPort

func (o *LoggingSftpResponse) GetPort() string

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *LoggingSftpResponse) GetPortOk() (*string, 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.

SetPort

func (o *LoggingSftpResponse) SetPort(v string)

SetPort sets Port field to given value.

HasPort

func (o *LoggingSftpResponse) HasPort() bool

HasPort returns a boolean if a field has been set.

GetPeriod

func (o *LoggingSftpResponse) GetPeriod() string

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

GetPeriodOk

func (o *LoggingSftpResponse) 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 *LoggingSftpResponse) SetPeriod(v string)

SetPeriod sets Period field to given value.

HasPeriod

func (o *LoggingSftpResponse) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

GetGzipLevel

func (o *LoggingSftpResponse) GetGzipLevel() int32

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

GetGzipLevelOk

func (o *LoggingSftpResponse) GetGzipLevelOk() (*int32, 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 *LoggingSftpResponse) SetGzipLevel(v int32)

SetGzipLevel sets GzipLevel field to given value.

HasGzipLevel

func (o *LoggingSftpResponse) HasGzipLevel() bool

HasGzipLevel returns a boolean if a field has been set.

Back to API list | Back to README