Overview
  • Namespace
  • Class

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CDN
      • Resource
    • CloudMonitoring
      • Collection
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Collection
      • Enum
      • Resource
    • Networking
      • Resource
    • ObjectStore
      • Constants
      • Enum
      • Exception
      • Resource
      • Upload
    • Orchestration
      • Resource
    • Queues
      • Collection
      • Exception
      • Resource
    • Volume
      • Resource

Classes

  • AbstractSchemaItem
  • Property
  • Schema

Class Property

Class that represents an individual property in a JSON schema

OpenCloud\Image\Resource\Schema\AbstractSchemaItem
Extended by OpenCloud\Image\Resource\Schema\Property
Namespace: OpenCloud\Image\Resource\Schema
Package: OpenCloud\Images\Resource\Schema
Located at OpenCloud/Image/Resource/Schema/Property.php

Methods summary

public static OpenCloud\Image\Resource\Schema\Property
# factory( array $data = array() )

Parameters

$data

Returns

OpenCloud\Image\Resource\Schema\Property
public
# setName( $name )

Parameters

$name
public string
# getName( )

Returns

string
public
# setDescription( $description )

Parameters

$description
public string
# getDescription( )

Returns

string
public
# setType( $type )

Parameters

$type
public string
# getType( )

Returns

string
public
# setEnum( $enum )

Parameters

$enum
public array
# getEnum( )

Returns

array
public
# setPattern( $pattern )

Parameters

$pattern
public string
# getPattern( )

Returns

string
public
# setValue( $value )

Parameters

$value
public mixed
# getValue( )

Returns

mixed
public
# setItems( $data )

Parameters

$data
public array
# getItems( )

Returns

array
public boolean
# validate( )

Validate the current value and ensure that it adheres to correct formatting, etc.

Validate the current value and ensure that it adheres to correct formatting, etc.

Returns

boolean
public string
# getPath( )

Get the JSON pointer for this property

Get the JSON pointer for this property

Returns

string

Constants summary

string DELIMETER
# '#'
API documentation generated by ApiGen