GoodMem
ReferenceClient SDKsGoModels

MemoryPageImage Model

MemoryPageImage Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
MemoryIdstringMemory UUID
PageIndexint320-based page index
Dpiint32Render DPI
ContentTypestringImage MIME type
ImageContentLengthPointer to NullableInt64Image byte length[optional]
ImageContentSha256Pointer to NullableStringHex-encoded SHA-256 digest of image content[optional]
CreatedAtint64Creation timestamp (milliseconds since epoch)
UpdatedAtint64Last update timestamp (milliseconds since epoch)
CreatedByIdstringCreator user UUID
UpdatedByIdstringLast updater user UUID

Methods

NewMemoryPageImage

func NewMemoryPageImage(memoryId string, pageIndex int32, dpi int32, contentType string, createdAt int64, updatedAt int64, createdById string, updatedById string, ) *MemoryPageImage

NewMemoryPageImage instantiates a new MemoryPageImage 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

NewMemoryPageImageWithDefaults

func NewMemoryPageImageWithDefaults() *MemoryPageImage

NewMemoryPageImageWithDefaults instantiates a new MemoryPageImage 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

GetMemoryId

func (o *MemoryPageImage) GetMemoryId() string

GetMemoryId returns the MemoryId field if non-nil, zero value otherwise.

GetMemoryIdOk

func (o *MemoryPageImage) GetMemoryIdOk() (*string, bool)

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

SetMemoryId

func (o *MemoryPageImage) SetMemoryId(v string)

SetMemoryId sets MemoryId field to given value.

GetPageIndex

func (o *MemoryPageImage) GetPageIndex() int32

GetPageIndex returns the PageIndex field if non-nil, zero value otherwise.

GetPageIndexOk

func (o *MemoryPageImage) GetPageIndexOk() (*int32, bool)

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

SetPageIndex

func (o *MemoryPageImage) SetPageIndex(v int32)

SetPageIndex sets PageIndex field to given value.

GetDpi

func (o *MemoryPageImage) GetDpi() int32

GetDpi returns the Dpi field if non-nil, zero value otherwise.

GetDpiOk

func (o *MemoryPageImage) GetDpiOk() (*int32, bool)

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

SetDpi

func (o *MemoryPageImage) SetDpi(v int32)

SetDpi sets Dpi field to given value.

GetContentType

func (o *MemoryPageImage) GetContentType() string

GetContentType returns the ContentType field if non-nil, zero value otherwise.

GetContentTypeOk

func (o *MemoryPageImage) GetContentTypeOk() (*string, bool)

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

SetContentType

func (o *MemoryPageImage) SetContentType(v string)

SetContentType sets ContentType field to given value.

GetImageContentLength

func (o *MemoryPageImage) GetImageContentLength() int64

GetImageContentLength returns the ImageContentLength field if non-nil, zero value otherwise.

GetImageContentLengthOk

func (o *MemoryPageImage) GetImageContentLengthOk() (*int64, bool)

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

SetImageContentLength

func (o *MemoryPageImage) SetImageContentLength(v int64)

SetImageContentLength sets ImageContentLength field to given value.

HasImageContentLength

func (o *MemoryPageImage) HasImageContentLength() bool

HasImageContentLength returns a boolean if a field has been set.

SetImageContentLengthNil

func (o *MemoryPageImage) SetImageContentLengthNil(b bool)

SetImageContentLengthNil sets the value for ImageContentLength to be an explicit nil

UnsetImageContentLength

func (o *MemoryPageImage) UnsetImageContentLength()

UnsetImageContentLength ensures that no value is present for ImageContentLength, not even an explicit nil

GetImageContentSha256

func (o *MemoryPageImage) GetImageContentSha256() string

GetImageContentSha256 returns the ImageContentSha256 field if non-nil, zero value otherwise.

GetImageContentSha256Ok

func (o *MemoryPageImage) GetImageContentSha256Ok() (*string, bool)

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

SetImageContentSha256

func (o *MemoryPageImage) SetImageContentSha256(v string)

SetImageContentSha256 sets ImageContentSha256 field to given value.

HasImageContentSha256

func (o *MemoryPageImage) HasImageContentSha256() bool

HasImageContentSha256 returns a boolean if a field has been set.

SetImageContentSha256Nil

func (o *MemoryPageImage) SetImageContentSha256Nil(b bool)

SetImageContentSha256Nil sets the value for ImageContentSha256 to be an explicit nil

UnsetImageContentSha256

func (o *MemoryPageImage) UnsetImageContentSha256()

UnsetImageContentSha256 ensures that no value is present for ImageContentSha256, not even an explicit nil

GetCreatedAt

func (o *MemoryPageImage) GetCreatedAt() int64

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

GetCreatedAtOk

func (o *MemoryPageImage) GetCreatedAtOk() (*int64, 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 *MemoryPageImage) SetCreatedAt(v int64)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *MemoryPageImage) GetUpdatedAt() int64

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

GetUpdatedAtOk

func (o *MemoryPageImage) GetUpdatedAtOk() (*int64, 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 *MemoryPageImage) SetUpdatedAt(v int64)

SetUpdatedAt sets UpdatedAt field to given value.

GetCreatedById

func (o *MemoryPageImage) GetCreatedById() string

GetCreatedById returns the CreatedById field if non-nil, zero value otherwise.

GetCreatedByIdOk

func (o *MemoryPageImage) GetCreatedByIdOk() (*string, bool)

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

SetCreatedById

func (o *MemoryPageImage) SetCreatedById(v string)

SetCreatedById sets CreatedById field to given value.

GetUpdatedById

func (o *MemoryPageImage) GetUpdatedById() string

GetUpdatedById returns the UpdatedById field if non-nil, zero value otherwise.

GetUpdatedByIdOk

func (o *MemoryPageImage) GetUpdatedByIdOk() (*string, bool)

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

SetUpdatedById

func (o *MemoryPageImage) SetUpdatedById(v string)

SetUpdatedById sets UpdatedById field to given value.