class

Build::AddonWithAttachments

Inherits YAML::Serializable < JSON::Serializable < Reference < Object

Constructors

new(id : String, addon_service : AddonService, plan : AddonPlan, app : AddonApp, state : String, name : String | Nil, human_name : String | Nil, description : String | Nil, config_vars : Array(String) | Nil, billed_price : AddonBilledPrice | Nil, web_url : String | Nil, attachments : Array(AddonInfoAttachment) | Nil, created_at : String | Nil, updated_at : String | Nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Class methods

build_from_hash(attributes)

Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself

Source

Instance methods

==(other)

Checks equality by comparing each attribute. @param [Object] Object to be compared

Source
_deserialize(type, value)

Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data

Source
_to_hash(value)

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value @param [Object] value Any valid value @return [Hash] Returns the value in the form of hash

Source
addon_service
Source
addon_service=(addon_service : AddonService)
Source
app=(app : AddonApp)
Source
attachments
Source
attachments=(attachments : Array(AddonInfoAttachment) | Nil)
Source
billed_price
Source
billed_price=(billed_price : AddonBilledPrice | Nil)
Source
build_from_hash(attributes)

Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself

Source
config_vars
Source
config_vars=(config_vars : Array(String) | Nil)
Source
created_at
Source
created_at=(created_at : String | Nil)
Source
description

User-provided description of the addon

Source
description=(description : String | Nil)

User-provided description of the addon

Source
eql?(other)

@see the == method @param [Object] Object to be compared

Source
hash

Calculates hash code according to all attributes. @return [Integer] Hash code

Source
human_name

User-provided display name for the addon

Source
human_name=(human_name : String | Nil)

User-provided display name for the addon

Source
id

Required properties

Source
id=(id : String)

Required properties

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
name

Optional properties Globally unique addon name

Source
name=(name : String | Nil)

Optional properties Globally unique addon name

Source
plan
Source
plan=(plan : AddonPlan)
Source
state
Source
state=(state : String)
Source
state=(state : String)

Custom attribute writer method checking allowed values (enum). @param [Object] state Object to be assigned

Source
to_body

to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash

Source
to_hash

Returns the object in the form of hash @return [Hash] Returns the object in the form of hash

Source
to_s

Returns the string representation of the object @return [String] String presentation of the object

Source
updated_at
Source
updated_at=(updated_at : String | Nil)
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
web_url
Source
web_url=(web_url : String | Nil)
Source

Nested types