class
Build::CreateReviewAppRequest
- Build::CreateReviewAppRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
build-client/models/create_review_app_request.crConstructors
-
.new(branch : String, pull_request_number : Int32, source_blob_url : String | Nil, title : String | Nil, description : String | Nil, github_repo : String | Nil, environment : Hash(String, String) | Nil)
Initializes the object @param [Hash] attributes Model attributes in the form of hash
- .new(pull : JSON::PullParser)
Class Method Summary
-
.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
Instance Method Summary
-
#==(o)
Checks equality by comparing each attribute.
-
#_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
-
#_to_hash(value)
Outputs non-array value in the form of hash For object, use to_hash.
-
#branch : String
Required properties Branch to build the review app from
-
#branch=(branch : String)
Required properties Branch to build the review app from
-
#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
-
#description : String | Nil
Description of the pull request
-
#description=(description : String | Nil)
Description of the pull request
-
#environment : Hash(String, String) | Nil
Environment variables for the app
-
#environment=(environment : Hash(String, String) | Nil)
Environment variables for the app
-
#eql?(o)
@see the
#==
method @param [Object] Object to be compared -
#github_repo : String | Nil
GitHub repository stub (owner/repo)
-
#github_repo=(github_repo : String | Nil)
GitHub repository stub (owner/repo)
-
#hash
Calculates hash code according to all attributes.
-
#list_invalid_properties
Show invalid properties with the reasons.
-
#pull_request_number : Int32
Pull request number
-
#pull_request_number=(pull_request_number : Int32)
Pull request number
-
#source_blob_url : String | Nil
Optional properties URL to the source code archive
-
#source_blob_url=(source_blob_url : String | Nil)
Optional properties URL to the source code archive
-
#title : String | Nil
Title of the pull request
-
#title=(title : String | Nil)
Title of the pull request
-
#to_body
to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash
-
#to_hash
Returns the object in the form of hash @return [Hash] Returns the object in the form of hash
-
#to_s
Returns the string representation of the object @return [String] String presentation of the object
-
#valid?
Check to see if the all the properties in the model are valid @return true if the model is valid
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Class Method Detail
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Instance Method Detail
Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data
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
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Optional properties URL to the source code archive
to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash
Returns the object in the form of hash @return [Hash] Returns the object in the form of hash
Returns the string representation of the object @return [String] String presentation of the object
Check to see if the all the properties in the model are valid @return true if the model is valid