Class CdnOrigin
Defines a CdnOrigin
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class CdnOrigin : BaseModel, IProvisioningTemplateDescendant
Properties
Action
Defines the action to perform with the CDN Origin for the CDN, required attribute.
Declaration
public OriginAction Action { get; set; }
Property Value
OriginAction
|
Url
Defines the URL for the CDN Origin, required attribute.
Declaration
public String Url { get; set; }
Property Value
String
|
Methods
Equals(CdnOrigin)
Compares CdnOrigin object based on Url, Action
Declaration
public bool Equals(CdnOrigin other)
Parameters
CdnOrigin
other
CdnOrigin Class object |
Returns
System.Boolean
true if the CdnOrigin object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with CdnOrigin class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents CdnOrigin |
Returns
System.Boolean
Checks whether object is CdnOrigin class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |