Class: Google::Apis::DomainsrdapV1::Notice
- Inherits:
-
Object
- Object
- Google::Apis::DomainsrdapV1::Notice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/domainsrdap_v1/classes.rb,
generated/google/apis/domainsrdap_v1/representations.rb,
generated/google/apis/domainsrdap_v1/representations.rb
Overview
Notices object defined in section 4.3 of RFC 7483.
Instance Attribute Summary collapse
-
#description ⇒ Array<String>
Description of the notice.
-
#links ⇒ Array<Google::Apis::DomainsrdapV1::Link>
Link to a document containing more information.
-
#title ⇒ String
Title of a notice.
-
#type ⇒ String
Type values defined in section 10.2.1 of RFC 7483 specific to a whole response: "result set truncated due to authorization", "result set truncated due to excessive load", "result set truncated due to unexplainable reasons".
Instance Method Summary collapse
-
#initialize(**args) ⇒ Notice
constructor
A new instance of Notice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Notice
Returns a new instance of Notice.
157 158 159 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ Array<String>
Description of the notice.
Corresponds to the JSON property description
137 138 139 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 137 def description @description end |
#links ⇒ Array<Google::Apis::DomainsrdapV1::Link>
Link to a document containing more information.
Corresponds to the JSON property links
142 143 144 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 142 def links @links end |
#title ⇒ String
Title of a notice. Example: "Terms of Service".
Corresponds to the JSON property title
147 148 149 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 147 def title @title end |
#type ⇒ String
Type values defined in section 10.2.1 of RFC 7483 specific to a whole response: "result set
truncated due to authorization", "result set truncated due to excessive load",
"result set truncated due to unexplainable reasons".
Corresponds to the JSON property type
155 156 157 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 155 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 165 166 167 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 162 def update!(**args) @description = args[:description] if args.key?(:description) @links = args[:links] if args.key?(:links) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end |