class

RightDocuments::ApiV1EntitiesPostRequestEntity

Inherits JSON::Serializable < Reference < Object

Constructors

new(name : String, entity_type : String, formation_state : String, status : String | Nil, formation_date : Time | Nil, ein : String | Nil, address : String | Nil, phone : 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

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

==(o)

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
address
Source
address=(address : String | 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
ein=(ein : String | Nil)
Source
entity_type
Source
entity_type=(entity_type : String)
Source
entity_type=(entity_type : String)

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

Source
eql?(o)

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

Source
formation_date
Source
formation_date=(formation_date : Time | Nil)
Source
formation_state
Source
formation_state=(formation_state : String)
Source
formation_state=(formation_state : String)

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

Source
hash

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

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

Required properties

Source
name=(name : String)

Required properties

Source
phone
Source
phone=(phone : String | Nil)
Source
status

Optional properties

Source
status=(status : String | Nil)

Optional properties

Source
status=(status : Nil | String)

Custom attribute writer method checking allowed values (enum). @param [Object] status 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
valid?

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

Source

Nested types