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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Notice
Returns a new instance of Notice.
171 172 173 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ Array<String>
Description of the notice.
Corresponds to the JSON property description
150 151 152 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 150 def description @description end |
#links ⇒ Array<Google::Apis::DomainsrdapV1::Link>
Link to a document containing more information.
Corresponds to the JSON property links
155 156 157 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 155 def links @links end |
#title ⇒ String
Title of a notice. Example: "Terms of Service".
Corresponds to the JSON property title
160 161 162 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 160 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
169 170 171 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 169 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
176 177 178 179 180 181 |
# File 'generated/google/apis/domainsrdap_v1/classes.rb', line 176 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 |