AdRequestContextLens

io.predictor.v1.AdRequestContext.AdRequestContextLens
implicit class AdRequestContextLens[UpperPB](_l: Lens[UpperPB, AdRequestContext]) extends ObjectLens[UpperPB, AdRequestContext]

Attributes

Graph
Supertypes
class ObjectLens[UpperPB, AdRequestContext]
trait Lens[UpperPB, AdRequestContext]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def adType: Lens[UpperPB, String]
def appBundle: Lens[UpperPB, String]
def appId: Lens[UpperPB, String]
def badv: Lens[UpperPB, Seq[String]]
def bannerApi: Lens[UpperPB, Seq[Int]]
def bannerAttr: Lens[UpperPB, Seq[Int]]
def bannerH: Lens[UpperPB, Int]
def bannerType: Lens[UpperPB, Seq[Int]]
def bannerW: Lens[UpperPB, Int]
def bapp: Lens[UpperPB, Seq[String]]
def bcat: Lens[UpperPB, Seq[String]]
def bidFloor: Lens[UpperPB, Float]
def bidTimeSeconds: Lens[UpperPB, Long]
def bidmachinePlacementValue: Lens[UpperPB, Float]
def bmCachedLurlPrice: Lens[UpperPB, Float]
def bmExtensionWinnerBundle: Lens[UpperPB, String]
def bmExtensionWinnerDspId: Lens[UpperPB, String]
def bmExtensionWinnerPrice: Lens[UpperPB, Float]
def cachedLurlMillisPassed: Lens[UpperPB, Long]
def cachedLurlPrice: Lens[UpperPB, Float]
def city: Lens[UpperPB, String]
def connType: Lens[UpperPB, Int]
def coppa: Lens[UpperPB, Boolean]
def country: Lens[UpperPB, String]
def depthAdreqs1D: Lens[UpperPB, Int]
def depthAdreqs1H: Lens[UpperPB, Int]
def depthAdreqs7D: Lens[UpperPB, Int]
def depthImps1D: Lens[UpperPB, Int]
def depthImps1H: Lens[UpperPB, Int]
def depthImps7D: Lens[UpperPB, Int]
def deviceExtBatterylevel: Lens[UpperPB, Float]
def deviceExtCharging: Lens[UpperPB, Int]
def deviceExtFreemem: Lens[UpperPB, Long]
def deviceExtScreenbright: Lens[UpperPB, Float]
def deviceExtTotaldisk: Lens[UpperPB, Long]
def deviceExtTotalmem: Lens[UpperPB, Long]
def deviceMake: Lens[UpperPB, String]
def deviceModel: Lens[UpperPB, String]
def deviceType: Lens[UpperPB, Int]
def displayManager: Lens[UpperPB, String]
def displayManagerVersion: Lens[UpperPB, Int]
def exchange: Lens[UpperPB, String]
def ifa: Lens[UpperPB, String]
def ifv: Lens[UpperPB, String]
def impInstl: Lens[UpperPB, Int]
def ipAddress24: Lens[UpperPB, String]
def language: Lens[UpperPB, String]
def mediationMode: Lens[UpperPB, String]
def mediationStackId: Lens[UpperPB, String]
def minFloor: Lens[UpperPB, Float]
def optionalOsVersion: Lens[UpperPB, Option[OsVersion]]
def originalFloor: Lens[UpperPB, Float]
def os: Lens[UpperPB, String]
def osVersion: Lens[UpperPB, OsVersion]
def peakHours: Lens[UpperPB, Boolean]
def placementH: Lens[UpperPB, Int]
def placementHistoricalValue: Lens[UpperPB, Float]
def placementIsVertical: Lens[UpperPB, Boolean]
def placementSecure: Lens[UpperPB, Int]
def placementTopframe: Lens[UpperPB, Int]
def placementW: Lens[UpperPB, Int]
def region: Lens[UpperPB, String]
def rewardedBanner: Lens[UpperPB, Boolean]
def rewardedVideo: Lens[UpperPB, Boolean]
def sdkStackId: Lens[UpperPB, String]
def sellerId: Lens[UpperPB, String]
def sellerName: Lens[UpperPB, String]
def skadnSupported: Lens[UpperPB, Boolean]
def sourceId: Lens[UpperPB, String]
def sourceName: Lens[UpperPB, String]
def test: Lens[UpperPB, Boolean]
def thirdPartyBidPrice: Lens[UpperPB, Float]
def timezone: Lens[UpperPB, String]
def userClickRate: Lens[UpperPB, Float]
def userCompletionRate: Lens[UpperPB, Float]
def userImd: Lens[UpperPB, Float]
def userImimd: Lens[UpperPB, Float]
def userImpDepth: Lens[UpperPB, Int]
def userImwp: Lens[UpperPB, Float]
def userLastClick: Lens[UpperPB, Long]
def userRetention: Lens[UpperPB, Float]
def userSc: Lens[UpperPB, Float]
def vectorId: Lens[UpperPB, String]
def videoAttr: Lens[UpperPB, Seq[Int]]
def videoH: Lens[UpperPB, Int]
def videoMaxduration: Lens[UpperPB, Int]
def videoMimes: Lens[UpperPB, Seq[String]]
def videoMinduration: Lens[UpperPB, Int]
def videoProtocols: Lens[UpperPB, Seq[Int]]
def videoW: Lens[UpperPB, Int]
def zip: Lens[UpperPB, String]

Inherited methods

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

alias to set

alias to set

Attributes

Inherited from:
Lens
def compose[B](other: Lens[AdRequestContext, 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.

Attributes

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

Creates a sub-lens

Creates a sub-lens

Attributes

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

Creates a sub-lens

Creates a sub-lens

Attributes

Inherited from:
ObjectLens
override def get(u: UpperPB): AdRequestContext

get knows how to extract some field of type A from a container

get knows how to extract some field of type A from a container

Attributes

Definition Classes
ObjectLens -> Lens
Inherited from:
ObjectLens
def modify(f: AdRequestContext => AdRequestContext): () => UpperPB

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

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

Attributes

Inherited from:
Lens
override def set(c: AdRequestContext): () => UpperPB

Represents an assignment operator.

Represents an assignment operator.

Given a value of type A, sets knows how to transform a container such that a is assigned to the field.

We must have get(set(a)(c)) == a

Attributes

Definition Classes
ObjectLens -> Lens
Inherited from:
ObjectLens
def setIfDefined(aOpt: Option[AdRequestContext]): () => UpperPB

Optional assignment.

Optional assignment.

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

Attributes

Inherited from:
Lens
def update(ms: Lens[AdRequestContext, AdRequestContext] => () => AdRequestContext*): () => UpperPB

Attributes

Inherited from:
ObjectLens
def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (AdRequestContext, 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.

Attributes

Inherited from:
Lens