docs.unity3d.com
    Show / Hide Table of Contents

    Class ApiSourceVersion

    A class containing version information about the source API.

    Inheritance
    Object
    ApiSourceVersion
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    public class ApiSourceVersion

    Constructors

    ApiSourceVersion(String, String)

    Creates an instance of the ApiSourceVersion with the provided name and version.

    Declaration
    public ApiSourceVersion(string name, string version)
    Parameters
    Type Name Description
    String name

    The API name.

    String version

    The API version.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if the name or version are null or empty.

    Fields

    k_DevVersion

    Declaration
    public const string k_DevVersion = "dev"
    Field Value
    Type Description
    String

    Properties

    Name

    The name of the source API.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    Version

    The version of the source API.

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    String

    Extension Methods

    ServiceHeaderUtils.GetHeaderValue(ApiSourceVersion)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023