class
Amazonite::ApiGateway::DocumentationVersion
- Amazonite::ApiGateway::DocumentationVersion
- Reference
- Object
Overview
A snapshot of the documentation of an API.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/documentation_version.crConstructors
- .new(pull : JSON::PullParser)
- .new(version : String | Nil = nil, created_date : Time | Nil = nil, description : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#created_date : Time | Nil
The date when the API documentation snapshot is created.
-
#created_date=(created_date : Time | Nil)
The date when the API documentation snapshot is created.
-
#description : String | Nil
The description of the API documentation snapshot.
-
#description=(description : String | Nil)
The description of the API documentation snapshot.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
-
#version : String | Nil
The version identifier of the API documentation snapshot.
-
#version=(version : String | Nil)
The version identifier of the API documentation snapshot.
Constructor Detail
def self.new(version : String | Nil = nil, created_date : Time | Nil = nil, description : String | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def created_date=(created_date : Time | Nil)
#
The date when the API documentation snapshot is created.