class Google::Apis::DomainsrdapV1::Link
Links object defined in [section 4.2 of RFC 7483](tools.ietf.org/html/ rfc7483#section-4.2).
Attributes
Target URL of a link. Example: “example.com/previous”. Corresponds to the JSON property `href` @return [String]
Language code of a link. Example: “en”. Corresponds to the JSON property `hreflang` @return [String]
Media type of the link destination. Example: “screen”. Corresponds to the JSON property `media` @return [String]
Relation type of a link. Example: “previous”. Corresponds to the JSON property `rel` @return [String]
Title of this link. Example: “title”. Corresponds to the JSON property `title` @return [String]
Content type of the link. Example: “application/json”. Corresponds to the JSON property `type` @return [String]
URL giving context for the link. Example: “example.com/current”. Corresponds to the JSON property `value` @return [String]
Public Class Methods
# File lib/google/apis/domainsrdap_v1/classes.rb, line 113 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/domainsrdap_v1/classes.rb, line 118 def update!(**args) @href = args[:href] if args.key?(:href) @hreflang = args[:hreflang] if args.key?(:hreflang) @media = args[:media] if args.key?(:media) @rel = args[:rel] if args.key?(:rel) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end