class Organization (View source)

Organizations are independent instances of the Rokka service.

Images and stacks are always managed in the context of an organization.

Users can be part of multiple organizations.

Properties

string $id

UUID v4.

string $displayName

Public display name.

string $name

Organization name.

string $billingEmail Email.

Methods

__construct(string $id, string $name, string $displayName, string $billingEmail, array $signing_keys = [], array $options = [])

Constructor.

static Organization
createFromJsonResponse(string $jsonString)

Create an organization from the JSON data.

string
getId()

Get Id.

string
getDisplayName()

Get name for displaying.

string
getName()

Get name for url.

string
getBillingEmail()

Get Billing Email.

array
getOptions()

Get organization options.

string[]
getSigningKeys()

No description

Details

__construct(string $id, string $name, string $displayName, string $billingEmail, array $signing_keys = [], array $options = [])

Constructor.

Parameters

string $id Id
string $name

Name, used in urls etc

string $displayName

Display name

string $billingEmail Email
array $signing_keys
array $options

static Organization createFromJsonResponse(string $jsonString)

Create an organization from the JSON data.

Parameters

string $jsonString

JSON as a string

Return Value

Organization

string getId()

Get Id.

Return Value

string

string getDisplayName()

Get name for displaying.

Return Value

string

string getName()

Get name for url.

Return Value

string

string getBillingEmail()

Get Billing Email.

Return Value

string

array getOptions()

Get organization options.

Return Value

array

string[] getSigningKeys()

No description

Return Value

string[]