レコードフィールドクラス

KeeperシークレットマネージャーJava SDKで利用できるフィールドタイプクラス

レコードフィールドにアクセス

レコードフィールドにアクセスするには、getField 関数を使用します。

secret.data.getfield<FIELD_TYPE>()

「FIELD_TYPE」は以下の一覧のクラスであることが必要です。

フィールドタイプクラスのリファレンス

KeeperRecordField

すべてのレコードフィールドはKeeperRecordFieldクラスを拡張し、lblフィールドを含みます

sealed class KeeperRecordField(val lbl:String? = null)

フィールド値

名前
必須
デフォルト

lbl

String

いいえ

null

Password

data class Password(
    var label:String? = null,
    var required:Boolean? = null,
    var privacyScreen:Boolean? = null,
    var enforceGeneration:Boolean? = null,
    var complexity:PasswordComplexity? = null,
    val value:MutableList<String>
)

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

enforceGeneration

Boolean

いいえ

null

value

MutableList<String>

はい

Url

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

FileRef

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

value

MutableList<String>

はい

OneTimeCode

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

value

MutableList<String>

はい

OneTimePassword

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

value

MutableList<String>

はい

Name

フィールド値

名前
必須
デフォルト

first

String

いいえ

null

middle

String

いいえ

null

last

String

いいえ

null

Names

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<Name>

はい

BirthDate

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<Long>

はい

Date

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<Long>

はい

ExpirationDate

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<Long>

はい

Text

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

SecurityQuestion

フィールド値

名前
必須
デフォルト

question

String

いいえ

null

answer

String

いいえ

null

SecurityQuestions

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<SecurityQuestion>

はい

Multiline

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

Email

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

CardRef

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

AddressRef

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

PinCode

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

value

MutableList<String>

はい

Phone

フィールド値

名前
必須
デフォルト

region

String

いいえ

null

number

String

いいえ

null

ext

String

いいえ

null

type

String

いいえ

null

Phones

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

List<Phone>

はい

HiddenField

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

value

List<String>

はい

SecureNote

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

List<String>

はい

AccountNumber

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

List<String>

はい

PaymentCard

フィールド値

名前
必須
デフォルト

cardNumber

String

いいえ

null

cardExpirationDate

String

いいえ

null

cardSecurityCode

String

いいえ

null

PaymentCards

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<PaymentCard>)

はい

BankAccount

フィールド値

名前
必須
デフォルト

accountType

String

いいえ

null

routingNumber

String

いいえ

null

accountNumber

String

いいえ

null

otherType

String

いいえ

null

BankAccounts

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<BankAccount>)

はい

KeyPair

フィールド値

名前
必須
デフォルト

publicKey

String

いいえ

null

privateKey

String

いいえ

null

KeyPairs

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<KeyPair>

はい

Host

フィールド値

名前
必須
デフォルト

hostName

String

いいえ

null

port

String

いいえ

null

Hosts

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<Host>

はい

Address

フィールド値

名前
必須
デフォルト

street1

String

いいえ

null

street2

String

いいえ

null

city

String

いいえ

null

state

String

いいえ

null

county

String

いいえ

null

zip

String

いいえ

null

Addresses

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<Address>

はい

LicenseNumber

フィールド値

名前
必須
デフォルト

label

String

いいえ

null

required

Boolean

いいえ

null

privacyScreen

Boolean

いいえ

null

value

MutableList<String>

はい

KeeperFileData

フィールド値

名前
必須
デフォルト

title

String

はい

name

String

はい

type

String

はい

size

Long

はい

lastModified

Long

はい

最終更新