ServiceLens

implicit
class ServiceLens[UpperPB](_l: Lens[UpperPB, Service]) extends ObjectLens[UpperPB, Service]
class ObjectLens[UpperPB, Service]
trait Lens[UpperPB, Service]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apis: Lens[UpperPB, Seq[Api]]
def authentication: Lens[UpperPB, Authentication]
def backend: Lens[UpperPB, Backend]
def billing: Lens[UpperPB, Billing]
def configVersion: Lens[UpperPB, Int]
def context: Lens[UpperPB, Context]
def control: Lens[UpperPB, Control]
def documentation: Lens[UpperPB, Documentation]
def endpoints: Lens[UpperPB, Seq[Endpoint]]
def enums: Lens[UpperPB, Seq[Enum]]
def http: Lens[UpperPB, Http]
def id: Lens[UpperPB, String]
def logging: Lens[UpperPB, Logging]
def logs: Lens[UpperPB, Seq[LogDescriptor]]
def metrics: Lens[UpperPB, Seq[MetricDescriptor]]
def monitoring: Lens[UpperPB, Monitoring]
def name: Lens[UpperPB, String]
def optionalAuthentication: Lens[UpperPB, Option[Authentication]]
def optionalBackend: Lens[UpperPB, Option[Backend]]
def optionalBilling: Lens[UpperPB, Option[Billing]]
def optionalConfigVersion: Lens[UpperPB, Option[Int]]
def optionalContext: Lens[UpperPB, Option[Context]]
def optionalControl: Lens[UpperPB, Option[Control]]
def optionalDocumentation: Lens[UpperPB, Option[Documentation]]
def optionalHttp: Lens[UpperPB, Option[Http]]
def optionalLogging: Lens[UpperPB, Option[Logging]]
def optionalMonitoring: Lens[UpperPB, Option[Monitoring]]
def optionalQuota: Lens[UpperPB, Option[Quota]]
def optionalSourceInfo: Lens[UpperPB, Option[SourceInfo]]
def optionalSystemParameters: Lens[UpperPB, Option[SystemParameters]]
def optionalUsage: Lens[UpperPB, Option[Usage]]
def producerProjectId: Lens[UpperPB, String]
def quota: Lens[UpperPB, Quota]
def sourceInfo: Lens[UpperPB, SourceInfo]
def title: Lens[UpperPB, String]
def types: Lens[UpperPB, Seq[Type]]
def usage: Lens[UpperPB, Usage]

Inherited methods

def :=(a: Service): () => UpperPB

alias to set

alias to set

Inherited from
Lens
def compose[B](other: Lens[Service, B]): Lens[UpperPB, B]

Composes two lenses, this enables nesting.

Composes two lenses, this enables nesting.

If our field of type A has a sub-field of type B, then given a lens for it (other: Lens[A, B]) we can create a single lens from Container to B.

Inherited from
Lens
def field[A](getter: Service => A)(setter: (Service, A) => Service): Lens[UpperPB, A]

Creates a sub-lens

Creates a sub-lens

Inherited from
ObjectLens
def field[A](lens: Lens[Service, A]): Lens[UpperPB, A]

Creates a sub-lens

Creates a sub-lens

Inherited from
ObjectLens
override
def get(u: UpperPB): Service
Definition Classes
ObjectLens -> Lens
Inherited from
ObjectLens
def modify(f: Service => Service): () => UpperPB

Represent an update operator (like x.y += 1 )

Represent an update operator (like x.y += 1 )

Inherited from
Lens
override
def set(c: Service): () => UpperPB
Definition Classes
ObjectLens -> Lens
Inherited from
ObjectLens
def setIfDefined(aOpt: Option[Service]): () => UpperPB

Optional assignment.

Optional assignment.

Given a Some[A], assign the Some's value to the field. Given None, the container is unchanged.

Inherited from
Lens
def update(ms: Lens[Service, Service] => () => Service*): () => UpperPB
Inherited from
ObjectLens
def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (Service, B)]

Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

Inherited from
Lens