Class: BrickFTP::Types::UserPublicKey

Inherits:
Struct
  • Object
show all
Includes:
IgnoreUndefinedAttributes
Defined in:
lib/brick_ftp/types/user_public_key.rb

Overview

The public key object

ATTRIBUTE TYPE DESCRIPTION
id integer Globally unique identifier of each public key. Each public key is given an ID automatically upon creation.
title string Title to identify the public key. For your reference. Maximum of 50 characters.
fingerprint string RSA fingerprint of the public key. This property is read-only.
public_key string The public key itself. This property is write-only. It cannot be retrieved via the API.
created_at datetime Creation date of the public key. This property is read-only.

Instance Attribute Summary collapse

Method Summary

Methods included from IgnoreUndefinedAttributes

#initialize

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



19
20
21
# File 'lib/brick_ftp/types/user_public_key.rb', line 19

def created_at
  @created_at
end

#fingerprintObject

Returns the value of attribute fingerprint

Returns:

  • (Object)

    the current value of fingerprint



19
20
21
# File 'lib/brick_ftp/types/user_public_key.rb', line 19

def fingerprint
  @fingerprint
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



19
20
21
# File 'lib/brick_ftp/types/user_public_key.rb', line 19

def id
  @id
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



19
20
21
# File 'lib/brick_ftp/types/user_public_key.rb', line 19

def title
  @title
end