Class: SfCli::Sf::Org::List::OrgConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/sf_cli/sf/org/list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#accessTokenObject

Returns the value of attribute accessToken

Returns:

  • (Object)

    the current value of accessToken



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def accessToken
  @accessToken
end

#aliasObject

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def alias
  @alias
end

#clientIdObject

Returns the value of attribute clientId

Returns:

  • (Object)

    the current value of clientId



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def clientId
  @clientId
end

#connectedStatusObject

Returns the value of attribute connectedStatus

Returns:

  • (Object)

    the current value of connectedStatus



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def connectedStatus
  @connectedStatus
end

#instanceApiVersionObject

Returns the value of attribute instanceApiVersion

Returns:

  • (Object)

    the current value of instanceApiVersion



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def instanceApiVersion
  @instanceApiVersion
end

#instanceApiVersionLastRetrievedObject

Returns the value of attribute instanceApiVersionLastRetrieved

Returns:

  • (Object)

    the current value of instanceApiVersionLastRetrieved



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def instanceApiVersionLastRetrieved
  @instanceApiVersionLastRetrieved
end

#instanceNameObject

Returns the value of attribute instanceName

Returns:

  • (Object)

    the current value of instanceName



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def instanceName
  @instanceName
end

#instanceUrlObject

Returns the value of attribute instanceUrl

Returns:

  • (Object)

    the current value of instanceUrl



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def instanceUrl
  @instanceUrl
end

#isDefaultDevHubUsernameObject

Returns the value of attribute isDefaultDevHubUsername

Returns:

  • (Object)

    the current value of isDefaultDevHubUsername



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def isDefaultDevHubUsername
  @isDefaultDevHubUsername
end

#isDefaultUsernameObject

Returns the value of attribute isDefaultUsername

Returns:

  • (Object)

    the current value of isDefaultUsername



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def isDefaultUsername
  @isDefaultUsername
end

#isDevHubObject

Returns the value of attribute isDevHub

Returns:

  • (Object)

    the current value of isDevHub



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def isDevHub
  @isDevHub
end

#isSandboxObject

Returns the value of attribute isSandbox

Returns:

  • (Object)

    the current value of isSandbox



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def isSandbox
  @isSandbox
end

#isScratchObject

Returns the value of attribute isScratch

Returns:

  • (Object)

    the current value of isScratch



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def isScratch
  @isScratch
end

#lastUsedObject

Returns the value of attribute lastUsed

Returns:

  • (Object)

    the current value of lastUsed



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def lastUsed
  @lastUsed
end

#loginUrlObject

Returns the value of attribute loginUrl

Returns:

  • (Object)

    the current value of loginUrl



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def loginUrl
  @loginUrl
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def name
  @name
end

#namespacePrefixObject

Returns the value of attribute namespacePrefix

Returns:

  • (Object)

    the current value of namespacePrefix



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def namespacePrefix
  @namespacePrefix
end

#orgIdObject

Returns the value of attribute orgId

Returns:

  • (Object)

    the current value of orgId



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def orgId
  @orgId
end

#tracksSourceObject

Returns the value of attribute tracksSource

Returns:

  • (Object)

    the current value of tracksSource



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def tracksSource
  @tracksSource
end

#trailExpirationDateObject

Returns the value of attribute trailExpirationDate

Returns:

  • (Object)

    the current value of trailExpirationDate



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def trailExpirationDate
  @trailExpirationDate
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



3
4
5
# File 'lib/sf_cli/sf/org/list.rb', line 3

def username
  @username
end

Instance Method Details

#connected?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/sf_cli/sf/org/list.rb', line 27

def connected?
  connectedStatus == 'Connected'
end

#default?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/sf_cli/sf/org/list.rb', line 19

def default?
  isDefaultUsername
end

#default_devhub?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/sf_cli/sf/org/list.rb', line 23

def default_devhub?
  isDefaultDevHubUsername
end

#devhub?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/sf_cli/sf/org/list.rb', line 7

def devhub?
  isDevHub
end

#sandbox?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/sf_cli/sf/org/list.rb', line 11

def sandbox?
  isSandbox
end

#scratch?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/sf_cli/sf/org/list.rb', line 15

def scratch?
  isScratch
end