OnboardingRequest

public struct OnboardingRequest : Codable
  • Declaration

    Swift

    public var username: String
  • Declaration

    Swift

    public var password: String?
  • org

    Declaration

    Swift

    public var org: String
  • Declaration

    Swift

    public var bucket: String
  • Declaration

    Swift

    public var retentionPeriodSeconds: Int64?
  • Retention period in nanoseconds for the new bucket. This key’s name has been misleading since OSS 2.0 GA, please transition to use `retentionPeriodSeconds`

    Declaration

    Swift

    @available(*, deprecated, message: "This property is deprecated.")
    public var retentionPeriodHrs: Int?
  • Authentication token to set on the initial user. If not specified, the server will generate a token.

    Declaration

    Swift

    public var token: String?
  • Declaration

    Swift

    public init(username: String, password: String? = nil, org: String, bucket: String, retentionPeriodSeconds: Int64? = nil, retentionPeriodHrs: Int? = nil, token: String? = nil)