Skip to content

Regenerated models to have partial classes #2639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
Expand All @@ -23,18 +23,22 @@

namespace Microsoft.Azure.Commands.Batch.Models
{


public class PSAffinityInformation
using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Azure.Batch;


public partial class PSAffinityInformation
{

internal Microsoft.Azure.Batch.AffinityInformation omObject;

public PSAffinityInformation(string affinityId)
{
this.omObject = new Microsoft.Azure.Batch.AffinityInformation(affinityId);
}

internal PSAffinityInformation(Microsoft.Azure.Batch.AffinityInformation omObject)
{
if ((omObject == null))
Expand All @@ -43,7 +47,7 @@ internal PSAffinityInformation(Microsoft.Azure.Batch.AffinityInformation omObjec
}
this.omObject = omObject;
}

public string AffinityId
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Batch.Models
using Microsoft.Azure.Batch;


public class PSApplicationPackageReference
public partial class PSApplicationPackageReference
{

internal Microsoft.Azure.Batch.ApplicationPackageReference omObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
Expand All @@ -23,20 +23,24 @@

namespace Microsoft.Azure.Commands.Batch.Models
{


public class PSAutoPoolSpecification
using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Azure.Batch;


public partial class PSAutoPoolSpecification
{

internal Microsoft.Azure.Batch.AutoPoolSpecification omObject;

private PSPoolSpecification poolSpecification;

public PSAutoPoolSpecification()
{
this.omObject = new Microsoft.Azure.Batch.AutoPoolSpecification();
}

internal PSAutoPoolSpecification(Microsoft.Azure.Batch.AutoPoolSpecification omObject)
{
if ((omObject == null))
Expand All @@ -45,7 +49,7 @@ internal PSAutoPoolSpecification(Microsoft.Azure.Batch.AutoPoolSpecification omO
}
this.omObject = omObject;
}

public string AutoPoolIdPrefix
{
get
Expand All @@ -57,7 +61,7 @@ public string AutoPoolIdPrefix
this.omObject.AutoPoolIdPrefix = value;
}
}

public System.Boolean? KeepAlive
{
get
Expand All @@ -69,7 +73,7 @@ public System.Boolean? KeepAlive
this.omObject.KeepAlive = value;
}
}

public Microsoft.Azure.Batch.Common.PoolLifetimeOption PoolLifetimeOption
{
get
Expand All @@ -81,12 +85,12 @@ public Microsoft.Azure.Batch.Common.PoolLifetimeOption PoolLifetimeOption
this.omObject.PoolLifetimeOption = value;
}
}

public PSPoolSpecification PoolSpecification
{
get
{
if (((this.poolSpecification == null)
if (((this.poolSpecification == null)
&& (this.omObject.PoolSpecification != null)))
{
this.poolSpecification = new PSPoolSpecification(this.omObject.PoolSpecification);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
Expand All @@ -23,15 +23,19 @@

namespace Microsoft.Azure.Commands.Batch.Models
{


public class PSAutoScaleRun
using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Azure.Batch;


public partial class PSAutoScaleRun
{

internal Microsoft.Azure.Batch.AutoScaleRun omObject;

private PSAutoScaleRunError error;

internal PSAutoScaleRun(Microsoft.Azure.Batch.AutoScaleRun omObject)
{
if ((omObject == null))
Expand All @@ -40,28 +44,28 @@ internal PSAutoScaleRun(Microsoft.Azure.Batch.AutoScaleRun omObject)
}
this.omObject = omObject;
}

public PSAutoScaleRunError Error
{
get
{
if (((this.error == null)
if (((this.error == null)
&& (this.omObject.Error != null)))
{
this.error = new PSAutoScaleRunError(this.omObject.Error);
}
return this.error;
}
}

public string Results
{
get
{
return this.omObject.Results;
}
}

public System.DateTime Timestamp
{
get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// -----------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
Expand All @@ -23,16 +23,19 @@

namespace Microsoft.Azure.Commands.Batch.Models
{
using System;
using System.Collections;
using System.Collections.Generic;


public class PSAutoScaleRunError
using Microsoft.Azure.Batch;


public partial class PSAutoScaleRunError
{

internal Microsoft.Azure.Batch.AutoScaleRunError omObject;

private IReadOnlyList<PSNameValuePair> values;

internal PSAutoScaleRunError(Microsoft.Azure.Batch.AutoScaleRunError omObject)
{
if ((omObject == null))
Expand All @@ -41,36 +44,36 @@ internal PSAutoScaleRunError(Microsoft.Azure.Batch.AutoScaleRunError omObject)
}
this.omObject = omObject;
}

public string Code
{
get
{
return this.omObject.Code;
}
}

public string Message
{
get
{
return this.omObject.Message;
}
}

public IReadOnlyList<PSNameValuePair> Values
{
get
{
if (((this.values == null)
if (((this.values == null)
&& (this.omObject.Values != null)))
{
List<PSNameValuePair> list;
list = new List<PSNameValuePair>();
IEnumerator<Microsoft.Azure.Batch.NameValuePair> enumerator;
enumerator = this.omObject.Values.GetEnumerator();
for (
; enumerator.MoveNext();
; enumerator.MoveNext();
)
{
list.Add(new PSNameValuePair(enumerator.Current));
Expand Down
Loading