class OvirtSDK4::SshPublicKey
def ==(other)
Returns `true` if `self` and `other` have the same attributes and values.
def ==(other) super && @content == other.content && @user == other.user end
def comment
-
(String)-
def comment @comment end
def comment=(value)
-
value(String) --
def comment=(value) @comment = value end
def content
-
(String)-
def content @content end
def content=(value)
-
value(String) --
def content=(value) @content = value end
def description
-
(String)-
def description @description end
def description=(value)
-
value(String) --
def description=(value) @description = value end
def hash
Generates a hash value for this object.
def hash super + @content.hash + @user.hash end
def id
-
(String)-
def id @id end
def id=(value)
-
value(String) --
def id=(value) @id = value end
def initialize(opts = {})
(**opts)-
:user(User, Hash) -- The value of attribute `user`. -
:name(String) -- The value of attribute `name`. -
:id(String) -- The value of attribute `id`. -
:description(String) -- The value of attribute `description`. -
:content(String) -- The value of attribute `content`. -
:comment(String) -- The value of attribute `comment`.
Parameters:
-
opts(Hash) -- A hash containing the attributes of the object. The keys of the hash
def initialize(opts = {}) super(opts) self.content = opts[:content] self.user = opts[:user] end
def name
-
(String)-
def name @name end
def name=(value)
-
value(String) --
def name=(value) @name = value end
def user
-
(User)-
def user @user end
def user=(value)
-
value(User, Hash) --
def user=(value) if value.is_a?(Hash) value = User.new(value) end @user = value end