class Build::App

Included Modules

Defined in:

build-client/models/app.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id : String, name : String, team : AppTeam, stack : String, region : String, 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, buildpacks : Array(AppBuildpacksInner) | 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) #

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


[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.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


[View source]

Instance Method Detail

def ==(o) #

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


[View source]
def _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


[View source]
def _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


[View source]
def 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


[View source]
def buildpacks : Array(AppBuildpacksInner) | Nil #

[View source]
def buildpacks=(buildpacks : Array(AppBuildpacksInner) | Nil) #

[View source]
def builds_count : Int32 | Nil #

[View source]
def builds_count=(builds_count : Int32 | Nil) #

[View source]
def created_at : String | Nil #

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

[View source]
def current_build_id : String | Nil #

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

[View source]
def current_deployment_id : String | Nil #

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

[View source]
def current_image_id : String | Nil #

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

[View source]
def deleted_at : String | Nil #

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

[View source]
def deployments_count : Int32 | Nil #

[View source]
def deployments_count=(deployments_count : Int32 | Nil) #

[View source]
def description : String | Nil #

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

[View source]
def dns_refreshed_at : String | Nil #

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

[View source]
def eql?(o) #

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


[View source]
def formation : Hash(String, AppFormationValue) | Nil #

[View source]
def formation=(formation : Hash(String, AppFormationValue) | Nil) #

[View source]
def hash #

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


[View source]
def id : String #

Required properties


[View source]
def id=(id : String) #

Required properties


[View source]
def list_invalid_properties #

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


[View source]
def name : String #

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

[View source]
def pipeline : AppPipeline | Nil #

Optional properties


[View source]
def pipeline=(pipeline : AppPipeline | Nil) #

Optional properties


[View source]
def pipeline_stage : String | Nil #

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

[View source]
def policy_allow_websockets : Bool | Nil #

[View source]
def policy_allow_websockets=(policy_allow_websockets : Bool | Nil) #

[View source]
def policy_erosion_resistance_seconds : Int32 | Nil #

[View source]
def policy_erosion_resistance_seconds=(policy_erosion_resistance_seconds : Int32 | Nil) #

[View source]
def policy_max_connections : Int32 | Nil #

[View source]
def policy_max_connections=(policy_max_connections : Int32 | Nil) #

[View source]
def policy_response_timeout : Int32 | Nil #

[View source]
def policy_response_timeout=(policy_response_timeout : Int32 | Nil) #

[View source]
def policy_share_process_namespace : Bool | Nil #

[View source]
def policy_share_process_namespace=(policy_share_process_namespace : Bool | Nil) #

[View source]
def policy_temporary_self_signed : Bool | Nil #

[View source]
def policy_temporary_self_signed=(policy_temporary_self_signed : Bool | Nil) #

[View source]
def region : String #

[View source]
def region=(region : String) #

[View source]
def slugs_count : Int32 | Nil #

[View source]
def slugs_count=(slugs_count : Int32 | Nil) #

[View source]
def stack : String #

[View source]
def stack=(stack : String) #

[View source]
def team : AppTeam #

[View source]
def team=(team : AppTeam) #

[View source]
def to_body #

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


[View source]
def to_hash #

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


[View source]
def to_s #

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


[View source]
def updated_at : String | Nil #

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

[View source]
def valid? #

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


[View source]