class

Build::App

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

Constructors

new(id : String, name : String, team : AppTeam, build_stack : String, region : String, ssh_host : String, ssh_port : Int32, pipeline : AppPipeline | Nil, dns_refreshed_at : String | Nil, builds_count : Int32 | Nil, deployments_count : Int32 | Nil, slugs_count : Int32 | Nil, current_build_id : String | Nil, current_image_id : String | Nil, current_deployment_id : String | Nil, formation : Hash(String, AppFormationValue) | Nil, stack : String | Nil, buildpacks : Array(AppBuildpack) | Nil, description : String | Nil, pipeline_stage : String | Nil, policy_allow_websockets : Bool | Nil, policy_response_timeout : Int32 | Nil, policy_max_connections : Int32 | Nil, policy_erosion_resistance_seconds : Int32 | Nil, policy_share_process_namespace : Bool | Nil, policy_temporary_self_signed : Bool | Nil, created_at : String | Nil, updated_at : String | Nil, deleted_at : String | Nil, web_url : String | Nil, git_url : String | Nil, branch : String | Nil, environment_id : 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
branch

GitHub branch for the application

Source
branch=(branch : String | Nil)

GitHub branch for the application

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
build_stack

Stack for the next build (Heroku: build_stack)

Source
build_stack=(build_stack : String)

Stack for the next build (Heroku: build_stack)

Source
buildpacks
Source
buildpacks=(buildpacks : Array(AppBuildpack) | Nil)
Source
builds_count
Source
builds_count=(builds_count : Int32 | Nil)
Source
created_at
Source
created_at=(created_at : String | Nil)
Source
current_build_id
Source
current_build_id=(current_build_id : String | Nil)
Source
current_deployment_id
Source
current_deployment_id=(current_deployment_id : String | Nil)
Source
current_image_id
Source
current_image_id=(current_image_id : String | Nil)
Source
deleted_at
Source
deleted_at=(deleted_at : String | Nil)
Source
deployments_count
Source
deployments_count=(deployments_count : Int32 | Nil)
Source
description
Source
description=(description : String | Nil)
Source
dns_refreshed_at
Source
dns_refreshed_at=(dns_refreshed_at : String | Nil)
Source
environment_id
Source
environment_id=(environment_id : String | Nil)
Source
eql?(other)

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

Source
formation
Source
formation=(formation : Hash(String, AppFormationValue) | Nil)
Source
git_url

Git push URL for deploying via git push

Source
git_url=(git_url : String | Nil)

Git push URL for deploying via git push

Source
hash

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

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
Source
name=(name : String)
Source
pipeline

Optional properties

Source
pipeline=(pipeline : AppPipeline | Nil)

Optional properties

Source
pipeline_stage
Source
pipeline_stage=(pipeline_stage : String | Nil)
Source
policy_allow_websockets
Source
policy_allow_websockets=(policy_allow_websockets : Bool | Nil)
Source
policy_erosion_resistance_seconds
Source
policy_erosion_resistance_seconds=(policy_erosion_resistance_seconds : Int32 | Nil)
Source
policy_max_connections
Source
policy_max_connections=(policy_max_connections : Int32 | Nil)
Source
policy_response_timeout
Source
policy_response_timeout=(policy_response_timeout : Int32 | Nil)
Source
policy_share_process_namespace
Source
policy_share_process_namespace=(policy_share_process_namespace : Bool | Nil)
Source
policy_temporary_self_signed
Source
policy_temporary_self_signed=(policy_temporary_self_signed : Bool | Nil)
Source
region
Source
region=(region : String)
Source
slugs_count
Source
slugs_count=(slugs_count : Int32 | Nil)
Source
ssh_host

SSH host for running one-off dynos

Source
ssh_host=(ssh_host : String)

SSH host for running one-off dynos

Source
ssh_port

SSH port for running one-off dynos

Source
ssh_port=(ssh_port : Int32)

SSH port for running one-off dynos

Source
stack

Stack currently deployed (Heroku: stack)

Source
stack=(stack : String | Nil)

Stack currently deployed (Heroku: stack)

Source
team
Source
team=(team : AppTeam)
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

Full HTTPS URL for the application

Source
web_url=(web_url : String | Nil)

Full HTTPS URL for the application

Source