5.0 KiB
AgentCodingBlob
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Binary | Pointer to bool | Binary marks content that is not text; it comes back base64. | [optional] |
| Content | Pointer to string | Content is the file's bytes, empty when Truncated. | [optional] |
| Encoding | Pointer to string | Encoding is how Content is carried: "utf8" verbatim, or "base64". | [optional] |
| Path | Pointer to string | Path is the file's repo-relative path. | [optional] |
| Size | Pointer to int64 | Size is the file's byte length in the repository, whatever was returned below. | [optional] |
| Truncated | Pointer to bool | Truncated marks a file past the 1 MiB view cap. No content is sent. | [optional] |
Methods
NewAgentCodingBlob
func NewAgentCodingBlob() *AgentCodingBlob
NewAgentCodingBlob instantiates a new AgentCodingBlob 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
NewAgentCodingBlobWithDefaults
func NewAgentCodingBlobWithDefaults() *AgentCodingBlob
NewAgentCodingBlobWithDefaults instantiates a new AgentCodingBlob 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
GetBinary
func (o *AgentCodingBlob) GetBinary() bool
GetBinary returns the Binary field if non-nil, zero value otherwise.
GetBinaryOk
func (o *AgentCodingBlob) GetBinaryOk() (*bool, bool)
GetBinaryOk returns a tuple with the Binary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBinary
func (o *AgentCodingBlob) SetBinary(v bool)
SetBinary sets Binary field to given value.
HasBinary
func (o *AgentCodingBlob) HasBinary() bool
HasBinary returns a boolean if a field has been set.
GetContent
func (o *AgentCodingBlob) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *AgentCodingBlob) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *AgentCodingBlob) SetContent(v string)
SetContent sets Content field to given value.
HasContent
func (o *AgentCodingBlob) HasContent() bool
HasContent returns a boolean if a field has been set.
GetEncoding
func (o *AgentCodingBlob) GetEncoding() string
GetEncoding returns the Encoding field if non-nil, zero value otherwise.
GetEncodingOk
func (o *AgentCodingBlob) GetEncodingOk() (*string, bool)
GetEncodingOk returns a tuple with the Encoding field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEncoding
func (o *AgentCodingBlob) SetEncoding(v string)
SetEncoding sets Encoding field to given value.
HasEncoding
func (o *AgentCodingBlob) HasEncoding() bool
HasEncoding returns a boolean if a field has been set.
GetPath
func (o *AgentCodingBlob) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *AgentCodingBlob) 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 *AgentCodingBlob) SetPath(v string)
SetPath sets Path field to given value.
HasPath
func (o *AgentCodingBlob) HasPath() bool
HasPath returns a boolean if a field has been set.
GetSize
func (o *AgentCodingBlob) GetSize() int64
GetSize returns the Size field if non-nil, zero value otherwise.
GetSizeOk
func (o *AgentCodingBlob) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSize
func (o *AgentCodingBlob) SetSize(v int64)
SetSize sets Size field to given value.
HasSize
func (o *AgentCodingBlob) HasSize() bool
HasSize returns a boolean if a field has been set.
GetTruncated
func (o *AgentCodingBlob) GetTruncated() bool
GetTruncated returns the Truncated field if non-nil, zero value otherwise.
GetTruncatedOk
func (o *AgentCodingBlob) GetTruncatedOk() (*bool, bool)
GetTruncatedOk returns a tuple with the Truncated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTruncated
func (o *AgentCodingBlob) SetTruncated(v bool)
SetTruncated sets Truncated field to given value.
HasTruncated
func (o *AgentCodingBlob) HasTruncated() bool
HasTruncated returns a boolean if a field has been set.