-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
OrbitalContactData.cs
121 lines (115 loc) · 7.36 KB
/
OrbitalContactData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure;
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.Orbital.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Orbital
{
/// <summary>
/// A class representing the OrbitalContact data model.
/// Customer creates a contact resource for a spacecraft resource.
/// </summary>
public partial class OrbitalContactData : ResourceData
{
/// <summary> Initializes a new instance of <see cref="OrbitalContactData"/>. </summary>
public OrbitalContactData()
{
}
/// <summary> Initializes a new instance of <see cref="OrbitalContactData"/>. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="etag"> A unique read-only string that changes whenever the resource is updated. </param>
/// <param name="provisioningState"> The current state of the resource's creation, deletion, or modification. </param>
/// <param name="status"> Status of a contact. </param>
/// <param name="reservationStartOn"> Reservation start time of a contact (ISO 8601 UTC standard). </param>
/// <param name="reservationEndOn"> Reservation end time of a contact (ISO 8601 UTC standard). </param>
/// <param name="rxStartOn"> Receive start time of a contact (ISO 8601 UTC standard). </param>
/// <param name="rxEndOn"> Receive end time of a contact (ISO 8601 UTC standard). </param>
/// <param name="txStartOn"> Transmit start time of a contact (ISO 8601 UTC standard). </param>
/// <param name="txEndOn"> Transmit end time of a contact (ISO 8601 UTC standard). </param>
/// <param name="errorMessage"> Any error message while scheduling a contact. </param>
/// <param name="maximumElevationDegrees"> Maximum elevation of the antenna during the contact in decimal degrees. </param>
/// <param name="startAzimuthDegrees"> Azimuth of the antenna at the start of the contact in decimal degrees. </param>
/// <param name="endAzimuthDegrees"> Azimuth of the antenna at the end of the contact in decimal degrees. </param>
/// <param name="groundStationName"> Azure Ground Station name. </param>
/// <param name="startElevationDegrees"> Spacecraft elevation above the horizon at contact start. </param>
/// <param name="endElevationDegrees"> Spacecraft elevation above the horizon at contact end. </param>
/// <param name="antennaConfiguration"> The configuration associated with the allocated antenna. </param>
/// <param name="contactProfile"> The reference to the contact profile resource. </param>
internal OrbitalContactData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ETag? etag, OrbitalProvisioningState? provisioningState, OrbitalContactStatus? status, DateTimeOffset? reservationStartOn, DateTimeOffset? reservationEndOn, DateTimeOffset? rxStartOn, DateTimeOffset? rxEndOn, DateTimeOffset? txStartOn, DateTimeOffset? txEndOn, string errorMessage, float? maximumElevationDegrees, float? startAzimuthDegrees, float? endAzimuthDegrees, string groundStationName, float? startElevationDegrees, float? endElevationDegrees, OrbitalContactAntennaConfiguration antennaConfiguration, WritableSubResource contactProfile) : base(id, name, resourceType, systemData)
{
ETag = etag;
ProvisioningState = provisioningState;
Status = status;
ReservationStartOn = reservationStartOn;
ReservationEndOn = reservationEndOn;
RxStartOn = rxStartOn;
RxEndOn = rxEndOn;
TxStartOn = txStartOn;
TxEndOn = txEndOn;
ErrorMessage = errorMessage;
MaximumElevationDegrees = maximumElevationDegrees;
StartAzimuthDegrees = startAzimuthDegrees;
EndAzimuthDegrees = endAzimuthDegrees;
GroundStationName = groundStationName;
StartElevationDegrees = startElevationDegrees;
EndElevationDegrees = endElevationDegrees;
AntennaConfiguration = antennaConfiguration;
ContactProfile = contactProfile;
}
/// <summary> A unique read-only string that changes whenever the resource is updated. </summary>
public ETag? ETag { get; }
/// <summary> The current state of the resource's creation, deletion, or modification. </summary>
public OrbitalProvisioningState? ProvisioningState { get; set; }
/// <summary> Status of a contact. </summary>
public OrbitalContactStatus? Status { get; }
/// <summary> Reservation start time of a contact (ISO 8601 UTC standard). </summary>
public DateTimeOffset? ReservationStartOn { get; set; }
/// <summary> Reservation end time of a contact (ISO 8601 UTC standard). </summary>
public DateTimeOffset? ReservationEndOn { get; set; }
/// <summary> Receive start time of a contact (ISO 8601 UTC standard). </summary>
public DateTimeOffset? RxStartOn { get; }
/// <summary> Receive end time of a contact (ISO 8601 UTC standard). </summary>
public DateTimeOffset? RxEndOn { get; }
/// <summary> Transmit start time of a contact (ISO 8601 UTC standard). </summary>
public DateTimeOffset? TxStartOn { get; }
/// <summary> Transmit end time of a contact (ISO 8601 UTC standard). </summary>
public DateTimeOffset? TxEndOn { get; }
/// <summary> Any error message while scheduling a contact. </summary>
public string ErrorMessage { get; }
/// <summary> Maximum elevation of the antenna during the contact in decimal degrees. </summary>
public float? MaximumElevationDegrees { get; }
/// <summary> Azimuth of the antenna at the start of the contact in decimal degrees. </summary>
public float? StartAzimuthDegrees { get; }
/// <summary> Azimuth of the antenna at the end of the contact in decimal degrees. </summary>
public float? EndAzimuthDegrees { get; }
/// <summary> Azure Ground Station name. </summary>
public string GroundStationName { get; set; }
/// <summary> Spacecraft elevation above the horizon at contact start. </summary>
public float? StartElevationDegrees { get; }
/// <summary> Spacecraft elevation above the horizon at contact end. </summary>
public float? EndElevationDegrees { get; }
/// <summary> The configuration associated with the allocated antenna. </summary>
public OrbitalContactAntennaConfiguration AntennaConfiguration { get; }
/// <summary> The reference to the contact profile resource. </summary>
internal WritableSubResource ContactProfile { get; set; }
/// <summary> Gets or sets Id. </summary>
public ResourceIdentifier ContactProfileId
{
get => ContactProfile is null ? default : ContactProfile.Id;
set
{
if (ContactProfile is null)
ContactProfile = new WritableSubResource();
ContactProfile.Id = value;
}
}
}
}