class Amazonite::Ssm::AttachmentContent

Overview

A structure that includes attributes that describe a document attachment.

Included Modules

Defined in:

ssm/attachment_content.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(name : String | Nil = nil, size : Int64 | Nil = nil, hash : String | Nil = nil, hash_type : AttachmentHashType | Nil = nil, url : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def hash : String | Nil #

The cryptographic hash value of the document content.


[View source]
def hash=(hash : String | Nil) #

The cryptographic hash value of the document content.


[View source]
def hash_type : AttachmentHashType | Nil #

The hash algorithm used to calculate the hash value.


[View source]
def hash_type=(hash_type : AttachmentHashType | Nil) #

The hash algorithm used to calculate the hash value.


[View source]
def name : String | Nil #

The name of an attachment.


[View source]
def name=(name : String | Nil) #

The name of an attachment.


[View source]
def size : Int64 | Nil #

The size of an attachment in bytes.


[View source]
def size=(size : Int64 | Nil) #

The size of an attachment in bytes.


[View source]
def url : String | Nil #

The URL location of the attachment content.


[View source]
def url=(url : String | Nil) #

The URL location of the attachment content.


[View source]
def validate! : Nil #

[View source]